From: Florian Krohm Date: Fri, 3 Jul 2015 20:07:08 +0000 (+0000) Subject: Fix scripts to use /bin/true consistently. X-Git-Tag: svn/VALGRIND_3_11_0~252 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9012b9df4384f20af03e7cc0cd3cff8f6a057e6f;p=thirdparty%2Fvalgrind.git Fix scripts to use /bin/true consistently. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15392 --- diff --git a/tests/check_isa-2_06_cap b/tests/check_isa-2_06_cap index b8ec37f31a..68401fc74b 100755 --- a/tests/check_isa-2_06_cap +++ b/tests/check_isa-2_06_cap @@ -2,7 +2,7 @@ # We use this script to check whether or not the processor supports Power ISA 2.06 or later. DIR="$( cd "$( dirname "$0" )" && pwd )" -LD_SHOW_AUXV=1 $DIR/true | grep arch_2_06 > /dev/null 2>&1 +LD_SHOW_AUXV=1 /bin/true | grep arch_2_06 > /dev/null 2>&1 if [ "$?" -ne "0" ]; then exit 1 diff --git a/tests/check_isa-2_07_cap b/tests/check_isa-2_07_cap index 8b991e510d..e268d73d5e 100755 --- a/tests/check_isa-2_07_cap +++ b/tests/check_isa-2_07_cap @@ -3,7 +3,7 @@ # We use this script to check whether or not the processor supports # Power ISA 2.07. DIR="$( cd "$( dirname "$0" )" && pwd )" -LD_SHOW_AUXV=1 $DIR/true | grep arch_2_07 > /dev/null 2>&1 +LD_SHOW_AUXV=1 /bin/true | grep arch_2_07 > /dev/null 2>&1 if [ "$?" -ne "0" ]; then exit 1