summaryrefslogtreecommitdiff
path: root/test/test.d/packages.sh
blob: 324f73a759ddd87d6cca5f8d970cebe8a1c69a26 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash

curdir=$(readlink -e $(dirname $0))
. "${curdir}/../lib/common.inc"

testPackages() {
	# TODO: namcap -r depends fails with i686 packages
	find "${pkgdir}" -name "*${PKGEXT}" -exec namcap -e depends {} + || fail 'namcap failed'
}

. "${curdir}/../lib/shunit2"