summaryrefslogtreecommitdiff
path: root/test/test.d/packages.sh
blob: 1a31a41fad2be824f0164ff3858a247dec21e56f (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"