summaryrefslogtreecommitdiff
path: root/test/test.d/packages.sh
blob: 488cb1561283a3529443f32727b6fd878c96962e (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 sodepends fails with i686 packages
	find "${pkgdir}" -name "*${PKGEXT}" -exec namcap -e sodepends,pkgnameindesc {} + || fail 'namcap failed'
}

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