commit | 4bfccd54b4fd308c854e8eeb7d6c6c1706998926 | [log] [tgz] |
---|---|---|
author | Thomas Vachuska <tom@onlab.us> | Sat May 30 00:35:25 2015 -0700 |
committer | Thomas Vachuska <tom@onlab.us> | Sat May 30 00:35:25 2015 -0700 |
tree | bd7ffe995b6329584c18f5faf12fa2a5cafaff34 | |
parent | 2fdaf40ee29ed3d4b7e8d394357526bcbd4b3729 [diff] [blame] |
Enhancing STC and scenarios. Change-Id: I57a4d25b7fb726a1242073055474ff5c7c3c1087
diff --git a/tools/test/bin/onos-check-components b/tools/test/bin/onos-check-components index 38fb9a3..f4c2df2 100755 --- a/tools/test/bin/onos-check-components +++ b/tools/test/bin/onos-check-components
@@ -8,4 +8,10 @@ onos ${1:-$OCI} scr:list > $aux cat $aux -grep -q UNSATISFIED $aux && exit 1 || exit 0 +grep -q UNSATISFIED $aux && exit 1 + +if [ -n "$2" ]; then + echo "Searching for ACTIVE $2" + egrep "ACTIVE.*$2" $aux || exit 1 +fi +exit 0 \ No newline at end of file