mirror of
https://github.com/isc-projects/bind9.git
synced 2026-04-27 00:58:39 -04:00
There is a checkds system test in v9_16 that does not exist in the main branch. This existing checkds system test checks the behaviour of the dnssec-checkds tool. Before backporting the new checkds system test, that tests the feature where BIND checks periodically the parental agents if the DS for a given KSK has been published, move the existing checkds system test to checkdstool.
32 lines
412 B
Batchfile
Executable file
32 lines
412 B
Batchfile
Executable file
@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%" == "dnskey" goto dnskey
|
|
if "%arg%" == "DNSKEY" goto dnskey
|
|
set file=%arg%
|
|
goto next
|
|
|
|
:ds
|
|
set ext=ds
|
|
goto next
|
|
|
|
:dnskey
|
|
set ext=dnskey
|
|
goto next
|
|
|
|
:next
|
|
shift
|
|
goto loop
|
|
|
|
:end
|
|
|
|
set name=%file%.%ext%.db
|
|
type %name%
|