From: Patrick Steinhardt Date: Tue, 21 May 2019 12:26:49 +0000 (+0200) Subject: test: zziptests: correctly honor bindir option X-Git-Tag: v0.13.72~56^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6bd61eef91b6abccbfe413f2d5baa340333fdcab;p=zziplib test: zziptests: correctly honor bindir option While there is a "--bindir" option added to the option parser of zziptests.py, we never update the global "bindir" variable to the new value. Do so to fix it not getting honored. --- diff --git a/test/zziptests.py b/test/zziptests.py index 627d5ad..4850ccb 100644 --- a/test/zziptests.py +++ b/test/zziptests.py @@ -3523,6 +3523,7 @@ if __name__ == "__main__": opt, args = _o.parse_args() logging.basicConfig(level = logging.WARNING - 10 * opt.verbose) topsrcdir = opt.topsrcdir + bindir = opt.bindir testdatdir = opt.testdatadir mkzip = opt.mkzip unzip = opt.unzip