From 07d89b95826a7e76aa6434d3f3252befefaff8e0 Mon Sep 17 00:00:00 2001 From: Ted Ross Date: Tue, 27 Jan 2009 13:39:06 +0000 Subject: Delete the temp log file before the absolute path test. If this test failed, the log remained and was appended to. This led to the extraction of the wrong PORT and the failure to shut down the test daemon. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@738089 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/cpp/src/tests/run_acl_tests | 1 + 1 file changed, 1 insertion(+) (limited to 'qpid/cpp/src') diff --git a/qpid/cpp/src/tests/run_acl_tests b/qpid/cpp/src/tests/run_acl_tests index 8d583c1895..1cd322b401 100755 --- a/qpid/cpp/src/tests/run_acl_tests +++ b/qpid/cpp/src/tests/run_acl_tests @@ -36,6 +36,7 @@ stop_brokers() { test_loading_acl_from_absolute_path(){ POLICY_FILE=$PWD/$srcdir/policy.acl + rm -f temp.log ../qpidd --daemon --port 0 --no-module-dir --no-data-dir --auth no --load-module ../.libs/acl.so --acl-file $POLICY_FILE -t --log-to-file temp.log 2>/dev/null PORT=`grep "Listening on TCP port" temp.log | awk '{print $8}'` ACL_FILE=`grep "notice Read ACL file" temp.log | awk '{print $7}'` -- cgit v1.2.1