wunzip tests and testing script
This commit is contained in:
10
initial-utilities/wunzip/test-wunzip.sh
Executable file
10
initial-utilities/wunzip/test-wunzip.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
#! /bin/bash
|
||||
|
||||
if ! [[ -x wunzip ]]; then
|
||||
echo "wunzip executable does not exist"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
../../tester/run-tests.sh $*
|
||||
|
||||
|
||||
1
initial-utilities/wunzip/tests/1.desc
Normal file
1
initial-utilities/wunzip/tests/1.desc
Normal file
@@ -0,0 +1 @@
|
||||
simple unzip
|
||||
0
initial-utilities/wunzip/tests/1.err
Normal file
0
initial-utilities/wunzip/tests/1.err
Normal file
BIN
initial-utilities/wunzip/tests/1.in
Normal file
BIN
initial-utilities/wunzip/tests/1.in
Normal file
Binary file not shown.
1
initial-utilities/wunzip/tests/1.out
Normal file
1
initial-utilities/wunzip/tests/1.out
Normal file
@@ -0,0 +1 @@
|
||||
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
|
||||
1
initial-utilities/wunzip/tests/1.rc
Normal file
1
initial-utilities/wunzip/tests/1.rc
Normal file
@@ -0,0 +1 @@
|
||||
0
|
||||
1
initial-utilities/wunzip/tests/1.run
Normal file
1
initial-utilities/wunzip/tests/1.run
Normal file
@@ -0,0 +1 @@
|
||||
./wunzip tests/1.in
|
||||
1
initial-utilities/wunzip/tests/2.desc
Normal file
1
initial-utilities/wunzip/tests/2.desc
Normal file
@@ -0,0 +1 @@
|
||||
multiple files
|
||||
0
initial-utilities/wunzip/tests/2.err
Normal file
0
initial-utilities/wunzip/tests/2.err
Normal file
BIN
initial-utilities/wunzip/tests/2.in
Normal file
BIN
initial-utilities/wunzip/tests/2.in
Normal file
Binary file not shown.
1
initial-utilities/wunzip/tests/2.out
Normal file
1
initial-utilities/wunzip/tests/2.out
Normal file
@@ -0,0 +1 @@
|
||||
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
|
||||
1
initial-utilities/wunzip/tests/2.rc
Normal file
1
initial-utilities/wunzip/tests/2.rc
Normal file
@@ -0,0 +1 @@
|
||||
0
|
||||
1
initial-utilities/wunzip/tests/2.run
Normal file
1
initial-utilities/wunzip/tests/2.run
Normal file
@@ -0,0 +1 @@
|
||||
./wunzip tests/2a.in tests/2b.in tests/2c.in
|
||||
BIN
initial-utilities/wunzip/tests/2a.in
Normal file
BIN
initial-utilities/wunzip/tests/2a.in
Normal file
Binary file not shown.
BIN
initial-utilities/wunzip/tests/2b.in
Normal file
BIN
initial-utilities/wunzip/tests/2b.in
Normal file
Binary file not shown.
BIN
initial-utilities/wunzip/tests/2c.in
Normal file
BIN
initial-utilities/wunzip/tests/2c.in
Normal file
Binary file not shown.
1
initial-utilities/wunzip/tests/3.desc
Normal file
1
initial-utilities/wunzip/tests/3.desc
Normal file
@@ -0,0 +1 @@
|
||||
no files (error)
|
||||
0
initial-utilities/wunzip/tests/3.err
Normal file
0
initial-utilities/wunzip/tests/3.err
Normal file
1
initial-utilities/wunzip/tests/3.out
Normal file
1
initial-utilities/wunzip/tests/3.out
Normal file
@@ -0,0 +1 @@
|
||||
wunzip: file1 [file2 ...]
|
||||
1
initial-utilities/wunzip/tests/3.rc
Normal file
1
initial-utilities/wunzip/tests/3.rc
Normal file
@@ -0,0 +1 @@
|
||||
1
|
||||
1
initial-utilities/wunzip/tests/3.run
Normal file
1
initial-utilities/wunzip/tests/3.run
Normal file
@@ -0,0 +1 @@
|
||||
./wunzip
|
||||
1
initial-utilities/wunzip/tests/4.desc
Normal file
1
initial-utilities/wunzip/tests/4.desc
Normal file
@@ -0,0 +1 @@
|
||||
multi-line file with some longer lines
|
||||
0
initial-utilities/wunzip/tests/4.err
Normal file
0
initial-utilities/wunzip/tests/4.err
Normal file
BIN
initial-utilities/wunzip/tests/4.in
Normal file
BIN
initial-utilities/wunzip/tests/4.in
Normal file
Binary file not shown.
5
initial-utilities/wunzip/tests/4.out
Normal file
5
initial-utilities/wunzip/tests/4.out
Normal file
@@ -0,0 +1,5 @@
|
||||
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
|
||||
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
|
||||
cccccccccccccccccccc
|
||||
ddddddddddddddddddddddddddddddd
|
||||
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
|
||||
1
initial-utilities/wunzip/tests/4.rc
Normal file
1
initial-utilities/wunzip/tests/4.rc
Normal file
@@ -0,0 +1 @@
|
||||
0
|
||||
1
initial-utilities/wunzip/tests/4.run
Normal file
1
initial-utilities/wunzip/tests/4.run
Normal file
@@ -0,0 +1 @@
|
||||
./wunzip tests/4.in
|
||||
1
initial-utilities/wunzip/tests/5.desc
Normal file
1
initial-utilities/wunzip/tests/5.desc
Normal file
@@ -0,0 +1 @@
|
||||
does decompress always expand?
|
||||
0
initial-utilities/wunzip/tests/5.err
Normal file
0
initial-utilities/wunzip/tests/5.err
Normal file
BIN
initial-utilities/wunzip/tests/5.in
Normal file
BIN
initial-utilities/wunzip/tests/5.in
Normal file
Binary file not shown.
1
initial-utilities/wunzip/tests/5.out
Normal file
1
initial-utilities/wunzip/tests/5.out
Normal file
@@ -0,0 +1 @@
|
||||
abcdefghijklmnopqrstuvwxyz
|
||||
1
initial-utilities/wunzip/tests/5.rc
Normal file
1
initial-utilities/wunzip/tests/5.rc
Normal file
@@ -0,0 +1 @@
|
||||
0
|
||||
1
initial-utilities/wunzip/tests/5.run
Normal file
1
initial-utilities/wunzip/tests/5.run
Normal file
@@ -0,0 +1 @@
|
||||
./wunzip tests/5.in
|
||||
1
initial-utilities/wunzip/tests/6.desc
Normal file
1
initial-utilities/wunzip/tests/6.desc
Normal file
@@ -0,0 +1 @@
|
||||
large file test (as you might have guessed)
|
||||
0
initial-utilities/wunzip/tests/6.err
Normal file
0
initial-utilities/wunzip/tests/6.err
Normal file
BIN
initial-utilities/wunzip/tests/6.in
Normal file
BIN
initial-utilities/wunzip/tests/6.in
Normal file
Binary file not shown.
36855
initial-utilities/wunzip/tests/6.out
Normal file
36855
initial-utilities/wunzip/tests/6.out
Normal file
File diff suppressed because it is too large
Load Diff
1
initial-utilities/wunzip/tests/6.rc
Normal file
1
initial-utilities/wunzip/tests/6.rc
Normal file
@@ -0,0 +1 @@
|
||||
0
|
||||
1
initial-utilities/wunzip/tests/6.run
Normal file
1
initial-utilities/wunzip/tests/6.run
Normal file
@@ -0,0 +1 @@
|
||||
./wunzip tests/6.in
|
||||
Reference in New Issue
Block a user