]> git.ipfire.org Git - thirdparty/pdns.git/blame - regression-tests/cleandig
This is the old and very bitrotted regression testing suite
[thirdparty/pdns.git] / regression-tests / cleandig
CommitLineData
d4886eb4
BH
1#!/bin/sh
2PATH=.:../:$PATH
3dig $@ -p 5300 |
4 grep -v ";; global options" |
5 grep -v ";; Got answer:" |
6 grep -v "^;; Total query time:" |
7 grep -v "^; " |
8 grep -v "^;; res options" |
9 grep -v "^;; got answer:" |
10 grep -v "^;; FROM:" |grep -v "^;; WHEN:" | grep -v "^;; MSG SIZE" |
11 sed 's/, id: [0123456789]*//g' |
12 sed "s/$nameserver/NAMESERVER/g"
13
14
15#;; res options: init recurs defnam dnsrch
16#;; got answer:
17#;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 6
18#;; flags: qr aa; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
19#;; QUERY SECTION:
20#;; outpost.example.com, type = A, class = IN
21#
22#;; ANSWER SECTION:
23#outpost.example.com. 2M IN A 192.168.2.1
24#
25#;; FROM: ahu to SERVER: 127.0.0.1
26#;; WHEN: Fri Jul 27 12:59:28 2001
27#;; MSG SIZE sent: 37 rcvd: 53
28