aboutsummaryrefslogtreecommitdiff
path: root/testsuite/ash.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/ash.tests
parenta2215b98f7d65bc613b9c8f008d79672402c6a07 (diff)
downloadbusybox-e82cf339e476126e4016e417aee3c6eb52c702c9.tar.gz
randomtest fixes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'testsuite/ash.tests')
-rwxr-xr-xtestsuite/ash.tests2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/ash.tests b/testsuite/ash.tests
index 183394a20..dd626e6d1 100755
--- a/testsuite/ash.tests
+++ b/testsuite/ash.tests
@@ -71,7 +71,7 @@ testing "2 bytes which are not valid unicode chars followed by left arrow key" \
# not checked by the test), then read and execute the rest: "echo A | ..."
# The bug was that ash was eating the beginning of "echo A" despite the pause.
testing "Invalid unicode chars followed by a pause do not eat next chars" \
- "{ echo -ne 'echo \xff\n'; sleep 1; echo -ne 'echo A | hexdump -C >ash.output; exit; exit; exit; exit\n'; } \
+ "{ $ECHO -ne 'echo \xff\n'; sleep 1; $ECHO -ne 'echo A | hexdump -C >ash.output; exit; exit; exit; exit\n'; } \
| script -q -c 'ash' /dev/null >/dev/null; cat ash.output" \
"\
00000000 41 0a |A.|