From: David VaĊĦek Date: Tue, 22 Dec 2020 20:03:03 +0000 (+0100) Subject: tests-extra: fix the "knottest-last" symlink creation X-Git-Tag: v3.1.0~273 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=274e6add5de0e3d64c3a4e0854e294eb409cbd58;p=thirdparty%2Fknot-dns.git tests-extra: fix the "knottest-last" symlink creation --- diff --git a/tests-extra/runtests.py b/tests-extra/runtests.py index 6db875aea7..a0e522a0f9 100755 --- a/tests-extra/runtests.py +++ b/tests-extra/runtests.py @@ -262,7 +262,7 @@ def main(args): # Try to create symlink to the latest result. last_link = os.path.join(params.home_dir, "knottest-last") try: - if os.path.exists(last_link): + if os.path.lexists(last_link): os.remove(last_link) os.symlink(outs_dir, last_link) except: