/[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 505 by siliconforks, Sat Jan 2 04:55:54 2010 UTC revision 570 by siliconforks, Mon May 24 03:13:28 2010 UTC
# Line 32  Line 32 
32    
33  trap 'cleanup' 0 1 2 3 15  trap 'cleanup' 0 1 2 3 15
34    
 if [ -z "$VALGRIND" ]  
 then  
   delay=0.2  
 else  
   delay=2  
 fi  
   
35  rm -fr DIR  rm -fr DIR
36  $VALGRIND jscoverage-server --proxy --report-dir=DIR > OUT 2> ERR &  $VALGRIND jscoverage-server --proxy --report-dir=DIR > OUT 2> ERR &
37  server_pid=$!  server_pid=$!
# Line 46  Line 39 
39  ./http-server-bad-headers &  ./http-server-bad-headers &
40  origin_server_pid=$!  origin_server_pid=$!
41    
42  sleep $delay  wait_for_server http://127.0.0.1:8080/jscoverage.html
43    wait_for_server http://127.0.0.1:8000/ping
44    
45  # server sending malformed headers  # server sending malformed headers
46  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

Legend:
Removed from v.505  
changed lines
  Added in v.570

  ViewVC Help
Powered by ViewVC 1.1.24