summaryrefslogtreecommitdiff
path: root/gl/tests/test-init.sh
diff options
context:
space:
mode:
Diffstat (limited to 'gl/tests/test-init.sh')
-rwxr-xr-xgl/tests/test-init.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/gl/tests/test-init.sh b/gl/tests/test-init.sh
index 3368a99acc..c644609fe6 100755
--- a/gl/tests/test-init.sh
+++ b/gl/tests/test-init.sh
@@ -63,7 +63,7 @@ EOF
sed 's/ .*//;/^@@/d' out > k && mv k out
# Compare against expected output only if compare is using diff -u.
- if (diff -u out out < /dev/null) > /dev/null 2>&1; then
+ if diff -u out out < /dev/null > /dev/null 2>&1; then
compare exp out || fail=1
fi
case $- in *x*) ;; *) test -s err && fail_ "err not empty: $(cat err)";; esac