aboutsummaryrefslogtreecommitdiff
path: root/testsuite/sort.tests
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/sort.tests')
-rwxr-xr-xtestsuite/sort.tests21
1 files changed, 21 insertions, 0 deletions
diff --git a/testsuite/sort.tests b/testsuite/sort.tests
index ff33e21b4..8dbadbdae 100755
--- a/testsuite/sort.tests
+++ b/testsuite/sort.tests
@@ -219,4 +219,25 @@ testing "sort -h" \
219 219
220# testing "description" "command(s)" "result" "infile" "stdin" 220# testing "description" "command(s)" "result" "infile" "stdin"
221 221
222testing "sort -k2,2M" \
223"sort -k2,2M input" "\
2243 March
2252 April
2261 May
227" "\
2282 April
2291 May
2303 March
231" ""
232
233testing "sort -s -u" \
234"sort -s -u -k 2 input" "\
235z a
236z b
237" "\
238z b
239a b
240z a
241a a" ""
242
222exit $FAILCOUNT 243exit $FAILCOUNT