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

Diff of /trunk/tests/store-bad-response-headers.sh

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

revision 130 by siliconforks, Tue Jun 3 02:41:23 2008 UTC revision 337 by siliconforks, Thu Oct 23 20:10:48 2008 UTC
# Line 18  Line 18 
18    
19  set -e  set -e
20    
21    . common.sh
22    
23  shutdown() {  shutdown() {
24    wget -q -O- --post-data= "http://127.0.0.1:${server_port}/jscoverage-shutdown" > /dev/null    wget -q -O- --post-data= "http://127.0.0.1:${server_port}/jscoverage-shutdown" > /dev/null
25    wait $server_pid    wait $server_pid
# Line 51  Line 53 
53  # server sending malformed headers  # server sending malformed headers
54  cat store.json | sed "s/@PREFIX@/http:\\/\\/127.0.0.1:8000\\//g" > TMP  cat store.json | sed "s/@PREFIX@/http:\\/\\/127.0.0.1:8000\\//g" > TMP
55  wget --post-file=TMP -q -O- -e 'http_proxy=http://127.0.0.1:8080/' http://127.0.0.1:8000/jscoverage-store > /dev/null  wget --post-file=TMP -q -O- -e 'http_proxy=http://127.0.0.1:8080/' http://127.0.0.1:8000/jscoverage-store > /dev/null
56  js json-cmp.js store-source-urls.expected.json DIR/jscoverage.json  json_cmp store-source-urls.expected.json DIR/jscoverage.json
57  sort ERR -o ERR  sort ERR -o ERR
58  diff --strip-trailing-cr store-source-urls.expected.err ERR  diff --strip-trailing-cr store-source-urls.expected.err ERR

Legend:
Removed from v.130  
changed lines
  Added in v.337

  ViewVC Help
Powered by ViewVC 1.1.24