diff options
Diffstat (limited to 'tests/010.sh')
| -rw-r--r-- | tests/010.sh | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/010.sh b/tests/010.sh index df6601c..4ddf39c 100644 --- a/tests/010.sh +++ b/tests/010.sh @@ -1,6 +1,4 @@ -set -e - -bash ../../test_exit_code.sh 12 <<'EOF' +test_exit_code 12 <<'EOF' int main() { if (1) { return 12; @@ -10,7 +8,7 @@ int main() { } EOF -bash ../../test_exit_code.sh 34 <<'EOF' +test_exit_code 34 <<'EOF' int main() { if (1 + 1 != 2) { return 12; |
