mirror of
https://github.com/isc-projects/bind9.git
synced 2026-07-02 18:39:34 -04:00
[rt46602] Check prerequsities before network interfaces when running test.
(cherry picked from commit 549a6c6bc8)
This commit is contained in:
parent
d737040fcf
commit
4dc368a837
1 changed files with 7 additions and 8 deletions
|
|
@ -92,6 +92,13 @@ then
|
|||
exit 0;
|
||||
fi
|
||||
|
||||
$PERL testsock.pl -p $PORT || {
|
||||
echowarn "I:$test:Network interface aliases not set up. Skipping test."
|
||||
echowarn "R:$test:UNTESTED"
|
||||
echoend "E:$test:`date $dateargs`"
|
||||
exit 0;
|
||||
}
|
||||
|
||||
# Check for test-specific prerequisites.
|
||||
test ! -f $test/prereq.sh || ( cd $test && $SHELL prereq.sh "$@" )
|
||||
result=$?
|
||||
|
|
@ -105,14 +112,6 @@ else
|
|||
exit 0
|
||||
fi
|
||||
|
||||
# Test sockets after the prerequisites has been setup
|
||||
$PERL testsock.pl -p $PORT || {
|
||||
echowarn "I:$test:Network interface aliases not set up. Skipping test."
|
||||
echowarn "R:$test:UNTESTED"
|
||||
echoend "E:$test:`date $dateargs`"
|
||||
exit 0;
|
||||
}
|
||||
|
||||
# Check for PKCS#11 support
|
||||
if
|
||||
test ! -f $test/usepkcs11 || $SHELL cleanpkcs11.sh
|
||||
|
|
|
|||
Loading…
Reference in a new issue