From bfa7a5906d53a016b43eaa5592d91c1fb955daf7 Mon Sep 17 00:00:00 2001 From: Ben Widawsky Date: Tue, 10 Sep 2013 10:40:54 -0700 Subject: intel_l3_parity: Support error injection Haswell added the ability to inject errors which is extremely useful for testing. Add two arguments to the tool to inject, and uninject. Signed-off-by: Ben Widawsky --- tests/sysfs_l3_parity | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/sysfs_l3_parity') diff --git a/tests/sysfs_l3_parity b/tests/sysfs_l3_parity index a0dfad9c..e9d44110 100755 --- a/tests/sysfs_l3_parity +++ b/tests/sysfs_l3_parity @@ -21,7 +21,7 @@ fi $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 -l | wc -c` != "0" ] ; then +if [ `$SOURCE_DIR/../tools/intel_l3_parity -l | wc -l` != 1 ] ; then echo "Fail 2" exit 1 fi -- cgit v1.2.3