source: branches/3.2/mindi-busybox/testsuite/cmp/cmp-detects-difference @ 3232

Last change on this file since 3232 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
Line 
1echo foo >foo
2echo bar >bar
3set +e
4busybox cmp -s foo bar
5if [ $? != 0 ] ; then
6    exit 0;
7fi
8
9exit 1;
Note: See TracBrowser for help on using the repository browser.