This website requires JavaScript.
Explore
Help
Register
Sign In
emo
/
busybox
Watch
1
Star
0
Fork
0
You've already forked busybox
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
2f6a317944
busybox
/
testsuite
/
cmp
/
cmp-detects-difference
10 lines
101 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Merge test suite.
2001-10-31 04:41:20 +05:30
echo foo >foo
echo bar >bar
Kill off the old 'tests' stuff. Write a ton of new tests for the 'testsuite' dir. Fix a bunch of broken tests. Fix the testsuite 'runtest' script so it actually reports all failures and provides meaningful feedback. -Erik
2004-04-06 16:40:30 +05:30
set +e
busybox cmp -s foo bar
if [ $? != 0 ] ; then
exit 0;
fi
exit 1;
Reference in New Issue
Copy Permalink