diff options
author | Philippe Coval <philippe.coval@open.eurogiciel.org> | 2014-07-17 18:50:52 +0200 |
---|---|---|
committer | Philippe Coval <philippe.coval@open.eurogiciel.org> | 2014-07-17 18:50:52 +0200 |
commit | cc011b91ca1b5b9d37412110eef3ef7fab6f4e2f (patch) | |
tree | 88d0d7536bee02fe98c3cf3c931edf549068720e /tests/sysfs_l3_parity | |
parent | 3c7b03f2f7b4ecfb18fb30f2e43b6321cb1aa4de (diff) | |
download | intel-gpu-tools-upstream.tar.gz intel-gpu-tools-upstream.tar.bz2 intel-gpu-tools-upstream.zip |
Imported Upstream version 1.7upstream/1.7upstream
Diffstat (limited to 'tests/sysfs_l3_parity')
-rwxr-xr-x | tests/sysfs_l3_parity | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/sysfs_l3_parity b/tests/sysfs_l3_parity index 6f814a13..e9d44110 100755 --- a/tests/sysfs_l3_parity +++ b/tests/sysfs_l3_parity @@ -8,20 +8,20 @@ fi SOURCE_DIR="$( dirname "${BASH_SOURCE[0]}" )" . $SOURCE_DIR/drm_lib.sh -$SOURCE_DIR/../tools/intel_l3_parity -c +$SOURCE_DIR/../tools/intel_l3_parity -r 0 -b 0 -s 0 -e #Check that we can remap a row -$SOURCE_DIR/../tools/intel_l3_parity 0,0,0 -disabled=`$SOURCE_DIR/../tools/intel_l3_parity | grep -c 'Row 0, Bank 0, Subbank 0 is disabled'` +$SOURCE_DIR/../tools/intel_l3_parity -r 0 -b 0 -s 0 -d +disabled=`$SOURCE_DIR/../tools/intel_l3_parity -l | grep -c 'Row 0, Bank 0, Subbank 0 is disabled'` if [ "$disabled" != "1" ] ; then echo "Fail" exit 1 fi -$SOURCE_DIR/../tools/intel_l3_parity -c +$SOURCE_DIR/../tools/intel_l3_parity -r 0 -b 0 -s 0 -e #Check that we can clear remaps -if [ `$SOURCE_DIR/../tools/intel_l3_parity | wc -c` != "0" ] ; then - echo "Fail" +if [ `$SOURCE_DIR/../tools/intel_l3_parity -l | wc -l` != 1 ] ; then + echo "Fail 2" exit 1 fi |