Commit ff47e46b authored by Michał Kępień's avatar Michał Kępień

Merge branch 'michal/fix-the-dnssec-system-test-on-windows-v9_11' into 'v9_11'

[v9_11] Fix the "dnssec" system test on Windows

See merge request !3013
parents dc680673 9d5d2c9d
Pipeline #33102 passed with stages
in 2 minutes and 9 seconds
......@@ -3373,7 +3373,7 @@ echo send
$DIG $DIGOPTS +noall +answer @10.53.0.2 cds cds-update.secure > dig.out.test$n
lines=`awk '$4 == "CDS" {print}' dig.out.test$n | wc -l`
test "${lines:-10}" -eq 1 || ret=1
lines=`awk '$4 == "CDS" && $5 == "0" && $6 == "0" && $7 == "0" && $8 == "00" {print}' dig.out.test$n | wc -l`
lines=`tr -d '\r' < dig.out.test$n | awk '$4 == "CDS" && $5 == "0" && $6 == "0" && $7 == "0" && $8 == "00" {print}' | wc -l`
test "$lines" -eq 1 || ret=1
n=`expr $n + 1`
test "$ret" -eq 0 || echo_i "failed"
......@@ -3539,7 +3539,7 @@ echo send
$DIG $DIGOPTS +noall +answer @10.53.0.2 cdnskey cdnskey-update.secure > dig.out.test$n
lines=`awk '$4 == "CDNSKEY" {print}' dig.out.test$n | wc -l`
test "${lines:-10}" -eq 1 || ret=1
lines=`awk '$4 == "CDNSKEY" && $5 == "0" && $6 == "3" && $7 == "0" && $8 == "AA==" {print}' dig.out.test$n | wc -l`
lines=`tr -d '\r' < dig.out.test$n | awk '$4 == "CDNSKEY" && $5 == "0" && $6 == "3" && $7 == "0" && $8 == "AA==" {print}' | wc -l`
test "${lines:-10}" -eq 1 || ret=1
n=`expr $n + 1`
test "$ret" -eq 0 || echo_i "failed"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment