diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2020-09-30 00:00:43 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2020-09-30 00:00:43 +0200 |
commit | bd202a5ec15b82ba9562cdd81157e703349d8459 (patch) | |
tree | 6ecc199048004f741144bbbf9c5b3561f6161d57 /testsuite | |
parent | d4dd48f2948b006f4ccb7cc2b603fb3d00f90685 (diff) | |
download | busybox-w32-bd202a5ec15b82ba9562cdd81157e703349d8459.tar.gz busybox-w32-bd202a5ec15b82ba9562cdd81157e703349d8459.tar.bz2 busybox-w32-bd202a5ec15b82ba9562cdd81157e703349d8459.zip |
xargs: fix -I SUBSTR behaviour
function old new delta
process_stdin_with_replace 165 204 +39
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'testsuite')
-rwxr-xr-x | testsuite/xargs.tests | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/xargs.tests b/testsuite/xargs.tests index 159f1ff69..e7c7c4b3d 100755 --- a/testsuite/xargs.tests +++ b/testsuite/xargs.tests | |||
@@ -61,4 +61,12 @@ testing "xargs -n2" \ | |||
61 | 61 | ||
62 | SKIP= | 62 | SKIP= |
63 | 63 | ||
64 | optional FEATURE_XARGS_SUPPORT_QUOTES | ||
65 | testing "xargs -I skips empty lines and leading whitespace" \ | ||
66 | "xargs -I% echo '[%]'" \ | ||
67 | "[2]\n[4]\n[6 6 ]\n[7]\n" \ | ||
68 | "" " \n2\n\n4\n\n 6 6 \n \v \t 7\n\t\n\v\n" | ||
69 | |||
70 | SKIP= | ||
71 | |||
64 | exit $FAILCOUNT | 72 | exit $FAILCOUNT |