summaryrefslogtreecommitdiff
path: root/testsuite/expand/expand-works-like-GNU
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/expand/expand-works-like-GNU')
-rw-r--r--testsuite/expand/expand-works-like-GNU10
1 files changed, 6 insertions, 4 deletions
diff --git a/testsuite/expand/expand-works-like-GNU b/testsuite/expand/expand-works-like-GNU
index ee8c793ed..b0278d88d 100644
--- a/testsuite/expand/expand-works-like-GNU
+++ b/testsuite/expand/expand-works-like-GNU
@@ -1,6 +1,8 @@
1# FEATURE: CONFIG_UNEXPAND
2
1rm -f foo bar 3rm -f foo bar
2echo -e "\ty" | expand -t 3 ../../busybox > foo 4$ECHO -e "\ty" | expand -t 3 ../../busybox > foo
3echo -e "\ty" | busybox unexpand -t 3 ../../busybox > bar 5$ECHO -e "\ty" | busybox unexpand -t 3 ../../busybox > bar
4set +e 6set +e
5test ! -f foo -a -f bar 7test ! -f foo -a -f bar
6if [ $? = 0 ] ; then 8if [ $? = 0 ] ; then
@@ -8,8 +10,8 @@ if [ $? = 0 ] ; then
8 diff -q foo bar 10 diff -q foo bar
9fi 11fi
10rm -f foo bar 12rm -f foo bar
11echo -e "\ty\tx" | expand -it 3 ../../busybox > foo 13$ECHO -e "\ty\tx" | expand -it 3 ../../busybox > foo
12echo -e "\ty\tx" | busybox unexpand -it 3 ../../busybox > bar 14$ECHO -e "\ty\tx" | busybox unexpand -it 3 ../../busybox > bar
13set +e 15set +e
14test ! -f foo -a -f bar 16test ! -f foo -a -f bar
15if [ $? = 0 ] ; then 17if [ $? = 0 ] ; then