4 ## really blunt way to see if conkeror is running
5 pidof xulrunner-bin
>/dev
/null
8 testConkerorNotRunningAtStart
() {
9 assertFalse conkeror-running
12 testConkerorBatch
() {
13 got
=$
(conkeror
-q -batch -e 'dumpln("hello");' 2>&1)
14 assertEquals hello
"$got"
17 testConkerorNotRunningAtEnd
() {
18 assertFalse conkeror-running
22 if conkeror-running
; then
23 echo "Conkeror appears to be running. Cannot continue testing." >&2
27 if [[ -z $
(which shunit2
) ]]; then
28 echo "shunit2 not found in path. cannot run tests." >&2