diff options
author | Erich Eckner <git@eckner.net> | 2024-06-22 14:33:55 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2024-06-22 14:33:55 +0200 |
commit | ef3378ba8385520c0dc75013162ea79196d6d4f5 (patch) | |
tree | 187b5211e3949d25af973301dd10374f097e65cd /run-test.sh | |
parent | c973adafe6095fe18ed42315c550c60b030fed2e (diff) | |
download | Milchtankstelle-ef3378ba8385520c0dc75013162ea79196d6d4f5.tar.xz |
wait for cache to be mounted first
Diffstat (limited to 'run-test.sh')
-rwxr-xr-x | run-test.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/run-test.sh b/run-test.sh index 9fdf259..c982c4c 100755 --- a/run-test.sh +++ b/run-test.sh @@ -2,6 +2,11 @@ cd "$(dirname "$(readlink -e "$0")")" +for i in {1..300}; do + [ -d ~erich/.cache/ms-playwright/ ] && break + sleep 1 +done + if ! cnt=$(su erich -c "npx playwright test"); then printf '%s\n' \ 'To: erich@eckner.net' \ |