diff options
Diffstat (limited to 'testsuite/cmp')
-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 0000000..b5544f9 --- /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 |