|
Last change
on this file since 2725 was 2725, checked in by Bruno Cornec, 15 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
|
| Line | |
|---|
| 1 | # FEATURE: CONFIG_UNEXPAND
|
|---|
| 2 |
|
|---|
| 3 | rm -f foo bar
|
|---|
| 4 | $ECHO -e "\ty" | expand -t 3 ../../busybox > foo
|
|---|
| 5 | $ECHO -e "\ty" | busybox unexpand -t 3 ../../busybox > bar
|
|---|
| 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
|
|---|
| 13 | $ECHO -e "\ty\tx" | expand -it 3 ../../busybox > foo
|
|---|
| 14 | $ECHO -e "\ty\tx" | busybox unexpand -it 3 ../../busybox > bar
|
|---|
| 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.