diff options
Diffstat (limited to 'testsuite/cmp/cmp-detects-difference')
-rw-r--r-- | testsuite/cmp/cmp-detects-difference | 7 |
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 |