aoh

A tool for running Ansible playbooks with `curl <url> | python` commands
git clone https://git.ashermorgan.net/aoh/
Log | Files | Refs | README

commit b661fa39ccb4e112ab9cb0c490e6f08f6af97995
parent 6df80c0f07d5b71b6ff00928805d501395079133
Author: Asher Morgan <asher@ashermorgan.net>
Date:   Sun, 27 Sep 2026 09:51:51 -0700

Fix ignored docker errors in tests/e2e/run.sh

Diffstat:
Mtests/e2e/run.sh | 8++++++--
1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/tests/e2e/run.sh b/tests/e2e/run.sh @@ -11,13 +11,17 @@ log=$(mktemp) function on_exit() { echo 'Cleaning up...' rm -f $log - $DOCKER stop aoh-test-server || true # ignore if already stopped + if [ $($DOCKER ps --filter name=aoh | wc -l) -gt 1 ]; then + $DOCKER stop aoh-test-server + fi } trap on_exit EXIT $DOCKER build -t aoh-test-client -f client.Dockerfile . $DOCKER build -t aoh-test-server ../../ -$DOCKER network create aoh-test || true # ignore if already created +if [ $($DOCKER network ls --filter name=aoh-test | wc -l) -eq 1 ]; then + $DOCKER network create aoh-test +fi for i in {1..4}; do echo ================================