aboutsummaryrefslogtreecommitdiff
path: root/testsuite/xargs.tests
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/xargs.tests')
-rwxr-xr-xtestsuite/xargs.tests19
1 files changed, 19 insertions, 0 deletions
diff --git a/testsuite/xargs.tests b/testsuite/xargs.tests
new file mode 100755
index 000000000..e041d592e
--- /dev/null
+++ b/testsuite/xargs.tests
@@ -0,0 +1,19 @@
1#!/bin/sh
2# Copyright 2008 by Denys Vlasenko
3# Licensed under GPL v2, see file LICENSE for details.
4
5. testing.sh
6
7# testing "test name" "command" "expected result" "file input" "stdin"
8
9testing "xargs stops on underscore" \
10 "xargs" \
11 "a\n" \
12 "" "a\n_\nb\n"
13
14testing "xargs -e without param" \
15 "xargs -e" \
16 "a _ b\n" \
17 "" "a\n_\nb\n"
18
19exit $FAILCOUNT