From 62c52086311c5b9964b74bb83dc668ef43283890 Mon Sep 17 00:00:00 2001 From: Chunmyong Park Date: Tue, 2 Jun 2020 02:54:09 +0000 Subject: [PATCH] Update reduce-criteria-template.sh --- tests/reduce-criteria-template.sh | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) 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)'