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

Diff of /trunk/tests/proxy-bad-response-headers.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 427 by siliconforks, Wed Feb 18 16:08:33 2009 UTC
# Line 1  Line 1 
1  #!/bin/sh  #!/bin/sh
2  #    proxy-bad-response-headers.sh - test jscoverage-server --proxy with bad response headers  #    proxy-bad-response-headers.sh - test jscoverage-server --proxy with bad response headers
3  #    Copyright (C) 2008 siliconforks.com  #    Copyright (C) 2008, 2009 siliconforks.com
4  #  #
5  #    This program is free software; you can redistribute it and/or modify  #    This program is free software; you can redistribute it and/or modify
6  #    it under the terms of the GNU General Public License as published by  #    it under the terms of the GNU General Public License as published by
# Line 18  Line 18 
18    
19  set -e  set -e
20    
21  function shutdown() {  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() {  cleanup() {
28    shutdown    shutdown
29  }  }
30    

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

  ViewVC Help
Powered by ViewVC 1.1.24