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

Diff of /trunk/tests/store.sh

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

revision 181 by siliconforks, Sun Sep 21 18:42:02 2008 UTC revision 259 by siliconforks, Sun Oct 5 18:11:56 2008 UTC
# Line 66  Line 66 
66  ! curl -f -w '%{http_code}\n' http://127.0.0.1:8080/jscoverage-store 2> /dev/null > ACTUAL  ! curl -f -w '%{http_code}\n' http://127.0.0.1:8080/jscoverage-store 2> /dev/null > ACTUAL
67  diff EXPECTED ACTUAL  diff EXPECTED ACTUAL
68    
69    # try with a path
70    cat store.json | sed "s/@PREFIX@/\\//g" > TMP
71    wget --post-file=TMP -q -O- http://127.0.0.1:8080/jscoverage-store/DIR > /dev/null
72    cat store.expected.json | sed "s/@PREFIX@/\\//g" > TMP
73    js json-cmp.js TMP DIR/DIR/jscoverage.json
74    
75  shutdown  shutdown
76    
77  cd recursive  cd recursive

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

  ViewVC Help
Powered by ViewVC 1.1.24