Fix tests when lttng-ust is disabled
[lttng-tools.git] / tests / ust / nprocesses / run
index d2f6d555f0c196d2b87a57d10661c7f14f18ccd7..7513fe138c0b6a2bc8724a9e9670ea8ee413ef28 100755 (executable)
@@ -18,6 +18,7 @@
 CURDIR=$(dirname $0)/
 TESTDIR=$CURDIR/../..
 NR_ITER=100
+TEST_BIN_NAME="gen-events-time"
 
 source $TESTDIR/utils.sh
 
@@ -25,7 +26,7 @@ echo -e "\n-------------------------------------"
 echo -e "UST tracer - Generate $NR_ITER process"
 echo -e "---------------------------------------"
 
-if [ ! -e "$CURDIR/$TEST_BIN_NAME" ]; then
+if [ ! -x "$CURDIR/$TEST_BIN_NAME" ]; then
        echo -e "No UST $TEST_BIN_NAME binary detected. Passing."
        exit 0
 fi
This page took 0.036645 seconds and 4 git commands to generate.