diff options
Diffstat (limited to 'release/src/router/busybox/testsuite/bunzip2')
3 files changed, 8 insertions, 0 deletions
diff --git a/release/src/router/busybox/testsuite/bunzip2/bunzip2-reads-from-standard-input b/release/src/router/busybox/testsuite/bunzip2/bunzip2-reads-from-standard-input new file mode 100755 index 00000000..e212a120 --- /dev/null +++ b/release/src/router/busybox/testsuite/bunzip2/bunzip2-reads-from-standard-input @@ -0,0 +1,2 @@ +echo foo | bzip2 | busybox bunzip2 > output +echo foo | cmp - output diff --git a/release/src/router/busybox/testsuite/bunzip2/bunzip2-removes-compressed-file b/release/src/router/busybox/testsuite/bunzip2/bunzip2-removes-compressed-file new file mode 100755 index 00000000..f1d15503 --- /dev/null +++ b/release/src/router/busybox/testsuite/bunzip2/bunzip2-removes-compressed-file @@ -0,0 +1,3 @@ +echo foo | bzip2 >foo.bz2 +busybox bunzip2 foo.bz2 +test ! -f foo.bz2 diff --git a/release/src/router/busybox/testsuite/bunzip2/bzcat-does-not-remove-compressed-file b/release/src/router/busybox/testsuite/bunzip2/bzcat-does-not-remove-compressed-file new file mode 100755 index 00000000..7d4016ec --- /dev/null +++ b/release/src/router/busybox/testsuite/bunzip2/bzcat-does-not-remove-compressed-file @@ -0,0 +1,3 @@ +echo foo | bzip2 >foo.bz2 +busybox bzcat foo.bz2 +test -f foo.bz2 |