From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Thu, 13 Nov 2025 15:22:54 +0000 (-0500) Subject: Validate greeting from pipe caller X-Git-Tag: rec-5.4.0-alpha1~83^2~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9742bb575627ba7f6282d08a88faa52a5b3fbf7e;p=thirdparty%2Fpdns.git Validate greeting from pipe caller Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- diff --git a/regression-tests.nobackend/negcache-tests-dotted-cname/pipe.py b/regression-tests.nobackend/negcache-tests-dotted-cname/pipe.py index 06c50bcfdc..091427a4ec 100755 --- a/regression-tests.nobackend/negcache-tests-dotted-cname/pipe.py +++ b/regression-tests.nobackend/negcache-tests-dotted-cname/pipe.py @@ -3,6 +3,9 @@ import sys line = sys.stdin.readline() +items = line.split('\t') +if (items[0] != 'HELO'): + print('LOG\tGot unexpected greeting\t%s' % line) # TOLO print('OK\tTest backend firing up')