Tweak some exit status tests

This commit is contained in:
Marc André Tanner 2014-06-24 10:06:29 +02:00
parent 77db580a63
commit 466103cdd4
1 changed files with 6 additions and 1 deletions

View File

@ -146,9 +146,14 @@ test_non_existing_command || echo "Execution of non existing command FAILED"
run_test_attached "seq" "seq 1 1000"
run_test_detached "seq" "seq 1 1000"
run_test_attached "false" "false"
run_test_detached "false" "false"
run_test_attached "true" "true"
run_test_detached "true" "true"
cat > exit-status.sh <<-EOT
#!/bin/sh
echo Hello World
exit 42
EOT
chmod +x exit-status.sh