source: drbl_ui/backup/test_busybox/busybox-1.7.2/testsuite/expand/expand-works-like-GNU @ 195

Last change on this file since 195 was 20, checked in by chris, 17 years ago
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.