2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-09-02 15:45:25 +00:00

[master] capture stderr in systests.output

- also tidied up runall.sh summary output
This commit is contained in:
Evan Hunt
2014-02-28 21:59:28 -08:00
parent 3ef4b7383a
commit ec88c1fdff

View File

@@ -15,8 +15,6 @@
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE. # PERFORMANCE OF THIS SOFTWARE.
# $Id: runall.sh,v 1.13 2011/12/19 23:08:50 marka Exp $
# #
# Run all the system tests. # Run all the system tests.
# #
@@ -31,19 +29,17 @@ status=0
do do
sh run.sh $d || status=1 sh run.sh $d || status=1
done done
} 2>&1 | tee "systests.output"
$PERL testsock.pl || { $PERL testsock.pl || {
cat <<EOF >&2 cat <<EOF >&2
I: I:
I:NOTE: Many of the tests were skipped because they require that I:NOTE: System tests were skipped because they require that the
I: the IP addresses 10.53.0.1 through 10.53.0.7 are configured I: IP addresses 10.53.0.1 through 10.53.0.8 be configured
I: as alias addresses on the loopback interface. Please run I: as alias addresses on the loopback interface. Please run
I: "bin/tests/system/ifconfig.sh up" as root to configure them I: "bin/tests/system/ifconfig.sh up" as root to configure them.
I: and rerun the tests.
EOF EOF
exit 0;
} }
} | tee "systests.output"
echo "I:System test result summary:" echo "I:System test result summary:"
grep '^R:' systests.output | sort | uniq -c | sed -e 's/^/I: /' -e 's/R://' grep '^R:' systests.output | sort | uniq -c | sed -e 's/^/I: /' -e 's/R://'