Change the inject-smart field from -s to -m when testing the
dimm-media-temperature event. The -s seems to have been a copy-paste
error.

Cc: QI Fuli <[email protected]>
Signed-off-by: Vishal Verma <[email protected]>
---
 test/monitor.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/monitor.sh b/test/monitor.sh
index 1bbfd14..29d4ea1 100755
--- a/test/monitor.sh
+++ b/test/monitor.sh
@@ -152,7 +152,7 @@ test_filter_dimmevent()
        inject_value=$($NDCTL list -H -d $monitor_dimms | jq -r 
.[]."health"."temperature_threshold")
        inject_value=$((inject_value + 1))
        start_monitor "-d $monitor_dimms -D dimm-media-temperature"
-       inject_smart "-s $inject_value"
+       inject_smart "-m $inject_value"
        check_result "$monitor_dimms"
        stop_monitor
 }
-- 
2.14.4

_______________________________________________
Linux-nvdimm mailing list
[email protected]
https://lists.01.org/mailman/listinfo/linux-nvdimm

Reply via email to