summaryrefslogtreecommitdiff
path: root/tests/sysfs_l3_parity
diff options
context:
space:
mode:
Diffstat (limited to 'tests/sysfs_l3_parity')
-rwxr-xr-xtests/sysfs_l3_parity2
1 files changed, 1 insertions, 1 deletions
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