commit | b2765cc0a9165e723c6892bb75a732b02b72bc6e | [log] [tgz] |
---|---|---|
author | Ray Milkey <ray@onlab.us> | Tue Aug 25 14:00:03 2015 -0700 |
committer | Gerrit Code Review <gerrit@onlab.us> | Wed Aug 26 20:54:31 2015 +0000 |
tree | 83eabe1f59cfa9f4a8b3e96ebcb97a9747d51747 | |
parent | 4998caa06200a22d2e4e223fae793983f98f5748 [diff] [blame] |
Improve debugability by capturing intents command output Change-Id: I5c7b39b101e709bb4ef57159cd31b6caeaa26fcd
diff --git a/tools/test/bin/onos-check-intent b/tools/test/bin/onos-check-intent index 900373b..03c3215 100755 --- a/tools/test/bin/onos-check-intent +++ b/tools/test/bin/onos-check-intent
@@ -12,7 +12,8 @@ set -x for i in 1 2 3; do - onos $target "onos:intents" | grep "state=$2" >> $aux && cat $aux && exit 0 + onos $target "onos:intents" >> $aux + grep "state=$2" $aux && cat $aux && exit 0 sleep 1 done