]> git.ipfire.org Git - thirdparty/suricata-verify.git/commitdiff
run: support symlink for test directories 402/head
authorTharushi Jayasekara <tharushi68@gmail.com>
Fri, 15 Jan 2021 17:22:32 +0000 (22:52 +0530)
committerTharushi Jayasekara <tharushi68@gmail.com>
Fri, 15 Jan 2021 17:22:32 +0000 (22:52 +0530)
run.py

diff --git a/run.py b/run.py
index 9326764cf7b597213b33f9a3b52f451e70b5accb..095be190d76123e0c15bb1a0f7f3c672ed5d8bb0 100755 (executable)
--- a/run.py
+++ b/run.py
@@ -876,7 +876,7 @@ def main():
         tdir = os.path.abspath(args.testdir)
     # First gather the tests so we can run them in alphabetic order.
     tests = []
-    for dirpath, dirnames, filenames in os.walk(tdir):
+    for dirpath, dirnames, filenames in os.walk(tdir, followlinks = True):
         # The top directory is not a test...
         if dirpath == os.path.join(TOPDIR, "tests"):
             continue