diff options
author | Otto Moerbeek <otto@cvs.openbsd.org> | 2008-12-12 15:45:52 +0000 |
---|---|---|
committer | Otto Moerbeek <otto@cvs.openbsd.org> | 2008-12-12 15:45:52 +0000 |
commit | 3ecfb0c06a0b417d9609d92240d681c014cc302f (patch) | |
tree | dcf1cbcfb0ff9861c926f59e9b78ed27d5cef797 /regress | |
parent | bcdfd838c2430fcf9d1ec694752595156d5c462e (diff) |
fix test 37 (from NetBSD) and the (still failing) 41
Diffstat (limited to 'regress')
-rw-r--r-- | regress/usr.bin/sort/stests | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/regress/usr.bin/sort/stests b/regress/usr.bin/sort/stests index fbe6607aa56..b2726bb1cf7 100644 --- a/regress/usr.bin/sort/stests +++ b/regress/usr.bin/sort/stests @@ -1,5 +1,5 @@ #!/bin/sh - -# $OpenBSD: stests,v 1.3 2008/11/20 10:18:40 otto Exp $ +# $OpenBSD: stests,v 1.4 2008/12/12 15:45:51 otto Exp $ # from: @(#)stests 8.1 (Berkeley) 6/6/93 #Latest version. My sort passes all tests because I wrote it. @@ -856,13 +856,13 @@ $s xsort "" -s -k1,1 #--------------------------------------------------------------- TEST=37; echo $TEST # -s, multiple files cat <<! >in -a 2 c 2 +a 2 ! cat <<! >in1 -a 1 -b 1 c 1 +b 1 +a 1 ! cat <<! >out c 2 @@ -960,6 +960,10 @@ BEGIN { print "ce0" > "in" print "ce1" > "in" } + print "ce0" > "out" + print "ce1" > "out" + print "lo0" > "out" }' + xsort A -u |