diff options
Diffstat (limited to 'testsuite/xargs.tests')
-rwxr-xr-x | testsuite/xargs.tests | 14 |
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 | ||
9 | testing "xargs stops on underscore" \ | 9 | testing "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 | ||
14 | testing "xargs -E ''" \ | ||
15 | "xargs -E ''" \ | ||
16 | "a _ b\n" \ | ||
17 | "" "a\n_\nb\n" | ||
18 | |||
14 | testing "xargs -e without param" \ | 19 | testing "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 | ||
24 | testing "xargs does not stop on underscore ('new' GNU behavior)" \ | ||
25 | "xargs" \ | ||
26 | "a _ b\n" \ | ||
27 | "" "a\n_\nb\n" | ||
28 | |||
19 | exit $FAILCOUNT | 29 | exit $FAILCOUNT |