2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00

save wait_for_message contents

This commit is contained in:
Mark Andrews
2019-12-06 14:52:06 +11:00
parent dd6f9391c3
commit 1334daaec0
2 changed files with 3 additions and 1 deletions

View File

@@ -24,3 +24,4 @@ rm -f ns[123]/catalog[1234].example.db
rm -rf ns2/zonedir
rm -f ns*/*.nzd ns*/*.nzd-lock
rm -f ns*/managed-keys.bind*
rm -f wait_for_message.*

View File

@@ -24,7 +24,8 @@ rndccmd() (
)
_wait_for_message() (
nextpartpeek "$1" | grep -F "$2" >/dev/null
nextpartpeek "$1" > wait_for_message.$n
grep -F "$2" wait_for_message.$n >/dev/null
)
wait_for_message() (