3450. [bug] Stop logfileconfig system test spam system logs.
[RT #32315] Squashed commit of the following: commit ad40744e2c7dc253b70857bb229def5dd194b418 Author: Mark Andrews <marka@isc.org> Date: Fri Jan 4 17:24:45 2013 +1100 logfileconfig spams the system log files
This commit is contained in:
@@ -30,7 +30,7 @@ PIPEFILE="named_pipe"
|
||||
SYMFILE="named_sym"
|
||||
PIDFILE="${THISDIR}/${CONFDIR}/named.pid"
|
||||
myRNDC="$RNDC -c ${THISDIR}/${CONFDIR}/rndc.conf"
|
||||
myNAMED="$NAMED -c ${THISDIR}/${CONFDIR}/named.conf -m record,size,mctx -T clienttest -d 99 -U 4"
|
||||
myNAMED="$NAMED -c ${THISDIR}/${CONFDIR}/named.conf -m record,size,mctx -T clienttest -T nosyslog -d 99 -U 4"
|
||||
|
||||
# Stop the server and run through a series of tests with various config
|
||||
# files while controlling the stop/start of the server.
|
||||
@@ -76,7 +76,7 @@ then
|
||||
cp $DIRCONF named.conf
|
||||
echo > named.run
|
||||
$myRNDC reconfig
|
||||
grep "invalid file" named.run > /dev/null 2>&1
|
||||
grep "configuring logging: invalid file" named.run > /dev/null 2>&1
|
||||
if [ $? -ne 0 ]
|
||||
then
|
||||
echo "I: testing directory as file succeeded (UNEXPECTED)"
|
||||
@@ -98,7 +98,7 @@ then
|
||||
cp $PIPECONF named.conf
|
||||
echo > named.run
|
||||
$myRNDC reconfig
|
||||
grep "invalid file" named.run > /dev/null 2>&1
|
||||
grep "configuring logging: invalid file" named.run > /dev/null 2>&1
|
||||
if [ $? -ne 0 ]
|
||||
then
|
||||
echo "I: testing pipe file as log file succeeded (UNEXPECTED)"
|
||||
|
||||
Reference in New Issue
Block a user