aboutsummaryrefslogtreecommitdiff
path: root/testsuite/expand
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/expand
parenta2215b98f7d65bc613b9c8f008d79672402c6a07 (diff)
downloadbusybox-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-GNU8
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
3rm -f foo bar 3rm -f foo bar
4echo -e "\ty" | expand -t 3 ../../busybox > foo 4$ECHO -e "\ty" | expand -t 3 ../../busybox > foo
5echo -e "\ty" | busybox unexpand -t 3 ../../busybox > bar 5$ECHO -e "\ty" | busybox unexpand -t 3 ../../busybox > bar
6set +e 6set +e
7test ! -f foo -a -f bar 7test ! -f foo -a -f bar
8if [ $? = 0 ] ; then 8if [ $? = 0 ] ; then
@@ -10,8 +10,8 @@ if [ $? = 0 ] ; then
10 diff -q foo bar 10 diff -q foo bar
11fi 11fi
12rm -f foo bar 12rm -f foo bar
13echo -e "\ty\tx" | expand -it 3 ../../busybox > foo 13$ECHO -e "\ty\tx" | expand -it 3 ../../busybox > foo
14echo -e "\ty\tx" | busybox unexpand -it 3 ../../busybox > bar 14$ECHO -e "\ty\tx" | busybox unexpand -it 3 ../../busybox > bar
15set +e 15set +e
16test ! -f foo -a -f bar 16test ! -f foo -a -f bar
17if [ $? = 0 ] ; then 17if [ $? = 0 ] ; then