aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/jobs.in
diff options
context:
space:
mode:
authorGravatar Aaron Gyes <me@aaron.gy>2016-06-18 08:00:40 -0700
committerGravatar Aaron Gyes <me@aaron.gy>2016-06-18 08:26:07 -0700
commit2cabcf4ad466d44a4fc45afa3892c933238e2ebe (patch)
tree0161b30f2173cf40283fa5f3b994d49014bccee4 /tests/jobs.in
parent20d36f16d3e8e8b02c2406eec46369ad74f78cd2 (diff)
bg had also had wrong exit code for some errors
Stop printing usage information when error isn't a usage problem. Add simple test for bg and fg
Diffstat (limited to 'tests/jobs.in')
-rw-r--r--tests/jobs.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/jobs.in b/tests/jobs.in
index c32b9b37..14ed5181 100644
--- a/tests/jobs.in
+++ b/tests/jobs.in
@@ -1,3 +1,5 @@
sleep 1 &
sleep 1 &
jobs -c
+bg 3
+fg 3 \ No newline at end of file