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

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

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

revision 114 by siliconforks, Sat May 31 21:39:39 2008 UTC revision 126 by siliconforks, Mon Jun 2 17:53:43 2008 UTC
# Line 21  Line 21 
21  function shutdown() {  function shutdown() {
22    wget -q -O- --post-data= "http://127.0.0.1:${proxy_server_port}/jscoverage-shutdown" > /dev/null    wget -q -O- --post-data= "http://127.0.0.1:${proxy_server_port}/jscoverage-shutdown" > /dev/null
23    wait $proxy_server_pid    wait $proxy_server_pid
24    kill $origin_server_pid    kill -9 $origin_server_pid
25  }  }
26    
27  function cleanup() {  function cleanup() {
# Line 50  Line 50 
50    
51  echo 200 > EXPECTED  echo 200 > EXPECTED
52  ! curl -f -w '%{http_code}\n' -x 127.0.0.1:8080 http://127.0.0.1:8000/index.html 2> /dev/null > ACTUAL  ! curl -f -w '%{http_code}\n' -x 127.0.0.1:8080 http://127.0.0.1:8000/index.html 2> /dev/null > ACTUAL
53  diff EXPECTED ACTUAL  diff --strip-trailing-cr EXPECTED ACTUAL
54  diff proxy-bad-response-body.expected.err ERR  diff --strip-trailing-cr proxy-bad-response-body.expected.err ERR

Legend:
Removed from v.114  
changed lines
  Added in v.126

  ViewVC Help
Powered by ViewVC 1.1.24