Stop/cp_stop_check: get_plug_default("test_mode")
Change-Id: Ic4779b143da57816f16cc86b9cd5800e6aa667d2
Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>
diff --git a/bin/plug_ins/Stop/cp_stop_check b/bin/plug_ins/Stop/cp_stop_check
index 2bc8da8..40b8433 100755
--- a/bin/plug_ins/Stop/cp_stop_check
+++ b/bin/plug_ins/Stop/cp_stop_check
@@ -51,7 +51,7 @@
# The stock_list will be passed to gen_get_options. We populate it with the names of stock parm options we
# want. These stock parms are pre-defined by gen_get_options.
-stock_list = [("test_mode", 0),
+stock_list = [("test_mode", get_plug_default("test_mode", 0)),
("quiet", get_plug_default("quiet", 0)),
("debug", get_plug_default("debug", 0))]