Mercurial > hg > audiodb
annotate tests/0047/run-test.sh @ 606:32ab92399b5d
Fixed up error codes and return types
* Now returns a 400 code when any problems occur with a query.
* Formats now use sparql results xml and text/json
* Defaults to sparql xml
* General tidying.
author | mas01mj |
---|---|
date | Fri, 21 Aug 2009 15:23:30 +0000 |
parents | d1456b3f490a |
children |
rev | line source |
---|---|
mas01cr@570 | 1 #! /bin/bash |
mas01cr@570 | 2 |
mas01cr@570 | 3 . ../test-utils.sh |
mas01cr@570 | 4 |
mas01cr@570 | 5 if [ -f testdb ]; then rm -f testdb; fi |
mas01cr@570 | 6 |
mas01cr@570 | 7 ${AUDIODB} > test-output |
mas01cr@570 | 8 grep help test-output > /dev/null |
mas01cr@570 | 9 |
mas01cr@570 | 10 exit 104 |