summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordaniel <daniel@openbsd.org>2014-12-10 03:15:59 +0000
committerdaniel <daniel@openbsd.org>2014-12-10 03:15:59 +0000
commitb99d6bebf9e02a08d8b8bbe75347dcf8384f9ca4 (patch)
treef7959837175ced8a3b212baab85441041ba2b54b
parentfix previous. (diff)
downloadwireguard-openbsd-b99d6bebf9e02a08d8b8bbe75347dcf8384f9ca4.tar.xz
wireguard-openbsd-b99d6bebf9e02a08d8b8bbe75347dcf8384f9ca4.zip
Some sort regress test fixes. cksum no longer supports -o2.
-rw-r--r--regress/usr.bin/sort/stests6
1 files changed, 3 insertions, 3 deletions
diff --git a/regress/usr.bin/sort/stests b/regress/usr.bin/sort/stests
index ee0cf31c2f4..723a033de2d 100644
--- a/regress/usr.bin/sort/stests
+++ b/regress/usr.bin/sort/stests
@@ -1,5 +1,5 @@
#!/bin/sh -
-# $OpenBSD: stests,v 1.5 2013/10/28 08:41:20 jsg Exp $
+# $OpenBSD: stests,v 1.6 2014/12/10 03:15:59 daniel Exp $
# from: @(#)stests 8.1 (Berkeley) 6/6/93
#Latest version. My sort passes all tests because I wrote it.
@@ -79,7 +79,7 @@ cat <<'!' >xsort; chmod +x xsort
cmp xx out >/dev/null && exit 0
echo $TEST$X comparison failed
else
- test "`cksum -o2 <in`" = "`cksum -o2 <xx`" && exit 0
+ test "`cksum <in`" = "`cksum <xx`" && exit 0
echo $TEST$X checksum failed
fi
else
@@ -109,7 +109,7 @@ rm -f out -o
sort -c in 2>/dev/null && echo ${TEST}A failed
-xsort B || '"cksum"' is probably unsuitable - see comments
+xsort B || echo '"cksum"' is probably unsuitable - see comments
$o sort +0 in -o in || echo ${TEST}c failed