Merge pull request #14 from chriskuehl/reduce-exit-status-tests
Reduce tests for exit status
This commit is contained in:
commit
5e2a3ffed3
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
|||
dumb_init="$1"
|
||||
|
||||
# dumb-init should exit with the same exit status as the process it launches.
|
||||
for i in $(seq 0 255); do
|
||||
for i in 0 1 2 32 64 127 254 255; do
|
||||
status=$($dumb_init sh -c "exit $i"; echo $?)
|
||||
|
||||
if [ "$status" -ne "$i" ]; then
|
||||
|
|
Loading…
Reference in a new issue