summaryrefslogtreecommitdiff
path: root/test/runTest
blob: ae1fbe5d125831f16e985f4a377130ff2cf416a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash

curdir=$(readlink -e $(dirname $0))

testSuite=$(mktemp)
trap "rm -rf '${testSuite}'" EXIT

echo ". ${curdir}/lib/common.sh" > ${testSuite}
cat "${curdir}/test.d"/*.sh >> ${testSuite}
echo ". ${curdir}/lib/shunit2" >> ${testSuite}

bash ${testSuite}