X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/93a31f9b884f8e8f3f7a7d50cf90ffd365a14f7c..3521e294c63116319993193971e2f0d708ac0530:/test/bad-input/test-header?ds=inline diff --git a/test/bad-input/test-header b/test/bad-input/test-header index 71a63a9a..98e8c7a4 100755 --- a/test/bad-input/test-header +++ b/test/bad-input/test-header @@ -14,15 +14,6 @@ fi setup_test -# TODO: Move to a common file tests can source; need more framework... -failed=0 -check() { - diff -u $expected $actual - if [ $? -ne 0 ]; then - failed=$((failed + 1)) - fi -} - expected=$MH_TEST_DIR/$$.expected actual=$MH_TEST_DIR/$$.actual @@ -44,7 +35,7 @@ cat > $expected < $actual 2>&1 -check +check $expected $actual # check show (mhl) cat > $expected < $actual 2>&1 -check +check $expected $actual # check mhshow cat > $expected < $actual 2>&1 -check +check $expected $actual exit $failed