diff --git a/tests/reduce-criteria-template.sh b/tests/reduce-criteria-template.sh index e567894..d66c0c0 100644 --- a/tests/reduce-criteria-template.sh +++ b/tests/reduce-criteria-template.sh @@ -56,10 +56,4 @@ then exit 1 fi -cargo run --manifest-path $PROJECT_DIR/Cargo.toml --release --bin fuzz -- $FUZZ_ARG test_reduced.c -if [ "$?" = 101 ] -then - exit 0 -else - exit 1 -fi +cargo run --manifest-path $PROJECT_DIR/Cargo.toml --release --bin fuzz -- $FUZZ_ARG test_reduced.c 2>&1 | grep -q '(left == right)'