Bug fixes for proxy-stc
Change-Id: Ic6d7bb0e58a4837e8bd8e96e3decac199f20c04f
diff --git a/tools/test/bin/proxy-stc b/tools/test/bin/proxy-stc
index ac840e4..63e65cc 100755
--- a/tools/test/bin/proxy-stc
+++ b/tools/test/bin/proxy-stc
@@ -6,10 +6,10 @@
. $ONOS_ROOT/tools/build/envDefaults
-onos-push-test-bits $OCT
-onos-push-bits $OCT
+onos-push-test-bits $OCN
+onos-push-bits $OCN
-ssh -t -t $ONOS_USER@$OCT "
+ssh -t -t $ONOS_USER@$OCN "
# Unpack the test tools
cd /tmp; rm -fr \$(ls -Fd onos-test-*/)
tar xf \$(basename $ONOS_TEST_TAR)
@@ -32,11 +32,12 @@
topo default
export stcDumpLogs=true
export stcColor=$stcColor
+ export TERM=vt100
stc $1
"
status=$?
mkdir -p /tmp/stc
-scp -r ${ONOS_USER}@${OCT}:/tmp/stc/* /tmp/stc/
+scp -r ${ONOS_USER}@${OCN}:/tmp/stc/* /tmp/stc/
exit $status
\ No newline at end of file