[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20171005074347.20953-1-harshasharmaiitr@gmail.com>
Date: Thu, 5 Oct 2017 13:13:47 +0530
From: Harsha Sharma <harshasharmaiitr@...il.com>
To: pablo@...filter.org
Cc: netfilter-devel@...r.kernel.org, linux-kernel@...r.kernel.org,
outreachy-kernel@...glegroups.com,
Harsha Sharma <harshasharmaiitr@...il.com>
Subject: [PATCH] test: shell: execute shell/run-tests.sh from any directory
Update shell/run-tests.sh to refer /src/nft with a relative path
Signed-off-by: Harsha Sharma <harshasharmaiitr@...il.com>
---
tests/shell/run-tests.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/shell/run-tests.sh b/tests/shell/run-tests.sh
index 4eba0a8..dbddd8d 100755
--- a/tests/shell/run-tests.sh
+++ b/tests/shell/run-tests.sh
@@ -3,7 +3,7 @@
# Configuration
TESTDIR="./"
RETURNCODE_SEPARATOR="_"
-SRC_NFT="../../src/nft"
+SRC_NFT="$(dirname $0)/../../src/nft"
msg_error() {
echo "E: $1 ..." >&2
--
2.11.0
Powered by blists - more mailing lists