diff options
Diffstat (limited to 'testsuite/expand/expand-works-like-GNU')
-rw-r--r-- | testsuite/expand/expand-works-like-GNU | 10 |
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 | |||
1 | rm -f foo bar | 3 | rm -f foo bar |
2 | echo -e "\ty" | expand -t 3 ../../busybox > foo | 4 | $ECHO -e "\ty" | expand -t 3 ../../busybox > foo |
3 | echo -e "\ty" | busybox unexpand -t 3 ../../busybox > bar | 5 | $ECHO -e "\ty" | busybox unexpand -t 3 ../../busybox > bar |
4 | set +e | 6 | set +e |
5 | test ! -f foo -a -f bar | 7 | test ! -f foo -a -f bar |
6 | if [ $? = 0 ] ; then | 8 | if [ $? = 0 ] ; then |
@@ -8,8 +10,8 @@ if [ $? = 0 ] ; then | |||
8 | diff -q foo bar | 10 | diff -q foo bar |
9 | fi | 11 | fi |
10 | rm -f foo bar | 12 | rm -f foo bar |
11 | echo -e "\ty\tx" | expand -it 3 ../../busybox > foo | 13 | $ECHO -e "\ty\tx" | expand -it 3 ../../busybox > foo |
12 | echo -e "\ty\tx" | busybox unexpand -it 3 ../../busybox > bar | 14 | $ECHO -e "\ty\tx" | busybox unexpand -it 3 ../../busybox > bar |
13 | set +e | 15 | set +e |
14 | test ! -f foo -a -f bar | 16 | test ! -f foo -a -f bar |
15 | if [ $? = 0 ] ; then | 17 | if [ $? = 0 ] ; then |