aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Deri <lucaderi@users.noreply.github.com>2020-06-22 12:51:17 +0200
committerGitHub <noreply@github.com>2020-06-22 12:51:17 +0200
commite29e14b7aa305b038be4c07b61bbc28dfff92cb0 (patch)
treec044627da2d8c43f78fb9bba5216b40213609096
parentc9d8efc2a41a695da3c7ce7d4661f4ed494ccc65 (diff)
parent14f514134d9bd84e8ac4b8bda82f2429bc5d7dc4 (diff)
Merge pull request #921 from lnslbrty/improved/test-sh
make tests/do.sh directory agnostic
-rwxr-xr-xtests/do.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/do.sh b/tests/do.sh
index 78e6216d9..63ef0c8bc 100755
--- a/tests/do.sh
+++ b/tests/do.sh
@@ -1,5 +1,7 @@
#!/bin/sh
+cd "$(dirname "${0}")"
+
READER="../example/ndpiReader -p ../example/protos.txt -c ../example/categories.txt"
RC=0