diff options
Diffstat (limited to 'tests/test_exit_code.sh')
| -rw-r--r-- | tests/test_exit_code.sh | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/tests/test_exit_code.sh b/tests/test_exit_code.sh deleted file mode 100644 index 4cdee0a..0000000 --- a/tests/test_exit_code.sh +++ /dev/null @@ -1,16 +0,0 @@ -cat > main.c - -"$ducc" main.c > main.s -if [[ $? -ne 0 ]]; then - exit 1 -fi -gcc -o a.out main.s -./a.out -exit_code=$? - -expected=$1 - -if [[ $exit_code -ne $expected ]]; then - echo "invalid exit code: expected $expected, but got $exit_code" >&2 - exit 1 -fi |
