diff options
| author | Alan Conway <aconway@apache.org> | 2008-10-25 01:45:23 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2008-10-25 01:45:23 +0000 |
| commit | 10beffb0c6d4233422f668d9d346770ad2f50295 (patch) | |
| tree | 291331b7d9e5915a1fcaa171f18cc7224c66ec76 /qpid/cpp | |
| parent | 61e2f4a4b6f2630a2be2699de96d5b96df5fccbb (diff) | |
| download | qpid-python-10beffb0c6d4233422f668d9d346770ad2f50295.tar.gz | |
Fix script to clean up data_dir.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@707806 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp')
| -rwxr-xr-x | qpid/cpp/src/tests/run_acl_tests | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/qpid/cpp/src/tests/run_acl_tests b/qpid/cpp/src/tests/run_acl_tests index b7da8b01b9..11186961b8 100755 --- a/qpid/cpp/src/tests/run_acl_tests +++ b/qpid/cpp/src/tests/run_acl_tests @@ -16,7 +16,8 @@ stop_brokers() { } if test -d ${PYTHON_DIR} ; then - mkdir $DATA_DIR + rm -rf $DATA_DIR + mkdir -p $DATA_DIR cp $srcdir/policy.acl $DATA_DIR start_brokers echo "Running acl tests using brokers on ports $LOCAL_PORT" @@ -25,9 +26,9 @@ if test -d ${PYTHON_DIR} ; then $srcdir/acl.py -v -s $srcdir/../../../specs/amqp.0-10-qpid-errata.xml -b localhost:$LOCAL_PORT --port $LOCAL_PORT RETCODE=$? stop_brokers + rm -rf $DATA_DIR if test x$RETCODE != x0; then echo "FAIL acl tests"; exit 1; fi - rm -rf $DATA_DIR fi |
