diff options
author | Ted Ross <tross@apache.org> | 2009-01-27 13:39:06 +0000 |
---|---|---|
committer | Ted Ross <tross@apache.org> | 2009-01-27 13:39:06 +0000 |
commit | 07d89b95826a7e76aa6434d3f3252befefaff8e0 (patch) | |
tree | 4d5c5e978e616023986844cc6c0969326428d5a2 /qpid | |
parent | 7cda910073c7ba5b411100aa06f131e9afacb4ca (diff) | |
download | qpid-python-07d89b95826a7e76aa6434d3f3252befefaff8e0.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@738089 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid')
-rwxr-xr-x | qpid/cpp/src/tests/run_acl_tests | 1 |
1 files changed, 1 insertions, 0 deletions
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}'` |