All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] test: shell: execute shell/run-tests.sh from any directory
@ 2017-10-05  7:43 Harsha Sharma
  2017-10-06 12:37 ` Pablo Neira Ayuso
  0 siblings, 1 reply; 2+ messages in thread
From: Harsha Sharma @ 2017-10-05  7:43 UTC (permalink / raw)
  To: pablo; +Cc: netfilter-devel, linux-kernel, outreachy-kernel, Harsha Sharma

Update shell/run-tests.sh to refer /src/nft with a relative path

Signed-off-by: Harsha Sharma <harshasharmaiitr@gmail.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



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] test: shell: execute shell/run-tests.sh from any directory
  2017-10-05  7:43 [PATCH] test: shell: execute shell/run-tests.sh from any directory Harsha Sharma
@ 2017-10-06 12:37 ` Pablo Neira Ayuso
  0 siblings, 0 replies; 2+ messages in thread
From: Pablo Neira Ayuso @ 2017-10-06 12:37 UTC (permalink / raw)
  To: Harsha Sharma; +Cc: netfilter-devel, linux-kernel, outreachy-kernel

On Thu, Oct 05, 2017 at 01:13:47PM +0530, Harsha Sharma wrote:
> Update shell/run-tests.sh to refer /src/nft with a relative path

Applied, thanks Harsha.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-10-06 12:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-05  7:43 [PATCH] test: shell: execute shell/run-tests.sh from any directory Harsha Sharma
2017-10-06 12:37 ` Pablo Neira Ayuso

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.