diff options
author | Elliott Hughes <enh@google.com> | 2019-10-21 14:55:41 -0700 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2019-10-21 21:24:28 -0500 |
commit | 289f7c50cfdd390a6c4979f5e115e0f064538115 (patch) | |
tree | e28a30ee2888f86b87fa164bf8111d974ed0462c | |
parent | 2c64eb370cfdc4259dee763c8bfb91a8f8100135 (diff) | |
download | toybox-289f7c50cfdd390a6c4979f5e115e0f064538115.tar.gz |
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.
-rw-r--r-- | tests/xargs.test | 2 |
1 files changed, 1 insertions, 1 deletions
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" "" "" |