aboutsummaryrefslogtreecommitdiff
path: root/tests/do.sh
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2020-06-18 17:23:59 +0200
committerToni Uhlig <matzeton@googlemail.com>2020-06-19 07:15:20 +0200
commit14f514134d9bd84e8ac4b8bda82f2429bc5d7dc4 (patch)
tree82ea9056014633d8285c589f45a0f0ea5d83d1e8 /tests/do.sh
parentb2c24558c53a282e138e0b86ab684cdcde1f358f (diff)
make tests/do.sh directory agnostic
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'tests/do.sh')
-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