aboutsummaryrefslogtreecommitdiff
path: root/testsuite/xargs.tests
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/xargs.tests')
-rwxr-xr-xtestsuite/xargs.tests14
1 files changed, 12 insertions, 2 deletions
diff --git a/testsuite/xargs.tests b/testsuite/xargs.tests
index e041d592e..36524499e 100755
--- a/testsuite/xargs.tests
+++ b/testsuite/xargs.tests
@@ -6,14 +6,24 @@
6 6
7# testing "test name" "command" "expected result" "file input" "stdin" 7# testing "test name" "command" "expected result" "file input" "stdin"
8 8
9testing "xargs stops on underscore" \ 9testing "xargs -E _ stops on underscore" \
10 "xargs" \ 10 "xargs -E _" \
11 "a\n" \ 11 "a\n" \
12 "" "a\n_\nb\n" 12 "" "a\n_\nb\n"
13 13
14testing "xargs -E ''" \
15 "xargs -E ''" \
16 "a _ b\n" \
17 "" "a\n_\nb\n"
18
14testing "xargs -e without param" \ 19testing "xargs -e without param" \
15 "xargs -e" \ 20 "xargs -e" \
16 "a _ b\n" \ 21 "a _ b\n" \
17 "" "a\n_\nb\n" 22 "" "a\n_\nb\n"
18 23
24testing "xargs does not stop on underscore ('new' GNU behavior)" \
25 "xargs" \
26 "a _ b\n" \
27 "" "a\n_\nb\n"
28
19exit $FAILCOUNT 29exit $FAILCOUNT