summaryrefslogtreecommitdiff
path: root/tests/prefix-of-multibyte
diff options
context:
space:
mode:
Diffstat (limited to 'tests/prefix-of-multibyte')
-rwxr-xr-xtests/prefix-of-multibyte2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/prefix-of-multibyte b/tests/prefix-of-multibyte
index 851e1f68..b15fa9b3 100755
--- a/tests/prefix-of-multibyte
+++ b/tests/prefix-of-multibyte
@@ -14,7 +14,7 @@ for LOC in en_US.UTF-8 $LOCALE_FR_UTF8; do
out=out-$opt-$LOC
encode ABC | LC_ALL=$LOC grep $opt "$(encode A)" > $out 2>&1
test $? = 1 || fail=1
- compare $out /dev/null || fail=1
+ compare /dev/null $out || fail=1
done
done