aboutsummaryrefslogtreecommitdiff
path: root/testsuite/cut.tests
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/cut.tests')
-rwxr-xr-xtestsuite/cut.tests5
1 files changed, 4 insertions, 1 deletions
diff --git a/testsuite/cut.tests b/testsuite/cut.tests
index 0b401bc00..c335f824b 100755
--- a/testsuite/cut.tests
+++ b/testsuite/cut.tests
@@ -31,7 +31,10 @@ testing "-b encapsulated" "cut -b 3-8,4-6 input" "e:two:\npha:be\ne quic\n" \
31#testing "cut -bO overlaps" \ 31#testing "cut -bO overlaps" \
32# "cut --output-delimiter ' ' -b 1-3,2-5,7-9,9-10 input" \ 32# "cut --output-delimiter ' ' -b 1-3,2-5,7-9,9-10 input" \
33# "one:t o:th\nalpha beta\nthe q ick \n" "$abc" "" 33# "one:t o:th\nalpha beta\nthe q ick \n" "$abc" ""
34testing "cut high-low error" "cut -b 8-3 abc.txt 2>/dev/null || echo err" "err\n" \ 34testing "cut high-low error" "cut -b 8-3 input 2>/dev/null || echo err" "err\n" \
35 "$abc" ""
36
37testing "cut -b 2-1 error" "cut -b 2-1 input 2>/dev/null || echo err" "err\n" \
35 "$abc" "" 38 "$abc" ""
36 39
37testing "cut -c a-b" "cut -c 4-10 input" ":two:th\nha:beta\n quick \n" "$abc" "" 40testing "cut -c a-b" "cut -c 4-10 input" ":two:th\nha:beta\n quick \n" "$abc" ""