/[jscoverage]/trunk/tests/store-escaped-characters.sh
ViewVC logotype

Diff of /trunk/tests/store-escaped-characters.sh

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

revision 336 by siliconforks, Tue Oct 14 01:49:17 2008 UTC revision 337 by siliconforks, Thu Oct 23 20:10:48 2008 UTC
# Line 18  Line 18 
18    
19  set -e  set -e
20    
21    . common.sh
22    
23  shutdown() {  shutdown() {
24    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
25    wait $server_pid    wait $server_pid
# Line 46  Line 48 
48  sleep $delay  sleep $delay
49    
50  wget --post-file=store-escaped-characters.json -q -O- http://127.0.0.1:8080/jscoverage-store > /dev/null  wget --post-file=store-escaped-characters.json -q -O- http://127.0.0.1:8080/jscoverage-store > /dev/null
51  js json-cmp.js store-escaped-characters.expected.json DIR/jscoverage.json  json_cmp store-escaped-characters.expected.json DIR/jscoverage.json
52  wget --post-file=store-escaped-characters.json -q -O- http://127.0.0.1:8080/jscoverage-store > /dev/null  wget --post-file=store-escaped-characters.json -q -O- http://127.0.0.1:8080/jscoverage-store > /dev/null
53  cat store-escaped-characters.expected.json | sed s/1,/2,/g > TMP  cat store-escaped-characters.expected.json | sed s/1,/2,/g > TMP
54  js json-cmp.js TMP DIR/jscoverage.json  json_cmp TMP DIR/jscoverage.json

Legend:
Removed from v.336  
changed lines
  Added in v.337

  ViewVC Help
Powered by ViewVC 1.1.24