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 |