diff options
author | Harsha Sharma <harshasharmaiitr@gmail.com> | 2017-10-07 04:17:52 +0530 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2017-10-09 15:22:31 +0200 |
commit | 31933bdfdc38e782d5afd4b52d83e424162827c3 (patch) | |
tree | 790f233dfa1f01624b129dbbc288abf60c8507fa /tests | |
parent | fd513de78bc0133f6ba61087be168e2a8d067107 (diff) |
test: shell: update shell/run-tests.sh to refer to relative path of testcase
Refer to relative path for tests from any directory if path for testcases
is specified.
Signed-off-by: Harsha Sharma <harshasharmaiitr@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/shell/run-tests.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/shell/run-tests.sh b/tests/shell/run-tests.sh index dbddd8d5..fe30115e 100755 --- a/tests/shell/run-tests.sh +++ b/tests/shell/run-tests.sh @@ -1,7 +1,7 @@ #!/bin/bash # Configuration -TESTDIR="./" +TESTDIR="./$(dirname $0)/" RETURNCODE_SEPARATOR="_" SRC_NFT="$(dirname $0)/../../src/nft" |