view tests/test-supportprogs.sh @ 20:7d87bf308509

* set up default RDF index location
author Chris Cannam
date Mon, 29 Jun 2009 13:47:12 +0000
parents 581b1b150a4d
children
line wrap: on
line source
#!/bin/bash

fail() {
    echo "Test failed: $1"
    exit 1
}

xmllint --version 2>/dev/null || \
    fail "Can't find required xmllint program"

rapper --version >/dev/null || \
    fail "Can't find required rapper program"

exit 0