make test suite work on macos (#702)

This commit is contained in:
Lennard 2025-12-23 13:57:52 +01:00 committed by GitHub
parent 40c043ec23
commit 9bfcb25cd9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -29,7 +29,7 @@ if [ ! -z "$MATCH_PATTERN" ]; then
find_args="$find_args -name $MATCH_PATTERN"
fi
for dir in $(find $find_args | sort); do
for dir in $(find . $find_args | sort); do
dir=$(echo $dir | cut -c 3-)
echo "################################################"
echo "Now running ${dir}"
@ -58,7 +58,7 @@ for dir in $(find $find_args | sort); do
docker exec $svc /bin/sh -c "docker load -i /cache/image.tar.gz"
done
for executable in $(find $dir -type f -executable | sort); do
for executable in $(find $dir -type f -perm -u+x | sort); do
context="manager"
if [ -f "$executable.context" ]; then
context=$(cat "$executable.context")