/[jscoverage]/trunk/tests/store-unreadable-json.sh
ViewVC logotype

Diff of /trunk/tests/store-unreadable-json.sh

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

revision 114 by siliconforks, Sat May 31 21:39:39 2008 UTC revision 181 by siliconforks, Sun Sep 21 18:42:02 2008 UTC
# Line 18  Line 18 
18    
19  set -e  set -e
20    
21  function shutdown() {  # skip on windows
22    uname=`uname`
23    case "$uname" in
24      CYGWIN* | MINGW*)
25        exit 77
26        ;;
27    esac
28    
29    shutdown() {
30    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
31    wait $server_pid    wait $server_pid
32  }  }
33    
34  function cleanup() {  cleanup() {
35    shutdown    shutdown
36  }  }
37    
# Line 39  Line 47 
47  fi  fi
48    
49  rm -fr DIR  rm -fr DIR
50  $VALGRIND jscoverage-server --document-root=recursive --report-dir=DIR > OUT 2> ERR &  $VALGRIND jscoverage-server --no-highlight --document-root=recursive --report-dir=DIR > OUT 2> ERR &
51  server_pid=$!  server_pid=$!
52  server_port=8080  server_port=8080
53    

Legend:
Removed from v.114  
changed lines
  Added in v.181

  ViewVC Help
Powered by ViewVC 1.1.24