From b731e2f1dd0972409b136aebc7b463dd72c9cfad Mon Sep 17 00:00:00 2001 From: CNlucius Date: Tue, 13 Sep 2016 11:40:12 +0800 Subject: ONOSFW-171 O/S-SFC-ONOS scenario documentation Change-Id: I51ae1cf736ea24ab6680f8edca1b2bf5dd598365 Signed-off-by: CNlucius --- framework/src/onos/tools/test/bin/onos-check-components | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100755 framework/src/onos/tools/test/bin/onos-check-components (limited to 'framework/src/onos/tools/test/bin/onos-check-components') diff --git a/framework/src/onos/tools/test/bin/onos-check-components b/framework/src/onos/tools/test/bin/onos-check-components deleted file mode 100755 index f4c2df2c..00000000 --- a/framework/src/onos/tools/test/bin/onos-check-components +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash -# ----------------------------------------------------------------------------- -# Checks whether all ONOS components are either ACTIVE or DISABLED. -# ----------------------------------------------------------------------------- - -aux=/tmp/stc-$$.log -trap "rm -f $aux 2>/dev/null" EXIT - -onos ${1:-$OCI} scr:list > $aux -cat $aux -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 -- cgit 1.2.3-korg