drd: Add a consistency check
[valgrind.git] / tests / check_isa-2_07_cap
blob8b991e510d7f968711529ad89971ad02da4e19b7
1 #!/bin/sh
3 # We use this script to check whether or not the processor supports
4 # Power ISA 2.07.
5 DIR="$( cd "$( dirname "$0" )" && pwd )"
6 LD_SHOW_AUXV=1 $DIR/true | grep arch_2_07 > /dev/null 2>&1
8 if [ "$?" -ne "0" ]; then
9 exit 1
10 else
11 exit 0