From ea648e70a989cca190cd7403fe892fd2dcc290b4 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 5 May 2024 20:37:14 +0200 Subject: Adding upstream version 1:9.11.5.P4+dfsg. Signed-off-by: Daniel Baumann --- bin/tests/system/checkds/dig.bat | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100755 bin/tests/system/checkds/dig.bat (limited to 'bin/tests/system/checkds/dig.bat') diff --git a/bin/tests/system/checkds/dig.bat b/bin/tests/system/checkds/dig.bat new file mode 100755 index 0000000..bf07a4f --- /dev/null +++ b/bin/tests/system/checkds/dig.bat @@ -0,0 +1,38 @@ +@echo off +set ext= +set file= + +:loop +@set arg=%1 +if "%arg%" == "" goto end +if "%arg:~0,1%" == "+" goto next +if "%arg%" == "-t" goto next +if "%arg%" == "ds" goto ds +if "%arg%" == "DS" goto ds +if "%arg%" == "dlv" goto dlv +if "%arg%" == "DLV" goto dlv +if "%arg%" == "dnskey" goto dnskey +if "%arg%" == "DNSKEY" goto dnskey +set file=%arg% +goto next + +:ds +set ext=ds +goto next + +:dlv +set ext=dlv +goto next + +:dnskey +set ext=dnskey +goto next + +:next +shift +goto loop + +:end + +set name=%file%.%ext%.db +type %name% -- cgit v1.2.3