diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-08-23 10:34:01 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-08-23 10:34:01 +0900 |
| commit | d83647f390d2910547ada2854eee6189e8552cb8 (patch) | |
| tree | aa52933f9993e7b13390ab0bd7a54e56b4af513b /tests/015.sh | |
| parent | 22cd700370d5d548a0cbd347bf1dc9cb9baad8e2 (diff) | |
| download | ducc-d83647f390d2910547ada2854eee6189e8552cb8.tar.gz ducc-d83647f390d2910547ada2854eee6189e8552cb8.tar.zst ducc-d83647f390d2910547ada2854eee6189e8552cb8.zip | |
refactor: test helpers
Diffstat (limited to 'tests/015.sh')
| -rw-r--r-- | tests/015.sh | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/tests/015.sh b/tests/015.sh index 6b084e8..e1964b8 100644 --- a/tests/015.sh +++ b/tests/015.sh @@ -1,6 +1,4 @@ -set -e - -bash ../../test_exit_code.sh 10 <<'EOF' +test_exit_code 10 <<'EOF' int f(int a, int b, int c, int d, int e, int f) { return a; } @@ -10,7 +8,7 @@ int main() { } EOF -bash ../../test_exit_code.sh 20 <<'EOF' +test_exit_code 20 <<'EOF' int f(int a, int b, int c, int d, int e, int f) { return b; } @@ -20,7 +18,7 @@ int main() { } EOF -bash ../../test_exit_code.sh 30 <<'EOF' +test_exit_code 30 <<'EOF' int f(int a, int b, int c, int d, int e, int f) { return c; } @@ -30,7 +28,7 @@ int main() { } EOF -bash ../../test_exit_code.sh 40 <<'EOF' +test_exit_code 40 <<'EOF' int f(int a, int b, int c, int d, int e, int f) { return d; } @@ -40,7 +38,7 @@ int main() { } EOF -bash ../../test_exit_code.sh 50 <<'EOF' +test_exit_code 50 <<'EOF' int f(int a, int b, int c, int d, int e, int f) { return e; } @@ -50,7 +48,7 @@ int main() { } EOF -bash ../../test_exit_code.sh 60 <<'EOF' +test_exit_code 60 <<'EOF' int f(int a, int b, int c, int d, int e, int f) { return f; } |
