/[jscoverage]/trunk/tests/server-shutdown.sh
ViewVC logotype

Diff of /trunk/tests/server-shutdown.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 24  Line 24 
24    
25  trap 'cleanup' 0 1 2 3 15  trap 'cleanup' 0 1 2 3 15
26    
27  export PATH=.:..:$PATH  . ./common.sh
   
 if [ -z "$VALGRIND" ]  
 then  
   delay=0.2  
 else  
   delay=2  
 fi  
28    
29  perl server.pl > OUT 2> ERR &  perl server.pl > OUT 2> ERR &
30  origin_server_pid=$!  origin_server_pid=$!
31    
32  sleep $delay  wait_for_server http://127.0.0.1:8000/server-shutdown.sh
33    
34  $VALGRIND jscoverage-server --port 8000 --shutdown  $VALGRIND jscoverage-server --port 8000 --shutdown
35  cat ERR | cut -d'"' -f2 | diff --strip-trailing-cr server-shutdown.expected.err -  cat ERR | cut -d'"' -f2 | diff --strip-trailing-cr server-shutdown.expected.err -

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

  ViewVC Help
Powered by ViewVC 1.1.24