aboutsummaryrefslogtreecommitdiff
path: root/testsuite/cmp
diff options
context:
space:
mode:
authorGravatar Matt Kraai <kraai@debian.org>2001-10-30 23:11:20 +0000
committerGravatar Matt Kraai <kraai@debian.org>2001-10-30 23:11:20 +0000
commit3889078dbe09a9d85b359e9c0c0c225e0bbea343 (patch)
treee258582c0f14f06750e480e2c244260e79860fd0 /testsuite/cmp
parent999623e9736d21177d1f437679b334e0347a6e0f (diff)
downloadbusybox-3889078dbe09a9d85b359e9c0c0c225e0bbea343.tar.gz
busybox-3889078dbe09a9d85b359e9c0c0c225e0bbea343.tar.bz2
Merge test suite.
Diffstat (limited to 'testsuite/cmp')
-rw-r--r--testsuite/cmp/cmp-detects-difference7
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/cmp/cmp-detects-difference b/testsuite/cmp/cmp-detects-difference
new file mode 100644
index 000000000..b5544f9a8
--- /dev/null
+++ b/testsuite/cmp/cmp-detects-difference
@@ -0,0 +1,7 @@
+echo foo >foo
+echo bar >bar
+if busybox cmp -s foo bar; then
+ return 1
+else
+ return 0
+fi