18 |
|
|
19 |
set -e |
set -e |
20 |
|
|
21 |
function shutdown() { |
. common.sh |
22 |
|
|
23 |
|
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 |
26 |
} |
} |
27 |
|
|
28 |
function cleanup() { |
cleanup() { |
29 |
shutdown |
shutdown |
30 |
} |
} |
31 |
|
|
48 |
sleep $delay |
sleep $delay |
49 |
|
|
50 |
wget --post-file=store-source-not-found.json -q -O- http://127.0.0.1:8080/jscoverage-store > /dev/null |
wget --post-file=store-source-not-found.json -q -O- http://127.0.0.1:8080/jscoverage-store > /dev/null |
51 |
js json-cmp.js store-source-not-found.expected.json DIR/jscoverage.json |
json_cmp store-source-not-found.expected.json DIR/jscoverage.json |
52 |
diff --strip-trailing-cr store-source-not-found.expected.err ERR |
diff --strip-trailing-cr store-source-not-found.expected.err ERR |