diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2011-07-24 21:32:48 +0200 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2011-07-24 21:32:48 +0200 |
commit | 7d3481f9458241523116266d9c4c6592082aa346 (patch) | |
tree | 997219623e00dd6e18bf664e166c996357a77f37 | |
parent | acc602ead426a2bd66c1ecc9b41261fb57392594 (diff) | |
download | dbscripts-7d3481f9458241523116266d9c4c6592082aa346.tar.gz dbscripts-7d3481f9458241523116266d9c4c6592082aa346.tar.xz |
Fix test for use with recent namcap releases
-rwxr-xr-x | test/test.d/packages.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test.d/packages.sh b/test/test.d/packages.sh index 324f73a..488cb15 100755 --- a/test/test.d/packages.sh +++ b/test/test.d/packages.sh @@ -4,8 +4,8 @@ curdir=$(readlink -e $(dirname $0)) . "${curdir}/../lib/common.inc" testPackages() { - # TODO: namcap -r depends fails with i686 packages - find "${pkgdir}" -name "*${PKGEXT}" -exec namcap -e depends {} + || fail 'namcap failed' + # TODO: namcap -r sodepends fails with i686 packages + find "${pkgdir}" -name "*${PKGEXT}" -exec namcap -e sodepends,pkgnameindesc {} + || fail 'namcap failed' } . "${curdir}/../lib/shunit2" |