summaryrefslogtreecommitdiff
path: root/test/test.d/packages.sh
blob: 50284485af5476c3c6d2c0fd0cdb4b152b6893cd (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 "*${package_extension_suffixfile}" -exec namcap -e sodepends,pkgnameindesc {} + || fail 'namcap failed'
}

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