diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2021-09-18 23:53:41 +0200 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2021-09-19 11:30:55 +0200 |
commit | 7829bfe4e6ae433120b2f4bc95d8ab5018f67e90 (patch) | |
tree | fd67303fa8364c9fd3a37884a3d54e6b3b7169da /test/run_tests.sh | |
parent | 4fa1694b0514042404ef7efa801addc2f624cf37 (diff) |
CI extended and fixups
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'test/run_tests.sh')
-rwxr-xr-x | test/run_tests.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/run_tests.sh b/test/run_tests.sh index f5acfb4a5..df6fdd277 100755 --- a/test/run_tests.sh +++ b/test/run_tests.sh @@ -31,6 +31,11 @@ else nDPI_SOURCE_ROOT="$(realpath "${1}")" fi +if [ ! -x "${nDPI_SOURCE_ROOT}/tests/pcap" ]; then + printf 'PCAP directory %s does not exist or you do not have the permission to access it.\n' "${nDPI_SOURCE_ROOT}/tests/pcap" >&2 + exit 2 +fi + LOCKFILE="$(realpath "${0}").lock" touch "${LOCKFILE}" |