--- trunk/tests/store-unreadable-json.sh 2008/09/21 18:42:02 181 +++ trunk/tests/store-unreadable-json.sh 2008/10/26 21:15:24 366 @@ -18,6 +18,8 @@ set -e +. common.sh + # skip on windows uname=`uname` case "$uname" in @@ -37,8 +39,6 @@ trap 'cleanup' 0 1 2 3 15 -export PATH=.:..:../js:$PATH - if [ -z "$VALGRIND" ] then delay=0.2 @@ -56,7 +56,7 @@ cat store.json | sed "s/@PREFIX@/\\//g" > TMP wget --post-file=TMP -q -O- http://127.0.0.1:8080/jscoverage-store > /dev/null cat store.expected.json | sed "s/@PREFIX@/\\//g" > TMP -js json-cmp.js TMP DIR/jscoverage.json +json_cmp TMP DIR/jscoverage.json chmod -r DIR/jscoverage.json