diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2010-05-12 15:59:32 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-05-12 15:59:32 +0200 |
commit | e82cf339e476126e4016e417aee3c6eb52c702c9 (patch) | |
tree | af480d4552cb63fcf8ee28600986e9c16c7adb6a /testsuite/expand | |
parent | a2215b98f7d65bc613b9c8f008d79672402c6a07 (diff) | |
download | busybox-w32-e82cf339e476126e4016e417aee3c6eb52c702c9.tar.gz busybox-w32-e82cf339e476126e4016e417aee3c6eb52c702c9.tar.bz2 busybox-w32-e82cf339e476126e4016e417aee3c6eb52c702c9.zip |
randomtest fixes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'testsuite/expand')
-rw-r--r-- | testsuite/expand/expand-works-like-GNU | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/testsuite/expand/expand-works-like-GNU b/testsuite/expand/expand-works-like-GNU index 843111275..b0278d88d 100644 --- a/testsuite/expand/expand-works-like-GNU +++ b/testsuite/expand/expand-works-like-GNU | |||
@@ -1,8 +1,8 @@ | |||
1 | # FEATURE: CONFIG_UNEXPAND | 1 | # FEATURE: CONFIG_UNEXPAND |
2 | 2 | ||
3 | rm -f foo bar | 3 | rm -f foo bar |
4 | echo -e "\ty" | expand -t 3 ../../busybox > foo | 4 | $ECHO -e "\ty" | expand -t 3 ../../busybox > foo |
5 | echo -e "\ty" | busybox unexpand -t 3 ../../busybox > bar | 5 | $ECHO -e "\ty" | busybox unexpand -t 3 ../../busybox > bar |
6 | set +e | 6 | set +e |
7 | test ! -f foo -a -f bar | 7 | test ! -f foo -a -f bar |
8 | if [ $? = 0 ] ; then | 8 | if [ $? = 0 ] ; then |
@@ -10,8 +10,8 @@ if [ $? = 0 ] ; then | |||
10 | diff -q foo bar | 10 | diff -q foo bar |
11 | fi | 11 | fi |
12 | rm -f foo bar | 12 | rm -f foo bar |
13 | echo -e "\ty\tx" | expand -it 3 ../../busybox > foo | 13 | $ECHO -e "\ty\tx" | expand -it 3 ../../busybox > foo |
14 | echo -e "\ty\tx" | busybox unexpand -it 3 ../../busybox > bar | 14 | $ECHO -e "\ty\tx" | busybox unexpand -it 3 ../../busybox > bar |
15 | set +e | 15 | set +e |
16 | test ! -f foo -a -f bar | 16 | test ! -f foo -a -f bar |
17 | if [ $? = 0 ] ; then | 17 | if [ $? = 0 ] ; then |