/[jscoverage]/trunk/tests/proxy-bad-request-body.sh
ViewVC logotype

Diff of /trunk/tests/proxy-bad-request-body.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 609 by siliconforks, Mon May 24 03:13:28 2010 UTC revision 610 by siliconforks, Fri Sep 24 20:35:36 2010 UTC
# Line 24  Line 24 
24  }  }
25    
26  shutdown_perl() {  shutdown_perl() {
27    wget -q -O- --post-data= http://127.0.0.1:8000/perl-shutdown > /dev/null    wget -q -O- --post-data= http://127.0.0.1:${origin_server_port}/perl-shutdown > /dev/null
28    wait $origin_server_pid    wait $origin_server_pid
29  }  }
30    
# Line 38  Line 38 
38  . ./common.sh  . ./common.sh
39    
40  cd recursive  cd recursive
41  perl ../server.pl > /dev/null 2> /dev/null &  origin_server_port=`perl ../unused-port.pl`
42    perl ../server.pl $origin_server_port > /dev/null 2> /dev/null &
43  origin_server_pid=$!  origin_server_pid=$!
44  cd ..  cd ..
45    
46  $VALGRIND jscoverage-server --proxy > OUT 2> ERR &  proxy_server_port=`perl unused-port.pl`
47    $VALGRIND jscoverage-server --port=$proxy_server_port --proxy > OUT 2> ERR &
48  proxy_server_pid=$!  proxy_server_pid=$!
 proxy_server_port=8080  
49    
50  wait_for_server http://127.0.0.1:8000/index.html  wait_for_server http://127.0.0.1:${origin_server_port}/index.html
51  wait_for_server http://127.0.0.1:8080/jscoverage.html  wait_for_server http://127.0.0.1:${proxy_server_port}/jscoverage.html
52    
53  ./http-client-bad-body 8080 http://127.0.0.1:8000/  ./http-client-bad-body $proxy_server_port http://127.0.0.1:${origin_server_port}/

Legend:
Removed from v.609  
changed lines
  Added in v.610

  ViewVC Help
Powered by ViewVC 1.1.24