Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

devops: create lock dir

Andrey Lushnikovae878882bbf8
diff --git a/browser_patches/tools/cronjob.sh b/browser_patches/tools/cronjob.sh
index 987ab82747..90dbc82b3e 100755
--- a/browser_patches/tools/cronjob.sh
+++ b/browser_patches/tools/cronjob.sh
@@ -32,6 +32,7 @@ if [[ -d ${LOCKDIR} ]]; then
echo "Already running (lockdir $LOCKDIR exists. Remove it manually if running)"
exit 0
fi
+mkdir -p $LOCKDIR
# make sure the lockfile is removed when we exit and then claim it
trap "rm -rf ${LOCKDIR}; cd $(pwd -P); exit" INT TERM EXIT
cd "$(dirname "$0")"