still working on telnet tester
This commit is contained in:
@@ -19,8 +19,8 @@ _WHITE='\033[37m'
|
||||
_END='\033[0m'
|
||||
|
||||
|
||||
test_file=$1
|
||||
source $test_file
|
||||
#test_file=$1
|
||||
#source $test_file
|
||||
|
||||
connect_to_telnet="open $host $port"
|
||||
|
||||
@@ -106,27 +106,26 @@ run_all()
|
||||
# This is where stuff is launched
|
||||
#######
|
||||
|
||||
rm -rf test.log
|
||||
rm -rf telnet.out
|
||||
#rm -rf telnet.out
|
||||
|
||||
#./webserv $config_file 2>&1 > webserv.log & run_all
|
||||
#./webserv $config_file 2>&1 > webserv.log &
|
||||
#./webserv $config_file &> /dev/null &
|
||||
./webserv $config_file &> webserv.log &
|
||||
#./webserv $config_file 1>&1 > webserv.log &
|
||||
|
||||
#./webserv $config_file &> webserv.log &
|
||||
|
||||
#run_all
|
||||
#run_this_test
|
||||
|
||||
echo -e "${_GREEN}Running Telnet Test on '$test_name'${_END}"
|
||||
#echo -e "${_GREEN}Running Telnet Test on '$test_name'${_END}"
|
||||
|
||||
sleep 1
|
||||
#sleep 1
|
||||
|
||||
run | telnet >> telnet.out
|
||||
#run | telnet >> telnet.out
|
||||
#run | telnet
|
||||
|
||||
pkill webserv
|
||||
#pkill webserv
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user