sort: fix sort -s -u, closes 14871
function old new delta sort_main 851 856 +5 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
@@ -230,4 +230,14 @@ testing "sort -k2,2M" \
|
||||
3 March
|
||||
" ""
|
||||
|
||||
testing "sort -s -u" \
|
||||
"sort -s -u -k 2 input" "\
|
||||
z a
|
||||
z b
|
||||
" "\
|
||||
z b
|
||||
a b
|
||||
z a
|
||||
a a" ""
|
||||
|
||||
exit $FAILCOUNT
|
||||
|
Reference in New Issue
Block a user