diff options
Diffstat (limited to 'testsuite')
-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 68fa3e4..c4b2234 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" "\ //b/1 " "" +testing "sort with non-default leading delim 4" "sort -t: -k1,1 input" "\ +a:b +a/a:a +" "\ +a/a:a +a:b +" "" + testing "sort -u should consider field only when discarding" "sort -u -k2 input" "\ a c " "\ |