summaryrefslogtreecommitdiff
path: root/extra/coadde/test/test.d/packages.sh
diff options
context:
space:
mode:
Diffstat (limited to 'extra/coadde/test/test.d/packages.sh')
-rwxr-xr-xextra/coadde/test/test.d/packages.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/extra/coadde/test/test.d/packages.sh b/extra/coadde/test/test.d/packages.sh
new file mode 100755
index 0000000..488cb15
--- /dev/null
+++ b/extra/coadde/test/test.d/packages.sh
@@ -0,0 +1,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"