Author: chug
Date: Fri Mar 22 15:53:52 2013
New Revision: 1459854

URL: http://svn.apache.org/r1459854
Log:
QPID-4631: C++ Broker interbroker links protected by ACL
federation and federation-sys tests need acl file to allow link creation


Modified:
    qpid/branches/qpid-4631/qpid/cpp/src/tests/run_federation_sys_tests
    qpid/branches/qpid-4631/qpid/cpp/src/tests/run_federation_tests

Modified: qpid/branches/qpid-4631/qpid/cpp/src/tests/run_federation_sys_tests
URL: 
http://svn.apache.org/viewvc/qpid/branches/qpid-4631/qpid/cpp/src/tests/run_federation_sys_tests?rev=1459854&r1=1459853&r2=1459854&view=diff
==============================================================================
--- qpid/branches/qpid-4631/qpid/cpp/src/tests/run_federation_sys_tests 
(original)
+++ qpid/branches/qpid-4631/qpid/cpp/src/tests/run_federation_sys_tests Fri Mar 
22 15:53:52 2013
@@ -42,7 +42,9 @@ SKIPTESTS="${SKIPTESTS} -i federation_sy
 
 start_brokers() {
     start_broker() {
-        ${QPIDD_EXEC} --daemon --port 0 --auth no --no-data-dir $1 > qpidd.port
+       echo acl allow all create link  > $moduledir/federation-sys-tests.acl
+       echo acl allow all all         >> $moduledir/federation-sys-tests.acl
+        ${QPIDD_EXEC} --daemon --port 0 --auth no --no-data-dir --load-module 
acl.so --acl-file $moduledir/federation-sys-tests.acl $1 > qpidd.port
         PORT=`cat qpidd.port`
         eval "$2=${PORT}"
     }

Modified: qpid/branches/qpid-4631/qpid/cpp/src/tests/run_federation_tests
URL: 
http://svn.apache.org/viewvc/qpid/branches/qpid-4631/qpid/cpp/src/tests/run_federation_tests?rev=1459854&r1=1459853&r2=1459854&view=diff
==============================================================================
--- qpid/branches/qpid-4631/qpid/cpp/src/tests/run_federation_tests (original)
+++ qpid/branches/qpid-4631/qpid/cpp/src/tests/run_federation_tests Fri Mar 22 
15:53:52 2013
@@ -33,9 +33,11 @@ else
     SKIPTESTS='-i *_xml'    # note: single quotes prevent expansion of *
 fi
 
-QPIDD_CMD="../qpidd --daemon --port 0 --no-data-dir $MODULES --auth no 
--log-enable=info+ --log-enable=debug+:Bridge --log-to-file"
+QPIDD_CMD="../qpidd --daemon --port 0 --no-data-dir $MODULES --auth no 
--log-enable=info+ --log-enable=debug+:Bridge --load-module acl.so --acl-file 
$moduledir/federation-tests.acl --log-to-file"
 start_brokers() {
-    rm -f fed_local.log fed_remote.log fed_b1.log fed_b2.log
+    rm -f fed_local.log fed_remote.log fed_b1.log fed_b2.log 
$moduledir/federation-tests.acl
+    echo acl allow all create link  > $moduledir/federation-tests.acl
+    echo acl allow all all         >> $moduledir/federation-tests.acl
     LOCAL_PORT=$($QPIDD_CMD fed_local.log --federation-tag LOCAL)
     REMOTE_PORT=$($QPIDD_CMD fed_remote.log --federation-tag REMOTE)
     REMOTE_B1=$($QPIDD_CMD fed_b1.log --federation-tag B1)



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to