Fix tests when lttng-ust is disabled
[lttng-tools.git] / tests / ust / nevents / run
index 946e8b204015f8df79e11b5cbcdc91d3f98680f8..5f37450741b1ef4b7dbb359be4acd979a3d21023 100755 (executable)
@@ -25,7 +25,7 @@ echo -e "\n-----------------------------------"
 echo -e "UST tracer - Generate $NR_ITER events"
 echo -e "-------------------------------------"
 
 echo -e "UST tracer - Generate $NR_ITER events"
 echo -e "-------------------------------------"
 
-if [ ! -e "$CURDIR/gen-nevents" ]; then
+if [ ! -x "$CURDIR/gen-nevents" ]; then
        echo -e "No UST nevents binary detected. Passing."
        exit 0
 fi
        echo -e "No UST nevents binary detected. Passing."
        exit 0
 fi
This page took 0.02259 seconds and 4 git commands to generate.