data/method/busybox/busybox-1.36.0/testsuite/cmp/cmp-detects-difference

10 lines
101 B
Plaintext
Raw Normal View History

2024-01-29 10:44:43 +08:00
echo foo >foo
echo bar >bar
set +e
busybox cmp -s foo bar
if [ $? != 0 ] ; then
exit 0;
fi
exit 1;