summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
authorTed Ross <tross@apache.org>2009-01-27 13:39:06 +0000
committerTed Ross <tross@apache.org>2009-01-27 13:39:06 +0000
commitd849eff61801f3c5d5bdda74007c886a34f7a10b (patch)
treedec7be8faaea1f2bee8ab5be301039de9644b061 /cpp/src
parent46e0f76885205e08f0699aacf99cb129004bfd88 (diff)
downloadqpid-python-d849eff61801f3c5d5bdda74007c886a34f7a10b.tar.gz
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/qpid@738089 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src')
-rwxr-xr-xcpp/src/tests/run_acl_tests1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpp/src/tests/run_acl_tests b/cpp/src/tests/run_acl_tests
index 8d583c1895..1cd322b401 100755
--- a/cpp/src/tests/run_acl_tests
+++ b/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}'`