Skip to content

Commit 069ab63

Browse files
authored
Merge pull request #971 from openzim/use-zim-testing-suite-0.8.0
Use latest zim-testing-suite
2 parents 720f841 + f775805 commit 069ab63

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

scripts/download_test_data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
import tarfile
2727
import sys
2828

29-
TEST_DATA_VERSION = "0.7.0"
29+
TEST_DATA_VERSION = "0.8.0"
3030
ARCHIVE_URL_TEMPL = "https://github.com/openzim/zim-testing-suite/releases/download/{version}/zim-testing-suite-{version}.tar.gz"
3131

3232
if __name__ == "__main__":

src/fileheader.cpp

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -125,12 +125,7 @@ namespace zim
125125
}
126126

127127
bool Fileheader::hasTitleListingV0() const {
128-
// A non-released version of libzim existed which signaled the absence of
129-
// the title index v0 by setting titleIdxPos to 0 (instead of 0xff..ff).
130-
// Such ZIM files are buggy since they cannot be opened by earlier version
131-
// of libzim, but we temporarily acknowledge their existence until they are
132-
// removed from zim-testing-suite.
133-
return titleIdxPos != 0 && titleIdxPos != offset_type(-1);
128+
return titleIdxPos != offset_type(-1);
134129
}
135130

136131
void Fileheader::sanity_check() const {

0 commit comments

Comments
 (0)