diff options
Diffstat (limited to 'testsuite')
-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 @@ # testing "test name" "command" "expected result" "file input" "stdin" -testing "xargs stops on underscore" \ - "xargs" \ +testing "xargs -E _ stops on underscore" \ + "xargs -E _" \ "a\n" \ "" "a\n_\nb\n" +testing "xargs -E ''" \ + "xargs -E ''" \ + "a _ b\n" \ + "" "a\n_\nb\n" + testing "xargs -e without param" \ "xargs -e" \ "a _ b\n" \ "" "a\n_\nb\n" +testing "xargs does not stop on underscore ('new' GNU behavior)" \ + "xargs" \ + "a _ b\n" \ + "" "a\n_\nb\n" + exit $FAILCOUNT |