summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
authorMichael Goulish <mgoulish@apache.org>2010-12-17 21:09:20 +0000
committerMichael Goulish <mgoulish@apache.org>2010-12-17 21:09:20 +0000
commit26e4511e5d0c084aadc48f13651e06e8e401faf6 (patch)
tree46c07667a432c8ed31bee04cca0df041ee1f27bc /cpp
parent483bbe20da6960ef43773f5889e04c82e16dd00c (diff)
downloadqpid-python-26e4511e5d0c084aadc48f13651e06e8e401faf6.tar.gz
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. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1050493 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp')
-rwxr-xr-xcpp/src/tests/sasl_fed2
-rwxr-xr-xcpp/src/tests/sasl_fed_ex4
2 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/tests/sasl_fed b/cpp/src/tests/sasl_fed
index 9bb940979b..9845a20838 100755
--- a/cpp/src/tests/sasl_fed
+++ b/cpp/src/tests/sasl_fed
@@ -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
diff --git a/cpp/src/tests/sasl_fed_ex b/cpp/src/tests/sasl_fed_ex
index bed8385fdc..244f07354f 100755
--- a/cpp/src/tests/sasl_fed_ex
+++ b/cpp/src/tests/sasl_fed_ex
@@ -77,7 +77,7 @@ create_certs || error "Could not create test certificate"
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_messages" ]; then
#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