summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/misc/sort-discrim4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/misc/sort-discrim b/tests/misc/sort-discrim
index 14ae6cc86..fced20495 100755
--- a/tests/misc/sort-discrim
+++ b/tests/misc/sort-discrim
@@ -33,7 +33,7 @@ getlimits_
long_prefix='aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'
seq -f "$long_prefix%5.0f" 10000 > exp || fail=1
sort -R exp | LC_ALL=C sort > out || fail=1
-compare out exp || fail=1
+compare exp out || fail=1
# Test numeric sorting.
@@ -83,7 +83,7 @@ max_frac160=$(expr $INTMAX_MAX / 16 % 10) &&
for opts in -n -h; do
sort -R exp | LC_ALL=C sort $opts > out || fail=1
- compare out exp || fail=1
+ compare exp out || fail=1
done
Exit $fail