onos/tools/dev/bin/cell-stc
Thomas Vachuska 1e39bd2f44 Allowing cell-stc to inherit stcOpenJDK env. variable.
Change-Id: Iff82642eee04654487245926ba4f3329ed3498cb
2018-12-14 14:47:53 -08:00

16 lines
489 B
Bash
Executable File

#!/bin/bash
# -----------------------------------------------------------------------------
# Tool to perform a cell-based remote stc test using a borrowed test cell.
# -----------------------------------------------------------------------------
# Check environment
[ -z "$OCN" ] && echo "Cell environment not established" && exit 1
ssh -t -t $ONOS_USER@$OCN "
source ~/.bash_aliases
cd \$ONOS_ROOT
export ONOS_APPS=$ONOS_APPS
export stcOpenJDK=$stcOpenJDK
stc $@
"