From 2ceb13adc217d5e909f40b66c40d418d1b03d4fd Mon Sep 17 00:00:00 2001 From: Quentin Aristote Date: Sun, 13 Nov 2022 22:58:15 +0100 Subject: tests: fix container update --- tests/run-tests.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/run-tests.sh') diff --git a/tests/run-tests.sh b/tests/run-tests.sh index b74a6fe..92acdc8 100755 --- a/tests/run-tests.sh +++ b/tests/run-tests.sh @@ -7,7 +7,9 @@ function cleanup { sudo nixos-container stop hermes } +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 echo Starting container ... sudo nixos-container start hermes || exit 2 -- cgit v1.2.3