summaryrefslogtreecommitdiff
path: root/testsuite/sort.tests
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/sort.tests')
-rwxr-xr-xtestsuite/sort.tests11
1 files changed, 11 insertions, 0 deletions
diff --git a/testsuite/sort.tests b/testsuite/sort.tests
index ff33e21..fb2cc91 100755
--- a/testsuite/sort.tests
+++ b/testsuite/sort.tests
@@ -219,4 +219,15 @@ testing "sort -h" \
# testing "description" "command(s)" "result" "infile" "stdin"
+testing "sort -k2,2M" \
+"sort -k2,2M input" "\
+3 March
+2 April
+1 May
+" "\
+2 April
+1 May
+3 March
+" ""
+
exit $FAILCOUNT