Gitiles
Code Review
Sign In
gerrit.nordix.org
/
codeaurora
/
busybox
/
1ff789c5679d03d2949e3d64e03b8849027fb55e
/
.
/
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
;