From eaa8ee40aa049040e9f9bb1d967754102742c227 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sun, 15 Aug 2021 20:15:42 +0200 Subject: cut: fix testsuite Signed-off-by: Denys Vlasenko --- testsuite/cut.tests | 2 ++ 1 file changed, 2 insertions(+) (limited to 'testsuite') diff --git a/testsuite/cut.tests b/testsuite/cut.tests index d705b91c3..2458c019c 100755 --- a/testsuite/cut.tests +++ b/testsuite/cut.tests @@ -66,6 +66,7 @@ testing "cut with -d -f(a) -s" "cut -da -f3 -s input" "n\nsium:Jim\n\ncion:Ed\n" testing "cut with -d -f(a) -s -n" "cut -da -f3 -s -n input" "n\nsium:Jim\n\ncion:Ed\n" "$input" "" # substitute for awk +optional FEATURE_CUT_REGEX testing "cut -DF" "cut -DF 2,7,5" \ "said and your\nare\nis demand. supply\nforecast :\nyou you better,\n\nEm: Took hate\n" "" \ "Bother, said Pooh. It's your husband, and he has a gun. @@ -75,6 +76,7 @@ Weather forecast for tonight : dark. Apple: you can buy better, but you can't pay more. Subcalifragilisticexpialidocious. Auntie Em: Hate you, hate Kansas. Took the dog. Dorothy." +SKIP= testing "cut empty field" "cut -d ':' -f 1-3" "a::b\n" "" "a::b\n" testing "cut empty field 2" "cut -d ':' -f 3-5" "b::c\n" "" "a::b::c:d\n" -- cgit v1.2.3