source:
drbl_ui/backup/test_busybox/busybox-1.7.2/testsuite/cmp/cmp-detects-difference
| Last change on this file was 20, checked in by chris, 18 years ago | |
|---|---|
| File size: 101 bytes | |
| Rev | Line | |
|---|---|---|
| [20] | 1 | echo foo >foo |
| 2 | echo bar >bar | |
| 3 | set +e | |
| 4 | busybox cmp -s foo bar | |
| 5 | if [ $? != 0 ] ; then | |
| 6 | exit 0; | |
| 7 | fi | |
| 8 | ||
| 9 | exit 1; |
Note: See TracBrowser
for help on using the repository browser.
