diff options
author | Rob Landley <rob@landley.net> | 2018-12-19 17:50:16 -0600 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2018-12-19 17:50:16 -0600 |
commit | 4f5717dd140e8769f770191bcd1e6ee1f4bbc6d8 (patch) | |
tree | fe2befbdf88e201935aa57c3627cefaebf2bd7a0 /tests | |
parent | 5ebd387640ed45bd320431ad30ec92103166ef74 (diff) | |
download | toybox-4f5717dd140e8769f770191bcd1e6ee1f4bbc6d8.tar.gz |
First stab at sort -V
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/sort.test | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/sort.test b/tests/sort.test index 2070d10c..c71012f0 100755 --- a/tests/sort.test +++ b/tests/sort.test @@ -96,6 +96,9 @@ testing "" "sort -t, -k3n" "3,4,1,2\n4,1,2,3\n1,2,3,4\n2,3,4,1\n" "" \ "1,2,3,4\n2,3,4,1\n4,1,2,3\n3,4,1,2\n" testing "-kx" "sort -k1,1x" "3\na\n0c\n" "" "0c\na\n3\n" +testing "" "sort -V" "toy-2.37.tar.gz\ntoy-3.4.tar.gz\ntoy-3.12.tar.gz\ntoy-4.16-rc2.tar.gz\ntoy-4.16.tar.gz\n" "" \ + "toy-3.12.tar.gz\ntoy-2.37.tar.gz\ntoy-3.4.tar.gz\ntoy-4.16-rc2.tar.gz\ntoy-4.16.tar.gz" + optional SORT_FLOAT # not numbers < NaN < -infinity < numbers < +infinity |