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

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

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

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