mirror of
https://github.com/offen/docker-volume-backup.git
synced 2025-12-26 03:28:43 +08:00
make test suite work on macos (#702)
This commit is contained in:
parent
40c043ec23
commit
9bfcb25cd9
1 changed files with 2 additions and 2 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue