summaryrefslogtreecommitdiff
path: root/run-test.sh
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2023-12-04 20:59:11 +0100
committerErich Eckner <git@eckner.net>2023-12-04 20:59:11 +0100
commit1e167de3fb62d8c4bd2c8f9c6bea5cd10a5df56c (patch)
tree784dd48d128b5ec863f419245fef3eb114576c38 /run-test.sh
parent99b483e5ad124a9859993310b69fd10dc514c21d (diff)
downloadMilchtankstelle-1e167de3fb62d8c4bd2c8f9c6bea5cd10a5df56c.tar.xz
run-test.sh: cd basedir
Diffstat (limited to 'run-test.sh')
-rwxr-xr-xrun-test.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/run-test.sh b/run-test.sh
index e92f7ca..2bea55b 100755
--- a/run-test.sh
+++ b/run-test.sh
@@ -1,5 +1,7 @@
#!/bin/bash
+cd "$(dirname "$(readlink -e "$0")")"
+
if ! cnt=$(
npx playwright test
); then