diff options
Diffstat (limited to 'testsuite/sort.tests')
-rwxr-xr-x | testsuite/sort.tests | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/sort.tests b/testsuite/sort.tests index 68fa3e405..c4b223464 100755 --- a/testsuite/sort.tests +++ b/testsuite/sort.tests | |||
@@ -98,6 +98,14 @@ testing "sort with non-default leading delim 3" "sort -n -k3 -t/ input" "\ | |||
98 | //b/1 | 98 | //b/1 |
99 | " "" | 99 | " "" |
100 | 100 | ||
101 | testing "sort with non-default leading delim 4" "sort -t: -k1,1 input" "\ | ||
102 | a:b | ||
103 | a/a:a | ||
104 | " "\ | ||
105 | a/a:a | ||
106 | a:b | ||
107 | " "" | ||
108 | |||
101 | testing "sort -u should consider field only when discarding" "sort -u -k2 input" "\ | 109 | testing "sort -u should consider field only when discarding" "sort -u -k2 input" "\ |
102 | a c | 110 | a c |
103 | " "\ | 111 | " "\ |