Last change
on this file since 2778 was 2725, checked in by Bruno Cornec, 14 years ago |
- Update mindi-busybox to 1.18.3 to avoid problems with the tar command which is now failing on recent versions with busybox 1.7.3
|
File size:
440 bytes
|
Rev | Line | |
---|
[2725] | 1 | # FEATURE: CONFIG_UNEXPAND
|
---|
| 2 |
|
---|
[1765] | 3 | rm -f foo bar
|
---|
[2725] | 4 | $ECHO -e "\ty" | expand -t 3 ../../busybox > foo
|
---|
| 5 | $ECHO -e "\ty" | busybox unexpand -t 3 ../../busybox > bar
|
---|
[1765] | 6 | set +e
|
---|
| 7 | test ! -f foo -a -f bar
|
---|
| 8 | if [ $? = 0 ] ; then
|
---|
| 9 | set -e
|
---|
| 10 | diff -q foo bar
|
---|
| 11 | fi
|
---|
| 12 | rm -f foo bar
|
---|
[2725] | 13 | $ECHO -e "\ty\tx" | expand -it 3 ../../busybox > foo
|
---|
| 14 | $ECHO -e "\ty\tx" | busybox unexpand -it 3 ../../busybox > bar
|
---|
[1765] | 15 | set +e
|
---|
| 16 | test ! -f foo -a -f bar
|
---|
| 17 | if [ $? = 0 ] ; then
|
---|
| 18 | set -e
|
---|
| 19 | diff -q foo bar
|
---|
| 20 | fi
|
---|
Note:
See
TracBrowser
for help on using the repository browser.