From: Jason Ish Date: Fri, 19 Jan 2018 21:27:41 +0000 (-0600) Subject: runner: allow --outdir to be relative (ie: ./output) X-Git-Tag: suricata-6.0.4~513 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=46e39cb200554e2b27b1e633cc75f1d11b26d944;p=thirdparty%2Fsuricata-verify.git runner: allow --outdir to be relative (ie: ./output) --- diff --git a/run.py b/run.py index 7aa222064..9e5500009 100755 --- a/run.py +++ b/run.py @@ -564,7 +564,7 @@ def main(): outdir = os.path.join(dirpath, "output") if args.outdir: - outdir = os.path.join(args.outdir, name) + outdir = os.path.join(os.path.realpath(args.outdir), name) test_runner = TestRunner( cwd, dirpath, outdir, suricata_config, args.verbose)