|
Last change
on this file since 3810 was 3320, checked in by Bruno Cornec, 11 years ago |
- Re-add (thanks git BTW) the 2.2.9 branch which had been destroyed in
the move to 3.0
|
|
File size:
440 bytes
|
| Rev | Line | |
|---|
| [3320] | 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.