diff options
Diffstat (limited to 'cpp/src/tests/run_test')
| -rwxr-xr-x | cpp/src/tests/run_test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/tests/run_test b/cpp/src/tests/run_test index 062e9e137e..82be3b0893 100755 --- a/cpp/src/tests/run_test +++ b/cpp/src/tests/run_test @@ -24,7 +24,7 @@ # Output nothing if test passes, show the output if it fails and # leave output in <test>.log for examination. # -# If qpidd.port exists run test with QPID_PORT=`cat qpidd.port` +# If qpidd.port exists and is not empty run test with QPID_PORT=`cat qpidd.port` # # If $VALGRIND if is set run under valgrind. If there are valgrind # erros show valgrind output, also leave it in <test>.valgrind for @@ -38,7 +38,7 @@ srcdir=`dirname $0` export VALGRIND srcdir # Set QPID_PORT if qpidd.port exists. -test -f qpidd.port && QPID_PORT=`cat qpidd.port` +test -s qpidd.port && QPID_PORT=`cat qpidd.port` export QPID_PORT # Avoid silly libtool error messages if these are not defined |
