busybox/testsuite/cmp/cmp-detects-difference

10 lines
101 B
Plaintext

echo foo >foo
echo bar >bar
set +e
busybox cmp -s foo bar
if [ $? != 0 ] ; then
exit 0;
fi
exit 1;