aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/064.sh
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-08-23 10:34:01 +0900
committernsfisis <nsfisis@gmail.com>2025-08-23 10:34:01 +0900
commitd83647f390d2910547ada2854eee6189e8552cb8 (patch)
treeaa52933f9993e7b13390ab0bd7a54e56b4af513b /tests/064.sh
parent22cd700370d5d548a0cbd347bf1dc9cb9baad8e2 (diff)
downloadducc-d83647f390d2910547ada2854eee6189e8552cb8.tar.gz
ducc-d83647f390d2910547ada2854eee6189e8552cb8.tar.zst
ducc-d83647f390d2910547ada2854eee6189e8552cb8.zip
refactor: test helpers
Diffstat (limited to 'tests/064.sh')
-rw-r--r--tests/064.sh8
1 files changed, 3 insertions, 5 deletions
diff --git a/tests/064.sh b/tests/064.sh
index c3b6028..20a8bed 100644
--- a/tests/064.sh
+++ b/tests/064.sh
@@ -1,18 +1,16 @@
-set -e
-
# C99: 5.1.2.2.3
-bash ../../test_exit_code.sh 0 <<'EOF'
+test_exit_code 0 <<'EOF'
int main() {
}
EOF
-bash ../../test_exit_code.sh 0 <<'EOF'
+test_exit_code 0 <<'EOF'
int main() {
1 + 2 + 3;
}
EOF
-bash ../../test_exit_code.sh 0 <<'EOF'
+test_exit_code 0 <<'EOF'
int main() {
if (1);
else return 1;