xargs: fix xargs -e; added test for that
[oweals/busybox.git] / testsuite / xargs.tests
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
9 testing "xargs stops on underscore" \
10         "xargs" \
11         "a\n" \
12         "" "a\n_\nb\n"
13
14 testing "xargs -e without param" \
15         "xargs -e" \
16         "a _ b\n" \
17         "" "a\n_\nb\n"
18
19 exit $FAILCOUNT