From ac2fb21a258f890c51fca978688d1f8b73a2a8db Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Tue, 10 Jan 2023 21:29:06 +0000 Subject: [PATCH] Introduce t-ok Signed-off-by: Ian Jackson --- adt/acommon | 5 +++++ adt/adt-full | 3 +-- adt/adt-initscript | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) 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 -- 2.30.2