From 367e1fd625414eac668431eac0479f757665b144 Mon Sep 17 00:00:00 2001 From: Quentin Aristote Date: Sun, 19 Feb 2023 17:01:25 +0100 Subject: make tests runnable from root --- tests/run-tests.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests') diff --git a/tests/run-tests.sh b/tests/run-tests.sh index 705f28d..6588a41 100755 --- a/tests/run-tests.sh +++ b/tests/run-tests.sh @@ -10,7 +10,7 @@ function cleanup { echo Stopping container for update ... sudo nixos-container stop hermes || exit 2 echo Updating container ... -sudo nixos-container update hermes --flake ..#hermes-test || exit 2 +sudo nixos-container update hermes --flake .#hermes-test || exit 2 echo Starting container ... sudo nixos-container start hermes || exit 2 @@ -64,7 +64,7 @@ echo Done. echo echo Checking custom RSS bridges : -BRIDGES="$(ls ../config/services/web/rss/*Bridge.php | xargs basename -s Bridge.php)" +BRIDGES="$(ls config/services/web/rss/*Bridge.php | xargs basename -s Bridge.php)" for BRIDGE in $BRIDGES do echo Checking bridge $BRIDGE ... @@ -78,7 +78,7 @@ echo Done. echo echo Checking web keys directory : -KEYS="$(ls ../config/services/web/webkeydirectory/hu)" +KEYS="$(ls config/services/web/webkeydirectory/hu)" for KEY in $KEYS do echo Checking key $KEY ... -- cgit v1.2.3