full-test: set PORT_OCSERV

This commit is contained in:
Nikos Mavrogiannopoulos
2015-03-16 14:07:05 +01:00
parent 53aa95bc1e
commit b9c9904903
+2
View File
@@ -26,6 +26,7 @@ if [ $? != 0 ];then
exit 77 exit 77
fi fi
PORT_OCSERV=5551
CONFIG="tcp" CONFIG="tcp"
IMAGE=ocserv-test1 IMAGE=ocserv-test1
IMAGE_NAME=test_ocserv IMAGE_NAME=test_ocserv
@@ -112,6 +113,7 @@ printf "#\!/bin/sh\n" >echo-admin$TMP
printf "echo root" >>echo-admin$TMP printf "echo root" >>echo-admin$TMP
printf "\n" >>echo-admin$TMP printf "\n" >>echo-admin$TMP
chmod 755 echo-admin$TMP chmod 755 echo-admin$TMP
setsid ssh -T -F config$TMP root@192.168.1.1 occtl show users
setsid ssh -T -F config$TMP root@192.168.1.1 occtl show user test >out$TMP 2>&1 setsid ssh -T -F config$TMP root@192.168.1.1 occtl show user test >out$TMP 2>&1
cat out$TMP cat out$TMP
rm -f echo-admin$TMP rm -f echo-admin$TMP