diff options
Diffstat (limited to 'testsuite')
-rwxr-xr-x | testsuite/xargs.tests | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/testsuite/xargs.tests b/testsuite/xargs.tests index 855b33bc2..159f1ff69 100755 --- a/testsuite/xargs.tests +++ b/testsuite/xargs.tests | |||
@@ -48,6 +48,17 @@ testing "xargs argument line too long" \ | |||
48 | "seq 10000 99999 | sed -e 's/^/\"/' -e 's/$/\"/' | xargs echo | grep -o 99999; echo \$?" \ | 48 | "seq 10000 99999 | sed -e 's/^/\"/' -e 's/$/\"/' | xargs echo | grep -o 99999; echo \$?" \ |
49 | "99999\n0\n" \ | 49 | "99999\n0\n" \ |
50 | "" "" | 50 | "" "" |
51 | |||
52 | testing "xargs -n1" \ | ||
53 | "xargs -n1 echo" \ | ||
54 | "1\n2\n3\n4\n5\n" \ | ||
55 | "" "1 2 3 4 5\n" | ||
56 | |||
57 | testing "xargs -n2" \ | ||
58 | "xargs -n2 echo" \ | ||
59 | "1 2\n3 4\n5\n" \ | ||
60 | "" "1 2 3 4 5\n" | ||
61 | |||
51 | SKIP= | 62 | SKIP= |
52 | 63 | ||
53 | exit $FAILCOUNT | 64 | exit $FAILCOUNT |