From: Ian Jackson Date: Tue, 10 Jan 2023 21:29:06 +0000 (+0000) Subject: Introduce t-ok X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=ac2fb21a258f890c51fca978688d1f8b73a2a8db;p=hippotat.git Introduce t-ok Signed-off-by: Ian Jackson --- diff --git a/adt/acommon b/adt/acommon index b7519de..1baf9e1 100644 --- a/adt/acommon +++ b/adt/acommon @@ -194,3 +194,8 @@ setup-pair () { setup-host client setup-host server } + +t-ok () { + trap '' 0 + echo ok. +} diff --git a/adt/adt-full b/adt/adt-full index e764fe8..39d367e 100755 --- a/adt/adt-full +++ b/adt/adt-full @@ -33,5 +33,4 @@ echo tests passed, cleaning up. $src/adt/acleanup -trap '' 0 -echo ok. +t-ok diff --git a/adt/adt-initscript b/adt/adt-initscript index e4e6b38..23daa88 100755 --- a/adt/adt-initscript +++ b/adt/adt-initscript @@ -32,4 +32,4 @@ service hippotatd stop ( LC_MESSAGES=C nc -v localhost 8099 2>&1 ||: ) \ | tee /dev/stderr | grep 'Connection refused' -echo ok. +t-ok