clean up test output

This commit is contained in:
Michael Sawyer
2000-05-19 23:55:37 +00:00
parent 17a3fcecd0
commit 208c4f45c8
5 changed files with 34 additions and 10 deletions
+7 -1
View File
@@ -15,6 +15,10 @@
# ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
# SOFTWARE.
echo "S:`date`"
echo "T:system_dnssec:1"
echo "A:A test to determine online functionality of dnssec tools"
#
# Perform tests
#
@@ -123,6 +127,8 @@ echo "SERVFAIL is expected in the following:"
grep ";" dig.out.ns4
if [ $status != 0 ]; then
echo "FAILED with status $status"
echo "R:FAIL"
else
echo "R:PASS"
fi
+7 -3
View File
@@ -15,6 +15,10 @@
# ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
# SOFTWARE.
echo "S:`date`"
echo "T:system_notify:1"
echo "A:A test to determine online functionality of notify"
#
# Perform tests
#
@@ -103,7 +107,7 @@ perl ../digcomp.pl dig.out.ns2 dig.out.ns3
status=`expr $status + $?`
if [ $status != 0 ]; then
echo "FAILED with status $status"
echo "R:FAIL"
else
echo "R:PASS"
fi
exit $status
+6
View File
@@ -20,6 +20,12 @@
#
. ./conf.sh
whoami=`whoami`
if [ $whoami != "root" ]; then
echo "I:System tests must be run as root."
exit
fi
sh ifconfig.sh start
if [ $? != 0 ]; then
+7 -3
View File
@@ -15,6 +15,10 @@
# ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
# SOFTWARE.
echo "S:`date`"
echo "T:system_views:1"
echo "A:A test to determine online functionality of views"
#
# Perform tests
#
@@ -77,7 +81,7 @@ if [ $? = 0 ]; then
fi
if [ $status != 0 ]; then
echo "FAILED with status $status"
echo "R:FAIL"
else
echo "R:PASS"
fi
exit $status
+7 -3
View File
@@ -15,6 +15,10 @@
# ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
# SOFTWARE.
echo "S:`date`"
echo "T:system_xfer:1"
echo "A:A test to determine online functionality of domain name transfers"
#
# Perform tests
#
@@ -45,7 +49,7 @@ perl ../digcomp.pl knowngood.dig.out dig.out.ns3
status=`expr $status + $?`
if [ $status != 0 ]; then
echo "FAILED with status $status"
echo "R:FAIL"
else
echo "R:PASS"
fi
exit $status