python-maxminddb: extend test.sh past the import smoke check
authorAlexandru Ardelean <redacted>
Sun, 31 May 2026 08:11:57 +0000 (11:11 +0300)
committerAlexandru Ardelean <redacted>
Mon, 1 Jun 2026 05:10:59 +0000 (08:10 +0300)
commitf8921064dc5d74f4460208b96e0fd3b2f607179e
tree510c3b4d21395e48550fd3563bafdf4249ed8df1
parentab664d45626a4707927fb73480543c9cb0dd1a93
python-maxminddb: extend test.sh past the import smoke check

Previous test.sh only confirmed the import smoke check. Add a $2
version check, assert MODE_* constants are distinct ints, and exercise
the loader's error paths (missing file, non-MMDB temp file).

Signed-off-by: Alexandru Ardelean <redacted>
lang/python/python-maxminddb/test.sh [changed mode: 0644->0755]
git clone https://git.99rst.org/PROJECT