BIND 10 trac1071, updated. 95e0a157b2ae5a4027c06b7bb1aec04f9eb883fd [trac1071] remove intermediate file from a couple of tests
BIND 10 source code commits
bind10-changes at lists.isc.org
Mon Jul 4 13:56:40 UTC 2011
The branch, trac1071 has been updated
via 95e0a157b2ae5a4027c06b7bb1aec04f9eb883fd (commit)
from 258663014324e165ea95d581498268915d176141 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 95e0a157b2ae5a4027c06b7bb1aec04f9eb883fd
Author: Stephen Morris <stephen at isc.org>
Date: Mon Jul 4 14:52:06 2011 +0100
[trac1071] remove intermediate file from a couple of tests
-----------------------------------------------------------------------
Summary of changes:
src/lib/log/tests/init_logger_test.sh.in | 15 ++++++---------
1 files changed, 6 insertions(+), 9 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/lib/log/tests/init_logger_test.sh.in b/src/lib/log/tests/init_logger_test.sh.in
index 8ca0e0b..d26ca5d 100755
--- a/src/lib/log/tests/init_logger_test.sh.in
+++ b/src/lib/log/tests/init_logger_test.sh.in
@@ -44,9 +44,8 @@ WARN [bind10.log] LOG_BAD_STREAM bad log console output stream: warn
ERROR [bind10.log] LOG_DUPLICATE_MESSAGE_ID duplicate message ID (error) in compiled code
FATAL [bind10.log] LOG_NO_MESSAGE_ID line fatal: message definition line found without a message ID
.
-rm -f $destfile
-B10_LOGGER_SEVERITY=DEBUG B10_LOGGER_DBGLEVEL=99 ./init_logger_test 2> $destfile
-cut -d' ' -f3- $destfile | diff $tempfile -
+B10_LOGGER_SEVERITY=DEBUG B10_LOGGER_DBGLEVEL=99 ./init_logger_test 2>&1 | \
+ cut -d' ' -f3- | diff $tempfile -
passfail $?
echo -n " - severity=DEBUG, dbglevel=50: "
@@ -58,9 +57,8 @@ WARN [bind10.log] LOG_BAD_STREAM bad log console output stream: warn
ERROR [bind10.log] LOG_DUPLICATE_MESSAGE_ID duplicate message ID (error) in compiled code
FATAL [bind10.log] LOG_NO_MESSAGE_ID line fatal: message definition line found without a message ID
.
-rm -f $destfile
-B10_LOGGER_SEVERITY=DEBUG B10_LOGGER_DBGLEVEL=50 ./init_logger_test 2> $destfile
-cut -d' ' -f3- $destfile | diff $tempfile -
+B10_LOGGER_SEVERITY=DEBUG B10_LOGGER_DBGLEVEL=50 ./init_logger_test 2>&1 | \
+ cut -d' ' -f3- | diff $tempfile -
passfail $?
echo -n " - severity=WARN: "
@@ -69,9 +67,8 @@ WARN [bind10.log] LOG_BAD_STREAM bad log console output stream: warn
ERROR [bind10.log] LOG_DUPLICATE_MESSAGE_ID duplicate message ID (error) in compiled code
FATAL [bind10.log] LOG_NO_MESSAGE_ID line fatal: message definition line found without a message ID
.
-rm -f $destfile
-B10_LOGGER_SEVERITY=WARN ./init_logger_test 2> $destfile
-cut -d' ' -f3- $destfile | diff $tempfile -
+B10_LOGGER_SEVERITY=WARN ./init_logger_test 2>&1 | \
+ cut -d' ' -f3- | diff $tempfile -
passfail $?
echo "2. Checking that B10_LOGGER_DESTINATION works"
More information about the bind10-changes
mailing list