Commit 49ec3ece authored by Jérome Perrin's avatar Jérome Perrin

testing/testcase: use realpath to compare paths

This supports the case where some paths used for shared parts are
symlinks
parent abf16f01
......@@ -268,6 +268,7 @@ def checkSoftware(slap, software_url):
Only libraries from `valid_paths_for_libs` are accepted.
Returns a list of error messages.
"""
valid_paths_for_libs = [os.path.realpath(x) for x in valid_paths_for_libs]
executable_link_error_list = []
for path in paths_to_check:
for root, dirs, files in os.walk(path):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment