Skip to content

Commit 67b5dd7

Browse files
committed
minor changes in test
1 parent f5b6a1f commit 67b5dd7

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

tests/test.sh

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ filenames=(
55
"tests/files/test2.txt"
66
)
77

8-
filename_not_existing=(
8+
filenames_not_existing=(
99
"aaaooo.txt"
1010
""
1111
)
@@ -121,20 +121,20 @@ if [ -e ${ZIP_APP} ] && [ -e ${UNZIP_APP} ]; then
121121

122122
# test cases: args for zip, args for unzip, expected error(1)/no_error(0), list of filenames (exist/don't exist)
123123
zip_unzip "" "" "0" "${filenames[@]}"
124-
zip_unzip "" "" "1" "${filename_not_existing[@]}"
124+
zip_unzip "" "" "1" "${filenames_not_existing[@]}"
125125
zip_unzip "-f -c 100" "-f" "0" "${filenames[@]}"
126-
zip_unzip "-f -c 100" "-f" "1" "${filename_not_existing[@]}"
126+
zip_unzip "-f -c 100" "-f" "1" "${filenames_not_existing[@]}"
127127
zip_unzip "-f -c 1" "-f" "0" "${filenames[@]}"
128-
zip_unzip "-f -c 1" "-f" "1" "${filename_not_existing[@]}"
128+
zip_unzip "-f -c 1" "-f" "1" "${filenames_not_existing[@]}"
129129
zip_unzip "-f" "-f" "0" "${filenames[@]}"
130-
zip_unzip "-f" "-f" "1" "${filename_not_existing[@]}"
130+
zip_unzip "-f" "-f" "1" "${filenames_not_existing[@]}"
131131
zip_unzip "-f -c -400" "-f" "1" "${filenames[@]}"
132132
zip_unzip "-f -c 99999999999999999999999999" "-f" "1" "${filenames[@]}"
133133
zip_unzip "-f -h" "" "0" "${filenames[@]}"
134134
zip_unzip "-f" "" "0" "${filenames[@]}"
135-
zip_unzip "-f" "" "1" "${filename_not_existing[@]}"
135+
zip_unzip "-f" "" "1" "${filenames_not_existing[@]}"
136136
zip_unzip "" "-f" "0" "${filenames[@]}"
137-
zip_unzip "" "-f" "1" "${filename_not_existing[@]}"
137+
zip_unzip "" "-f" "1" "${filenames_not_existing[@]}"
138138
zip_unzip "-fabc" "-f" "1" "${filenames[@]}"
139139
zip_unzip "-f" "-fa" "1" "${filenames[@]}"
140140
zip_unzip "-f" "-h" "0" "${filenames[@]}"

0 commit comments

Comments
 (0)