diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index fcb5790..e32fff2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -88,5 +88,5 @@ jobs: PYTHONUNBUFFERED: 1 run: | sudo chown 0:0 jlmkr.py ./test/test-jlmkr - sudo bash ./test/test-jlmkr || sudo journalctl - sudo ./test/test.sh || sudo journalctl + sudo bash ./test/test-jlmkr + sudo ./test/test.sh diff --git a/test/test.sh b/test/test.sh index 04a2aef..2dd6896 100755 --- a/test/test.sh +++ b/test/test.sh @@ -9,4 +9,6 @@ set -euo pipefail # TODO: test jlmkr.py from inside another working directory, with a relative path to a config file to test if it uses the config file (and doesn't look for it relative to the jlmkr.py file itself) ./jlmkr.py create --start --config=./templates/docker/config test +./jlmkr.py exec test journalctl +./jlmkr.py exec test systemctl status dockerd ./jlmkr.py exec test docker run hello-world