Gitiles
Code Review
Sign In
gerrit.nordix.org
/
codeaurora
/
busybox
/
0a44c1777134281be6b00c69b8d6b8668ea1dbf9
/
.
/
testsuite
/
cmp
/
cmp-detects-difference
blob: b9bb628f109291edca4fe1e7e39803521f027542 [
file
] [
log
] [
blame
]
Matt Kraai
3889078
2001-10-30 23:11:20 +0000
[
diff
] [
blame
]
1
echo foo
>
foo
2
echo bar
>
bar
Eric Andersen
650fe63
2004-04-06 11:10:30 +0000
[
diff
] [
blame
]
3
set
+
e
4
busybox cmp
-
s foo bar
5
if
[
$
?
!=
0
]
;
then
6
exit
0
;
7
fi
8
9
exit
1
;