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

Diff of /trunk/tests/server-special-file.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 39  Line 39 
39    
40  trap 'cleanup' 0 1 2 3 15  trap 'cleanup' 0 1 2 3 15
41    
42  export PATH=.:..:$PATH  . ./common.sh
   
 if [ -z "$VALGRIND" ]  
 then  
   delay=0.2  
 else  
   delay=2  
 fi  
43    
44  rm -fr DIR  rm -fr DIR
45  mkdir DIR  mkdir DIR
# Line 55  Line 48 
48  server_pid=$!  server_pid=$!
49  server_port=8080  server_port=8080
50    
51  sleep $delay  wait_for_server http://127.0.0.1:8080/jscoverage.html
52    
53  echo 404 > EXPECTED  echo 404 > EXPECTED
54  ! curl -f -w '%{http_code}\n' http://127.0.0.1:8080/DIR/foo 2> /dev/null > ACTUAL  ! curl -f -w '%{http_code}\n' http://127.0.0.1:8080/DIR/foo 2> /dev/null > ACTUAL

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

  ViewVC Help
Powered by ViewVC 1.1.24