summaryrefslogtreecommitdiff
path: root/test/integration/test-apt-progress-fd-error-postinst
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2014-03-27 15:19:29 +0100
committerMichael Vogt <mvo@debian.org>2014-03-27 15:19:29 +0100
commit62f1ee1cc7a5e16ca0cbfbee3c00cefab1892f87 (patch)
tree811c93213ce371ea12384994615a6e98366221a0 /test/integration/test-apt-progress-fd-error-postinst
parent8d50b63f28f0d68ca72b6dc6e50e09cfec9842be (diff)
parent21b3eac8f9ab8e12b43fa8998a5aa5465f29adc5 (diff)
Merge remote-tracking branch 'upstream/debian/sid' into debian/sid
Diffstat (limited to 'test/integration/test-apt-progress-fd-error-postinst')
-rwxr-xr-xtest/integration/test-apt-progress-fd-error-postinst22
1 files changed, 0 insertions, 22 deletions
diff --git a/test/integration/test-apt-progress-fd-error-postinst b/test/integration/test-apt-progress-fd-error-postinst
deleted file mode 100755
index 0b6e70212..000000000
--- a/test/integration/test-apt-progress-fd-error-postinst
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/bin/sh
-set -e
-
-TESTDIR=$(readlink -f $(dirname $0))
-. $TESTDIR/framework
-
-setupenvironment
-configarchitecture 'amd64' 'i386'
-
-mkdir -p DEBIAN/
-echo "#!/bin/sh\nexit 1" > DEBIAN/postinst
-chmod 755 DEBIAN/postinst
-
-buildsimplenativepackage 'postinst-error' 'amd64,i386' '0.8.15' 'stable' '' 'pkg with posinst error' '' '' './DEBIAN'
-
-setupaptarchive
-
-exec 3> apt-progress.log
-testfailure aptget install postinst-error -y -o APT::Status-Fd=3
-msgtest "Ensure correct error message for postinst error"
-grep -q "pmerror:postinst-error :80:subprocess installed post-installation script returned error exit status 2" apt-progress.log && msgpass || msgfail
-