From 5c13ab41bb9472b792797a339f93a3a3ca62fd7a Mon Sep 17 00:00:00 2001 From: Bartosz Golaszewski Date: Sun, 19 Jan 2014 09:10:14 +0100 Subject: sort: check global flags on fallback sort Sort now performs global reverse on fallback sort if -r is set. Before only key local flags were checked. function old new delta compare_keys 712 738 +26 Signed-off-by: Bartosz Golaszewski Signed-off-by: Denys Vlasenko --- testsuite/sort.tests | 3 --- 1 file changed, 3 deletions(-) (limited to 'testsuite') diff --git a/testsuite/sort.tests b/testsuite/sort.tests index 91b282e..68fa3e4 100755 --- a/testsuite/sort.tests +++ b/testsuite/sort.tests @@ -47,8 +47,6 @@ egg 1 2 papyrus 999 3 0 algebra " "$data" "" -test x"$SKIP_KNOWN_BUGS" = x"" && { -# Busybox is definitely doing these wrong. FIXME testing "sort key range with numeric option and global reverse" \ "sort -k2,3n -r input" \ "egg 1 2 papyrus @@ -65,7 +63,6 @@ testing "sort key range with multiple options" "sort -k2,3rn input" \ 42 1 3 woot egg 1 2 papyrus " "$data" "" -} testing "sort key range with two -k options" "sort -k 2,2n -k 1,1r input" "\ d 2 -- cgit v1.1