diff options
Diffstat (limited to 'testsuite/cut.tests')
-rwxr-xr-x | testsuite/cut.tests | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/testsuite/cut.tests b/testsuite/cut.tests index c335f824b..46ef545d7 100755 --- a/testsuite/cut.tests +++ b/testsuite/cut.tests | |||
@@ -90,7 +90,14 @@ Subcalifragilisticexpialidocious. | |||
90 | Auntie Em: Hate you, hate Kansas. Took the dog. Dorothy." | 90 | Auntie Em: Hate you, hate Kansas. Took the dog. Dorothy." |
91 | SKIP= | 91 | SKIP= |
92 | 92 | ||
93 | testing "cut empty field" "cut -d ':' -f 1-3" "a::b\n" "" "a::b\n" | 93 | testing "cut empty field" "cut -d ':' -f 1-3" \ |
94 | testing "cut empty field 2" "cut -d ':' -f 3-5" "b::c\n" "" "a::b::c:d\n" | 94 | "a::b\n" \ |
95 | "" "a::b\n" | ||
96 | testing "cut empty field 2" "cut -d ':' -f 3-5" \ | ||
97 | "b::c\n" \ | ||
98 | "" "a::b::c:d\n" | ||
99 | testing "cut non-existing field" "cut -d ':' -f1,3" \ | ||
100 | "1\n" \ | ||
101 | "" "1:\n" | ||
95 | 102 | ||
96 | exit $FAILCOUNT | 103 | exit $FAILCOUNT |