Thomas Vachuska

Improving scenarios and shell tools.

Change-Id: Ia4b189bd255e1074da54c84f528d3b9b014618b9
......@@ -23,6 +23,19 @@ function _stc-opts () {
complete -F _stc-opts stc
# Tab completion settings for stl
function _stl-opts () {
local cur=${COMP_WORDS[COMP_CWORD]}
if [ $COMP_CWORD -eq 1 ]; then
COMPREPLY=( $( compgen -W "$(cd /tmp/stc && ls -1)" -- $cur ) )
elif [ $COMP_CWORD -eq 2 ]; then
COMPREPLY=( $( compgen -W "$(cd /tmp/stc/$3 && ls -1)" -- $cur ) )
fi
}
complete -F _stl-opts stl
# Tab completion settings for cell
function _cell-opts () {
local cur=${COMP_WORDS[COMP_CWORD]}
......
#!/bin/bash
#-------------------------------------------------------------------------------
# System Test Coordinator
#-------------------------------------------------------------------------------
log=${2:-*}
less /tmp/stc/$1/${log%.log}.log
\ No newline at end of file
......@@ -13,7 +13,7 @@
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<scenario name="archetypes-test" description="ONOS archetypes test">
<scenario name="archetypes" description="ONOS archetypes test">
<group name="Archetypes" cwd="${WORKSPACE}/tmp/test-app">
<step name="Clean-Up" cwd="${WORKSPACE}/tmp" env="~"
exec="rm -r test-app"/>
......
......@@ -13,7 +13,7 @@
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<scenario name="smoke-test" description="ONOS smoke test">
<scenario name="smoke" description="ONOS smoke test">
<import file="${ONOS_SCENARIOS}/prerequisites.xml"/>
<import file="${ONOS_SCENARIOS}/setup.xml"/>
......