Use new scr-list CLI command for component queries

Change-Id: I1fb54b32405fbf9bedec6f89d5667ed5ccdec4ac
diff --git a/tools/test/bin/onos-check-component b/tools/test/bin/onos-check-component
index 0eadf3c..e62786e 100755
--- a/tools/test/bin/onos-check-component
+++ b/tools/test/bin/onos-check-component
@@ -11,7 +11,7 @@
 state=$3
 
 for attempt in {1..30}; do
-    onos ${node:-$OCI} scr:list  | grep $component > $aux
+    onos ${node:-$OCI} onos:scr-list  | grep $component > $aux
 
     if grep $state $aux; then
         exit 0
diff --git a/tools/test/bin/onos-check-components b/tools/test/bin/onos-check-components
index 9275b50..d8cc44c 100755
--- a/tools/test/bin/onos-check-components
+++ b/tools/test/bin/onos-check-components
@@ -7,7 +7,7 @@
 trap "rm -f $aux 2>/dev/null" EXIT
 
 for attempt in {1..30}; do
-    onos ${1:-$OCI} scr:list > $aux
+    onos ${1:-$OCI} onos:scr-list > $aux
 
     if grep -q UNSATISFIED $aux; then
         sleep 1