diff options
author | nobody | 2004-10-13 09:42:10 +0000 |
---|---|---|
committer | nobody | 2004-10-13 09:42:10 +0000 |
commit | 8c59a0bf0e9e2d87b0ff273ea3f0bf05bbbf6373 (patch) | |
tree | 1826706cd4fd009fcd14f4f8021005ec8ec0fa59 /busybox/testsuite/cmp/cmp-detects-difference | |
download | busybox-8c59a0bf0e9e2d87b0ff273ea3f0bf05bbbf6373.zip busybox-8c59a0bf0e9e2d87b0ff273ea3f0bf05bbbf6373.tar.gz |
This commit was manufactured by cvs2svn to create tag 'busybox_1_00'.
Diffstat (limited to 'busybox/testsuite/cmp/cmp-detects-difference')
-rw-r--r-- | busybox/testsuite/cmp/cmp-detects-difference | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/busybox/testsuite/cmp/cmp-detects-difference b/busybox/testsuite/cmp/cmp-detects-difference new file mode 100644 index 0000000..b9bb628 --- /dev/null +++ b/busybox/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; |