From 6886c00df68996b436512d27afaa4c7bb547cc82 Mon Sep 17 00:00:00 2001 From: Wouter Verhelst Date: Mon, 19 Dec 2016 23:09:00 +0100 Subject: [PATCH] Define certdir in a VPATH-compatible way Signed-off-by: Wouter Verhelst --- tests/run/simple_test | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/run/simple_test b/tests/run/simple_test index 2fdb62b..9f378d3 100755 --- a/tests/run/simple_test +++ b/tests/run/simple_test @@ -10,6 +10,7 @@ conffile=${tmpdir}/nbd.conf pidfile=${tmpdir}/nbd.pid tmpnam=${tmpdir}/nbd.dd mydir=$(dirname $0) +certdir=${mydir}/certs cleanup="$2" PID="" @@ -308,7 +309,6 @@ EOF ;; */tls) # TLS test - certdir=$(pwd)/certs cat >${conffile} <${conffile} <${conffile} <