From 5479c435fde32e720af5e177e95d6364a422885a Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Fri, 29 Jul 2022 16:40:00 +0200 Subject: sort: fix sort -s -u, closes 14871 function old new delta sort_main 851 856 +5 Signed-off-by: Denys Vlasenko --- testsuite/sort.tests | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'testsuite') diff --git a/testsuite/sort.tests b/testsuite/sort.tests index fb2cc91bd..8dbadbdae 100755 --- a/testsuite/sort.tests +++ b/testsuite/sort.tests @@ -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 -- cgit v1.2.3-55-g6feb