/[jscoverage]/trunk/tests/store-server-bad-body.sh
ViewVC logotype

Diff of /trunk/tests/store-server-bad-body.sh

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

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

  ViewVC Help
Powered by ViewVC 1.1.24