diff options
| author | Quentin Aristote <quentin@aristote.fr> | 2023-02-19 17:01:25 +0100 |
|---|---|---|
| committer | Quentin Aristote <quentin@aristote.fr> | 2023-02-19 17:01:25 +0100 |
| commit | 367e1fd625414eac668431eac0479f757665b144 (patch) | |
| tree | 04fcb68c1a8f8108b2901f4357cdf8ffe49e86dc /tests/run-tests.sh | |
| parent | 25f9b854c0065a3d63278178ef4c8abc99108eba (diff) | |
make tests runnable from root
Diffstat (limited to 'tests/run-tests.sh')
| -rwxr-xr-x | tests/run-tests.sh | 6 |
1 files changed, 3 insertions, 3 deletions
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 ... |
