Skip to content

Commit

Permalink
[tmp][test] Run zip test first
Browse files Browse the repository at this point in the history
  • Loading branch information
mxmlnkn committed Dec 26, 2023
1 parent d9244c1 commit e816452
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions tests/runtests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1573,15 +1573,15 @@ fi
# zipfile returns unseekable file object with python 3.6. Therefore I disabled it completely there.
python3MinorVersion=$( python3 --version | sed -n -E 's|.* 3[.]([0-9]+)[.][0-9]+|\1|p' )
if [[ -n "$python3MinorVersion" && "$python3MinorVersion" -gt 6 ]]; then
if ! uname | 'grep' -q -i darwin; then
tests+=(
2709a3348eb2c52302a7606ecf5860bc tests/zip.rar natsu.zip/ufo
10d6977ec2ab378e60339323c24f9308 tests/zip.rar natsu.zip/foo
49b996b16f59ab6c87dea31e227f8798 tests/rar-misrecognized-as-zip.rar bag.zip/README.md
49b996b16f59ab6c87dea31e227f8798 tests/rar-misrecognized-as-zip.rar bag.zip/CHANGELOG.md
49b996b16f59ab6c87dea31e227f8798 tests/rar-misrecognized-as-zip.rar bag1.zip/CHANGELOG.md
)
fi
#if ! uname | 'grep' -q -i darwin; then
#tests+=(
# 2709a3348eb2c52302a7606ecf5860bc tests/zip.rar natsu.zip/ufo
# 10d6977ec2ab378e60339323c24f9308 tests/zip.rar natsu.zip/foo
# 49b996b16f59ab6c87dea31e227f8798 tests/rar-misrecognized-as-zip.rar bag.zip/README.md
# 49b996b16f59ab6c87dea31e227f8798 tests/rar-misrecognized-as-zip.rar bag.zip/CHANGELOG.md
# 49b996b16f59ab6c87dea31e227f8798 tests/rar-misrecognized-as-zip.rar bag1.zip/CHANGELOG.md
#)
#fi
tests+=(
2709a3348eb2c52302a7606ecf5860bc tests/file-in-non-existing-folder.zip foo2/ufo
2709a3348eb2c52302a7606ecf5860bc tests/rar.zip natsu.rar/ufo
Expand Down

0 comments on commit e816452

Please sign in to comment.