sanitycheck: use abs path for logs
Makes it much easier to inspect them in a different terminal
from where the test was run. These paths tend to be long
anyway, even if relative.
Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
diff --git a/scripts/sanitycheck b/scripts/sanitycheck
index b564597..8cc85e8 100755
--- a/scripts/sanitycheck
+++ b/scripts/sanitycheck
@@ -1996,7 +1996,7 @@
@staticmethod
def log_info(filename, inline_logs):
- filename = os.path.relpath(os.path.realpath(filename))
+ filename = os.path.abspath(os.path.realpath(filename))
if inline_logs:
logger.info("{:-^100}".format(filename))