]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-no-fds-leaked-to-maintainer-scripts
test: Allow db_dump-5 instead of db_dump
[apt.git] / test / integration / test-no-fds-leaked-to-maintainer-scripts
index 21b394055b442cbf8552a1e897df06ed6eec4b9e..ca93f78b4f7e9e707d70234a87e4dc770d999b53 100755 (executable)
@@ -8,6 +8,11 @@ setupenvironment
 configarchitecture 'amd64' 'i386'
 configdpkgnoopchroot
 
+if [ ! -e /proc/self/fd ]; then
+       msgskip "needs /proc/self/fd"
+    exit 0
+fi
+
 setupsimplenativepackage "fdleaks" 'all' '1.0' 'unstable'
 BUILDDIR="incoming/fdleaks-1.0"
 for script in 'preinst' 'postinst' 'prerm' 'postrm'; do
@@ -79,6 +84,7 @@ status half-configured $PKGNAME 1.0
 status half-installed $PKGNAME 1.0
 status config-files $PKGNAME 1.0
 status config-files $PKGNAME 1.0
+startup packages configure
 startup packages purge
 remove $PKGNAME 1.0 <none>
 purge $PKGNAME 1.0 <none>