aboutsummaryrefslogtreecommitdiff
path: root/testsuite/xargs.tests
blob: e041d592e5b15170af1001260b5fc15ccc75d6f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh
# Copyright 2008 by Denys Vlasenko
# Licensed under GPL v2, see file LICENSE for details.

. testing.sh

# testing "test name" "command" "expected result" "file input" "stdin"

testing "xargs stops on underscore" \
	"xargs" \
	"a\n" \
	"" "a\n_\nb\n"

testing "xargs -e without param" \
	"xargs -e" \
	"a _ b\n" \
	"" "a\n_\nb\n"

exit $FAILCOUNT