onig: Ignore .debug directories while finding ptests

.debug directories maybe generated when building ptest images with
pkgs-dbg, these directories should be ignored in run-ptest script where
it tries to find test binaries to execute

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj 2023-04-13 08:45:49 -07:00
parent 9d0f892a26
commit 18ef546186

View File

@ -17,7 +17,7 @@ workdir=$(mktemp -d -t onig.ptest.XXXXXX)
status="${workdir}/failed"
touch "${status}"
find tests/ -perm -111 -type f -exec sh -c '
find tests/ -perm -111 -type f ! -path "tests/.debug/*" -exec sh -c '
workdir="${1}"
status="${2}"
t="${3}"