/[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 276 by siliconforks, Sat Oct 11 22:38:19 2008 UTC revision 295 by siliconforks, Sun Oct 12 22:45:57 2008 UTC
# Line 64  Line 64 
64    
65  # test javascript  # test javascript
66  wget -q -O- http://127.0.0.1:8080/script.js > OUT  wget -q -O- http://127.0.0.1:8080/script.js > OUT
67  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 --strip-trailing-cr - OUT
68  wget -q -O- http://127.0.0.1:8080/1/1.js > OUT  wget -q -O- http://127.0.0.1:8080/1/1.js > OUT
69  cat ../report.js recursive.expected/1/1.js | sed 's/@PREFIX@/\//g' | diff - OUT  cat ../report.js recursive.expected/1/1.js | sed 's/@PREFIX@/\//g' | diff --strip-trailing-cr - OUT
70  wget -q -O- http://127.0.0.1:8080/1/2/2.js > OUT  wget -q -O- http://127.0.0.1:8080/1/2/2.js > OUT
71  cat ../report.js recursive.expected/1/2/2.js | sed 's/@PREFIX@/\//g' | diff - OUT  cat ../report.js recursive.expected/1/2/2.js | sed 's/@PREFIX@/\//g' | diff --strip-trailing-cr - OUT
72    
73  # test jscoverage  # test jscoverage
74  wget -q -O- http://127.0.0.1:8080/jscoverage.html | diff ../jscoverage.html -  wget -q -O- http://127.0.0.1:8080/jscoverage.html | diff ../jscoverage.html -
# Line 122  Line 122 
122  sleep $delay  sleep $delay
123    
124  wget -q -O- http://127.0.0.1:8081/script.js > OUT  wget -q -O- http://127.0.0.1:8081/script.js > OUT
125  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 --strip-trailing-cr - OUT
126  wget -q -O- http://127.0.0.1:8081/1/1.js | diff recursive/1/1.js -  wget -q -O- http://127.0.0.1:8081/1/1.js | diff --strip-trailing-cr recursive/1/1.js -
127  wget -q -O- http://127.0.0.1:8081/1/2/2.js | diff recursive/1/2/2.js -  wget -q -O- http://127.0.0.1:8081/1/2/2.js | diff --strip-trailing-cr recursive/1/2/2.js -
128    
129  # kill $server_pid  # kill $server_pid
130  shutdown  shutdown
# Line 136  Line 136 
136  sleep $delay  sleep $delay
137    
138  wget -q -O- http://127.0.0.1:8082/script.js > OUT  wget -q -O- http://127.0.0.1:8082/script.js > OUT
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 --strip-trailing-cr - 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 --strip-trailing-cr 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 --strip-trailing-cr recursive/1/2/2.js -
142    
143  # kill $server_pid  # kill $server_pid
144  shutdown  shutdown
# Line 150  Line 150 
150  sleep $delay  sleep $delay
151    
152  wget -q -O- http://127.0.0.1:8080/javascript-iso-8859-1.js > OUT  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  cat ../report.js javascript.expected/javascript-iso-8859-1.js | sed 's/javascript-iso-8859-1.js/\/javascript-iso-8859-1.js/g' | diff --strip-trailing-cr - OUT
154    
155  # kill $server_pid  # kill $server_pid
156  shutdown  shutdown
# Line 162  Line 162 
162  sleep $delay  sleep $delay
163    
164  wget -q -O- http://127.0.0.1:8080/javascript-utf-8.js > OUT  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  cat ../report.js javascript-utf-8.expected/javascript-utf-8.js | sed 's/javascript-utf-8.js/\/javascript-utf-8.js/g' | diff --strip-trailing-cr - OUT
166    
167  # kill $server_pid  # kill $server_pid
168  shutdown  shutdown

Legend:
Removed from v.276  
changed lines
  Added in v.295

  ViewVC Help
Powered by ViewVC 1.1.24