source: MondoRescue/branches/stable/mindi-busybox/testsuite/cmp/cmp-detects-difference @ 821

Last change on this file since 821 was 821, checked in by Bruno Cornec, 14 years ago

Addition of busybox 1.2.1 as a mindi-busybox new package
This should avoid delivering binary files in mindi not built there (Fedora and Debian are quite serious about that)

File size: 101 bytes
1echo foo >foo
2echo bar >bar
3set +e
4busybox cmp -s foo bar
5if [ $? != 0 ] ; then
6    exit 0;
9exit 1;
Note: See TracBrowser for help on using the repository browser.