Commit 04fa127b authored by Oleksandr Byelkin's avatar Oleksandr Byelkin

More fixed for perl test

parent 8feb78ef
...@@ -487,9 +487,10 @@ SET GLOBAL connect_timeout=2; ...@@ -487,9 +487,10 @@ SET GLOBAL connect_timeout=2;
--perl --perl
use Socket; use Socket;
use autodie; socket(SOCK, PF_INET, SOCK_STREAM, getprotobyname("tcp"))
socket(SOCK, PF_INET, SOCK_STREAM, getprotobyname("tcp")); or die "Can't create a tcp socket!\n";
connect(SOCK, pack_sockaddr_in($ENV{MASTER_MYPORT}, inet_aton("localhost"))); connect(SOCK, pack_sockaddr_in($ENV{MASTER_MYPORT}, inet_aton("localhost")))
or die "Can't connect to port $ENV{MASTER_MYPORT}!\n";;
sleep 3; sleep 3;
exit(0); exit(0);
EOF EOF
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment