blob: e6199d855abd5b908b7d51d3c2d5c8951ce79d8c [file] [log] [blame]
Thomas Vachuska81412642018-08-06 17:07:36 -07001#!/bin/bash
2# -----------------------------------------------------------------------------
3# Tool to perform a cell-based remote stc test using a borrowed test cell.
4# -----------------------------------------------------------------------------
5
6# Check environment
7[ -z "$OCN" ] && echo "Cell environment not established" && exit 1
8
9ssh -t -t $ONOS_USER@$OCN "
10 source ~/.bash_aliases
11 cd \$ONOS_ROOT
Thomas Vachuska07a367b2018-08-13 16:10:44 -070012 export ONOS_APPS=$ONOS_APPS
Thomas Vachuska1e39bd22018-12-14 14:47:53 -080013 export stcOpenJDK=$stcOpenJDK
Thomas Vachuska81412642018-08-06 17:07:36 -070014 stc $@
15"