Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2006-12-27 07:35:09 +0300
committerDenis Vlasenko <vda.linux@googlemail.com>2006-12-27 07:35:09 +0300
commit7b76233290bd9dead1848f28ed6d0edfcceb8e09 (patch)
treeb963999fc54eddb65f1929b894f868e24851fc9c /testsuite/cmp/cmp-detects-difference
Correcting tag name to be like previous ones1_3_0
Diffstat (limited to 'testsuite/cmp/cmp-detects-difference')
-rw-r--r--testsuite/cmp/cmp-detects-difference9
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/cmp/cmp-detects-difference b/testsuite/cmp/cmp-detects-difference
new file mode 100644
index 000000000..b9bb628f1
--- /dev/null
+++ b/testsuite/cmp/cmp-detects-difference
@@ -0,0 +1,9 @@
+echo foo >foo
+echo bar >bar
+set +e
+busybox cmp -s foo bar
+if [ $? != 0 ] ; then
+ exit 0;
+fi
+
+exit 1;