Add tests for jobs -q

This commit is contained in:
Mahmoud Al-Qudsi 2018-03-04 15:33:36 -06:00
parent 7242c40b5c
commit 9502ea8de3
2 changed files with 4 additions and 0 deletions

View file

@ -1,6 +1,8 @@
jobs -q; echo $status
sleep 5 & sleep 5 &
sleep 5 & sleep 5 &
jobs -c jobs -c
jobs -q; echo $status
bg -23 1 ^/dev/null bg -23 1 ^/dev/null
or echo bg: invalid option -23 >&2 or echo bg: invalid option -23 >&2
fg 3 fg 3

View file

@ -1,6 +1,8 @@
1
Command Command
sleep sleep
sleep sleep
0
Command Command
sleep sleep
sleep sleep