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

Diff of /trunk/tests/server.sh

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

revision 257 by siliconforks, Sun Oct 5 18:07:02 2008 UTC revision 258 by siliconforks, Sun Oct 5 18:11:30 2008 UTC
# Line 139  Line 139 
139  cat ../report.js recursive.expected/script.js | sed 's/@PREFIX@/\//g' | diff - OUT  cat ../report.js recursive.expected/script.js | sed 's/@PREFIX@/\//g' | diff - OUT
140  wget -q -O- http://127.0.0.1:8082/1/1.js | diff recursive/1/1.js -  wget -q -O- http://127.0.0.1:8082/1/1.js | diff recursive/1/1.js -
141  wget -q -O- http://127.0.0.1:8082/1/2/2.js | diff recursive/1/2/2.js -  wget -q -O- http://127.0.0.1:8082/1/2/2.js | diff recursive/1/2/2.js -
142    
143    # kill $server_pid
144    shutdown
145    
146    $VALGRIND jscoverage-server --port 8080 --encoding iso-8859-1 --document-root javascript &
147    server_pid=$!
148    server_port=8080
149    
150    sleep $delay
151    
152    wget -q -O- http://127.0.0.1:8080/javascript-iso-8859-1.js > OUT
153    cat ../report.js javascript.expected/javascript-iso-8859-1.js | sed 's/javascript-iso-8859-1.js/\/javascript-iso-8859-1.js/g' | diff - OUT
154    
155    # kill $server_pid
156    shutdown
157    
158    $VALGRIND jscoverage-server --no-highlight --port=8080 --encoding=utf-8 --document-root=javascript-utf-8 &
159    server_pid=$!
160    server_port=8080
161    
162    sleep $delay
163    
164    wget -q -O- http://127.0.0.1:8080/javascript-utf-8.js > OUT
165    cat ../report.js javascript-utf-8.expected/javascript-utf-8.js | sed 's/javascript-utf-8.js/\/javascript-utf-8.js/g' | diff - OUT

Legend:
Removed from v.257  
changed lines
  Added in v.258

  ViewVC Help
Powered by ViewVC 1.1.24