aboutsummaryrefslogtreecommitdiff
path: root/testsuite/sed.tests
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-05-12 15:59:32 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2010-05-12 15:59:32 +0200
commite82cf339e476126e4016e417aee3c6eb52c702c9 (patch)
treeaf480d4552cb63fcf8ee28600986e9c16c7adb6a /testsuite/sed.tests
parenta2215b98f7d65bc613b9c8f008d79672402c6a07 (diff)
downloadbusybox-e82cf339e476126e4016e417aee3c6eb52c702c9.tar.gz
randomtest fixes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'testsuite/sed.tests')
-rwxr-xr-xtestsuite/sed.tests4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/sed.tests b/testsuite/sed.tests
index 5b0750cac..88b9c4e4b 100755
--- a/testsuite/sed.tests
+++ b/testsuite/sed.tests
@@ -110,7 +110,7 @@ testing "sed embedded NUL" "sed -e 's/woo/bang/'" "\0bang\0woo\0" "" \
testing "sed embedded NUL g" "sed -e 's/woo/bang/g'" "bang\0bang\0" "" \
"woo\0woo\0"
test x"$SKIP_KNOWN_BUGS" = x"" && {
-echo -e "/woo/a he\0llo" > sed.commands
+$ECHO -e "/woo/a he\0llo" > sed.commands
testing "sed NUL in command" "sed -f sed.commands" "woo\nhe\0llo\n" "" "woo"
rm sed.commands
}
@@ -153,7 +153,7 @@ testing "sed clusternewline" \
"one\none\n111\n222\ntwo\ntwo" "one" "two"
}
testing "sed subst+write" \
- "sed -e 's/i/z/' -e 'woutputw' input -; echo -n X; cat outputw" \
+ "sed -e 's/i/z/' -e 'woutputw' input -; $ECHO -n X; cat outputw" \
"thzngy\nagaznXthzngy\nagazn" "thingy" "again"
rm outputw
testing "sed trailing NUL" \