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