We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da7a183 commit 77d2ae7Copy full SHA for 77d2ae7
test/DIFF/test.sh
@@ -10,7 +10,7 @@ test_case() {
10
cd "result"
11
$INTERP $SCRIPT a.txt b.txt > "diff"
12
patch -s --posix --batch -p0 < "diff"
13
- if cmp -s a.txt b.txt; then
+ if { set +e; cmp -s a.txt b.txt; }; then
14
printf "\tCASE %s: PASS\n" "$1"
15
else
16
printf "\tCASE %s: FAIL\n" "$1"
0 commit comments