PageRenderTime 8ms CodeModel.GetById 2ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/js/lib/Socket.IO-node/support/expresso/deps/jscoverage/tests/common.sh

http://github.com/onedayitwillmake/RealtimeMultiplayerNodeJs
Shell | 7 lines | 6 code | 1 blank | 0 comment | 0 complexity | 2bc84db3c761b446231b0ebb119d25e2 MD5 | raw file
1export PATH=.:..:../js/obj:$PATH
2
3json_cmp() {
4  echo 'EXPECTED = ' | cat - $1 > EXPECTED
5  echo 'ACTUAL = ' | cat - $2 > ACTUAL
6  js -f EXPECTED -f ACTUAL -f json-cmp.js
7}