From eaaa5b4f9301ae2e5a29dd77616d8e29fd3b2c28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henryk=20Pl=C3=B6tz?= Date: Fri, 3 Oct 2014 20:19:52 +0200 Subject: Add tinydnssec-1.05-1.3.tar.bz2 Source was http://www.tinydnssec.org/download/tinydnssec-1.05-1.3.tar.bz2, SHA1 b33d5c3e0de67f6427aad8c00a99580b59804075 --- run-tests.sh | 104 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 104 insertions(+) create mode 100755 run-tests.sh (limited to 'run-tests.sh') diff --git a/run-tests.sh b/run-tests.sh new file mode 100755 index 0000000..14d2c88 --- /dev/null +++ b/run-tests.sh @@ -0,0 +1,104 @@ +#!/bin/sh + +# (C) 2012 Peter Conrad + +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License version 3 as +# published by the Free Software Foundation. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +./tinydns-sign.pl test/example.?sk data +./tinydns-data + +for i in test/q-*; do + id="${i#test/q}" + echo -n "$i ... " + read sec type name <"$i" + ./tinydns-get "$sec" "$type" $name | tail +2 >test/"o$id" + sed -s 's/\b[0-9]\{10\}\b/