From 4dac19831b0e15e79f901c9b1937eeab6093d1e5 Mon Sep 17 00:00:00 2001 From: Razvan Deaconescu <razvan.deaconescu@upb.ro> Date: Sat, 25 Mar 2023 20:48:14 +0200 Subject: [PATCH] checker: Remove {} in test_err() The `test_err()` function was using a lingering artifact (`{}`) from the use of `xargs` in other tests. This failed the test. This commit removes the lingering artifact. The test now passes. Signed-off-by: Razvan Deaconescu <razvan.deaconescu@upb.ro> --- checker/checker.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/checker/checker.sh b/checker/checker.sh index 12d97bb..9cc7b53 100755 --- a/checker/checker.sh +++ b/checker/checker.sh @@ -10,7 +10,7 @@ test_err() local temp_output='' temp_output="$(mktemp)" - timeout "$TIMEOUT_DURATION" bash -c "$EXECUTABLE {} > $temp_output 2>&1" + timeout "$TIMEOUT_DURATION" bash -c "$EXECUTABLE > $temp_output 2>&1" diff -Zq "$temp_output" "./references/ref1" > /dev/null 2>&1 return $? -- GitLab