diff options
Diffstat (limited to 'testsuite')
-rwxr-xr-x | testsuite/sort.tests | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/testsuite/sort.tests b/testsuite/sort.tests index c51a8e475..5375f93de 100755 --- a/testsuite/sort.tests +++ b/testsuite/sort.tests | |||
@@ -175,6 +175,19 @@ testing "sort file in place" \ | |||
175 | 111 | 175 | 111 |
176 | " "" | 176 | " "" |
177 | 177 | ||
178 | testing "sort -sr (stable and reverse) does NOT reverse 'stable' ordering" \ | ||
179 | "sort -k2 -r -s input" "\ | ||
180 | b 2 | ||
181 | d 2 | ||
182 | a 1 | ||
183 | c 1 | ||
184 | " "\ | ||
185 | a 1 | ||
186 | b 2 | ||
187 | c 1 | ||
188 | d 2 | ||
189 | " "" | ||
190 | |||
178 | # testing "description" "command(s)" "result" "infile" "stdin" | 191 | # testing "description" "command(s)" "result" "infile" "stdin" |
179 | 192 | ||
180 | exit $FAILCOUNT | 193 | exit $FAILCOUNT |