source: MondoRescue/branches/2.2.5/mindi-busybox/testsuite/expand/expand-works-like-GNU@ 1765

Last change on this file since 1765 was 1765, checked in by Bruno Cornec, 16 years ago

Update to busybox 1.7.2

File size: 408 bytes
Line 
1rm -f foo bar
2echo -e "\ty" | expand -t 3 ../../busybox > foo
3echo -e "\ty" | busybox unexpand -t 3 ../../busybox > bar
4set +e
5test ! -f foo -a -f bar
6if [ $? = 0 ] ; then
7 set -e
8 diff -q foo bar
9fi
10rm -f foo bar
11echo -e "\ty\tx" | expand -it 3 ../../busybox > foo
12echo -e "\ty\tx" | busybox unexpand -it 3 ../../busybox > bar
13set +e
14test ! -f foo -a -f bar
15if [ $? = 0 ] ; then
16 set -e
17 diff -q foo bar
18fi
Note: See TracBrowser for help on using the repository browser.