qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mgoul...@apache.org
Subject svn commit: r1050493 - in /qpid/trunk/qpid/cpp/src/tests: sasl_fed sasl_fed_ex
Date Fri, 17 Dec 2010 21:09:21 GMT
Author: mgoulish
Date: Fri Dec 17 21:09:20 2010
New Revision: 1050493

URL: http://svn.apache.org/viewvc?rev=1050493&view=rev
Log:
Change tmp directories from /tmp/sasl_fed/RANDOM to /tmp/sasl_fed_RANDOM.
Otherwise, if user A runs these tests first, user B can't come along and
run them later -- if he doesn't have write permission to the /tmp/sasl_fed 
directory which user A already created.

Modified:
    qpid/trunk/qpid/cpp/src/tests/sasl_fed
    qpid/trunk/qpid/cpp/src/tests/sasl_fed_ex

Modified: qpid/trunk/qpid/cpp/src/tests/sasl_fed
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/tests/sasl_fed?rev=1050493&r1=1050492&r2=1050493&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/tests/sasl_fed (original)
+++ qpid/trunk/qpid/cpp/src/tests/sasl_fed Fri Dec 17 21:09:20 2010
@@ -43,7 +43,7 @@ fi
 sasl_config_file=$builddir/sasl_config
 
 my_random_number=$RANDOM
-tmp_root=/tmp/sasl_fed/$my_random_number
+tmp_root=/tmp/sasl_fed_$my_random_number
 mkdir -p $tmp_root
 
 

Modified: qpid/trunk/qpid/cpp/src/tests/sasl_fed_ex
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/tests/sasl_fed_ex?rev=1050493&r1=1050492&r2=1050493&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/tests/sasl_fed_ex (original)
+++ qpid/trunk/qpid/cpp/src/tests/sasl_fed_ex Fri Dec 17 21:09:20 2010
@@ -77,7 +77,7 @@ create_certs || error "Could not create 
 sasl_config_file=$builddir/sasl_config
 
 my_random_number=$RANDOM
-tmp_root=/tmp/sasl_fed/$my_random_number
+tmp_root=/tmp/sasl_fed_$my_random_number
 mkdir -p $tmp_root
 
 SRC_SSL_PORT=6667
@@ -239,7 +239,7 @@ if [ "$dst_message_count" -eq  "$n_messa
   #echo "good: |$dst_message_count| == |$n_messages|"
   exit 0
 else
-   #echo "not ideal: |$broker_2_message_count| != |$n_messages|"
+   #echo "not ideal: |$dst_message_count| != |$n_messages|"
   exit 1
 fi
 



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org


Mime
View raw message