Skip to content
Snippets Groups Projects
Commit 4dac1983 authored by Razvan Deaconescu's avatar Razvan Deaconescu
Browse files

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: default avatarRazvan Deaconescu <razvan.deaconescu@upb.ro>
parent 32f0f87f
No related branches found
No related tags found
No related merge requests found
...@@ -10,7 +10,7 @@ test_err() ...@@ -10,7 +10,7 @@ test_err()
local temp_output='' local temp_output=''
temp_output="$(mktemp)" 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 diff -Zq "$temp_output" "./references/ref1" > /dev/null 2>&1
return $? return $?
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment