aboutsummaryrefslogtreecommitdiff
path: root/test/run_tests.sh
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2021-05-10 15:22:55 +0200
committerToni Uhlig <matzeton@googlemail.com>2021-05-10 15:38:01 +0200
commit5b0a751159abe31cafd02784896c1a7bc5b1af12 (patch)
tree7b647cecc48611cc8f8535a3a74c55cda1c3dba3 /test/run_tests.sh
parent93bff603d0ce3c93cc2fcbb75360e9607d1daef4 (diff)
README.md updated
* removed all those outdated Makefile.old references * added additional CMake build instructions Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'test/run_tests.sh')
-rwxr-xr-xtest/run_tests.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/run_tests.sh b/test/run_tests.sh
index 2d742e4b1..4bebf7a3c 100755
--- a/test/run_tests.sh
+++ b/test/run_tests.sh
@@ -4,10 +4,10 @@ set -e
LINE_SPACES=${LINE_SPACES:-48}
MYDIR="$(realpath "$(dirname ${0})")"
-nDPId_test_EXEC="${2:-"$(realpath "${MYDIR}/../nDPId-test")"}"
+nDPId_test_EXEC="$(realpath "${2:-"${MYDIR}/../nDPId-test"}")"
NETCAT_EXEC="nc -q 0 -l 127.0.0.1 9000"
-JSON_VALIDATOR="${3:-"$(realpath "${MYDIR}/../examples/py-schema-validation/py-schema-validation.py")"}"
-SEMN_VALIDATOR="${3:-"$(realpath "${MYDIR}/../examples/py-semantic-validation/py-semantic-validation.py")"}"
+JSON_VALIDATOR="$(realpath "${3:-"${MYDIR}/../examples/py-schema-validation/py-schema-validation.py"}")"
+SEMN_VALIDATOR="$(realpath "${4:-"${MYDIR}/../examples/py-semantic-validation/py-semantic-validation.py"}")"
if [ $# -eq 0 -a -x "${MYDIR}/../libnDPI/tests/pcap" ]; then
nDPI_SOURCE_ROOT="${MYDIR}/../libnDPI"