fix valgrind test valgrind check
authorNils Carlson <nils.carlson@ericsson.com>
Mon, 21 Feb 2011 09:17:26 +0000 (10:17 +0100)
committerNils Carlson <nils.carlson@ericsson.com>
Tue, 22 Feb 2011 16:18:38 +0000 (17:18 +0100)
Signed-off-by: Nils Carlson <nils.carlson@ericsson.com>
tests/valgrind_ust-consumerd.sh

index d89a1f2cfd5c7d59d20a6e1502174693e30dd860..1b10772aada9b17ca4f998ad8c73bb2a454ccd51 100755 (executable)
@@ -17,7 +17,7 @@
 #    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 [ -n "$(which valgrind)" ]; then
+if ! which valgrind > /dev/null; then
     echo "$0: Valgrind not found on the system." >/dev/stderr
     exit 1;
 fi
This page took 0.025263 seconds and 4 git commands to generate.