Lines Matching refs:ret

29 ret=0
30 $DIG txt.example1. txt @$hidden -p 5300 > dig.out.hidden || ret=1
31 $DIG txt.example1. txt @$f1 -p 5300 > dig.out.f1 || ret=1
32 $PERL ../digcomp.pl dig.out.hidden dig.out.f1 || ret=1
33 if [ $ret != 0 ]; then echo "I:failed"; fi
34 status=`expr $status + $ret`
37 ret=0
38 $DIG txt.example2. txt @$root -p 5300 > dig.out.root || ret=1
39 $DIG txt.example2. txt @$f1 -p 5300 > dig.out.f1 || ret=1
40 $PERL ../digcomp.pl dig.out.root dig.out.f1 || ret=1
41 if [ $ret != 0 ]; then echo "I:failed"; fi
42 status=`expr $status + $ret`
45 ret=0
46 $DIG txt.example2. txt @$root -p 5300 > dig.out.root || ret=1
47 $DIG txt.example2. txt @$f1 -p 5300 > dig.out.f1 || ret=1
48 $PERL ../digcomp.pl dig.out.root dig.out.f1 || ret=1
49 if [ $ret != 0 ]; then echo "I:failed"; fi
50 status=`expr $status + $ret`
53 ret=0
54 $DIG txt.example4. txt @$hidden -p 5300 > dig.out.hidden || ret=1
55 $DIG txt.example4. txt @$f1 -p 5300 > dig.out.f1 || ret=1
56 $PERL ../digcomp.pl dig.out.hidden dig.out.f1 || ret=1
57 if [ $ret != 0 ]; then echo "I:failed"; fi
58 status=`expr $status + $ret`
61 ret=0
62 $DIG txt.example1. txt @$hidden -p 5300 > dig.out.hidden || ret=1
63 $DIG txt.example1. txt @$f2 -p 5300 > dig.out.f2 || ret=1
64 $PERL ../digcomp.pl dig.out.hidden dig.out.f2 || ret=1
65 if [ $ret != 0 ]; then echo "I:failed"; fi
66 status=`expr $status + $ret`
69 ret=0
70 $DIG txt.example2. txt @$root -p 5300 > dig.out.root || ret=1
71 $DIG txt.example2. txt @$f2 -p 5300 > dig.out.f2 || ret=1
72 $PERL ../digcomp.pl dig.out.root dig.out.f2 || ret=1
73 if [ $ret != 0 ]; then echo "I:failed"; fi
74 status=`expr $status + $ret`
77 ret=0
78 $DIG txt.example3. txt @$hidden -p 5300 > dig.out.hidden || ret=1
79 $DIG txt.example3. txt @$f2 -p 5300 > dig.out.f2 || ret=1
80 $PERL ../digcomp.pl dig.out.hidden dig.out.f2 || ret=1
81 if [ $ret != 0 ]; then echo "I:failed"; fi
82 status=`expr $status + $ret`
85 ret=0
86 $DIG txt.example5. txt @$f2 -p 5300 > dig.out.f2 || ret=1
87 grep "SERVFAIL" dig.out.f2 > /dev/null || ret=1
88 if [ $ret != 0 ]; then echo "I:failed"; fi
89 status=`expr $status + $ret`
94 ret=0
95 $DIG nonexist. txt @10.53.0.5 -p 5300 > dig.out.f2 || ret=1
96 grep "status: NXDOMAIN" dig.out.f2 > /dev/null || ret=1
97 $PERL ../stop.pl . ns4 || ret=1
98 $DIG nonexist. txt @10.53.0.5 -p 5300 > dig.out.f2 || ret=1
99 grep "status: NXDOMAIN" dig.out.f2 > /dev/null || ret=1
100 $PERL ../start.pl --restart --noclean . ns4 || ret=1
101 if [ $ret != 0 ]; then echo "I:failed"; fi
102 status=`expr $status + $ret`
105 ret=0
107 grep "status: NOERROR" dig.out.f2 > /dev/null || ret=1
109 grep "status: NXDOMAIN" dig.out.f2 > /dev/null || ret=1
110 if [ $ret != 0 ]; then echo "I:failed"; fi
111 status=`expr $status + $ret`