From 26e4511e5d0c084aadc48f13651e06e8e401faf6 Mon Sep 17 00:00:00 2001 From: Michael Goulish Date: Fri, 17 Dec 2010 21:09:20 +0000 Subject: 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 --- cpp/src/tests/sasl_fed | 2 +- cpp/src/tests/sasl_fed_ex | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'cpp/src/tests') 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 -- cgit v1.2.1