fix valgrind test valgrind check
[ust.git] / tests / valgrind_ust-consumerd.sh
index a0d9e443de3030716b48e9217b18398544c5b4fc..1b10772aada9b17ca4f998ad8c73bb2a454ccd51 100755 (executable)
 #    You should have received a copy of the GNU General Public License
 #    along with LTTng-UST.  If not, see <http://www.gnu.org/licenses/>.
 
+if ! which valgrind > /dev/null; then
+    echo "$0: Valgrind not found on the system." >/dev/stderr
+    exit 1;
+fi
+
 TESTDIR=$(dirname $0)
 
 source $TESTDIR/test_functions.sh
This page took 0.023813 seconds and 4 git commands to generate.