From 289f7c50cfdd390a6c4979f5e115e0f064538115 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Mon, 21 Oct 2019 14:55:41 -0700 Subject: xargs: add test for -E being a full match. 89a8d00e470f1999a62ceea81269af2f39c655ba broke -E by switching to a prefix match. 4e0d246ec98f2576d52eb5fd70cd6e86d542e2e4 fixed it again. Add the missing regression test. --- tests/xargs.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/xargs.test b/tests/xargs.test index 827118ad..e2eec036 100644 --- a/tests/xargs.test +++ b/tests/xargs.test @@ -37,7 +37,7 @@ testing "-0 -n2" "printf 'a\0b\0c\0d\0e\0f' | xargs -0 -n2 echo _" "_ a b\n_ c d testing "-t" "xargs -t 2>stderr ; cat stderr ; rm stderr" "one two\necho one two \n" "" "one\ntwo\n" -testing "-E END" "xargs -E END" "a b\n" "" "a\nb\nEND\nc\nd\n" +testing "-E END" "xargs -E END" "a b ENDE\n" "" "a\nb\nENDE\nEND\nc\nd\n" testing "-r" "xargs -r echo x" "" "" "" testing "no -r" "xargs echo x" "x\n" "" "" -- cgit v1.2.3