summaryrefslogtreecommitdiff
path: root/test/integration/test-prevent-markinstall-multiarch-same-versionscrew
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2022-08-31 21:49:33 +0200
committerDavid Kalnischkies <david@kalnischkies.de>2022-09-02 16:55:45 +0200
commit3498fbedafbf30e5c91deeaefa6a60d1e387593a (patch)
tree45428464f191427a27b3d97a4ec601571aee70bd /test/integration/test-prevent-markinstall-multiarch-same-versionscrew
parent49f9cfba5567cd034bf729a63b3f6e9badd9bc35 (diff)
Avoid dealing with a fake dpkg stanza in the tests
We needed a fake dpkg in our status file for dpkg --assert-multi-arch to work in the past, but recent dpkg versions do not require this anymore, so we can remove this somewhat surprising hackery in favour of better hidden hackery we only use if we work with an older dpkg (e.g. on current Debian stable).
Diffstat (limited to 'test/integration/test-prevent-markinstall-multiarch-same-versionscrew')
-rwxr-xr-xtest/integration/test-prevent-markinstall-multiarch-same-versionscrew2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/integration/test-prevent-markinstall-multiarch-same-versionscrew b/test/integration/test-prevent-markinstall-multiarch-same-versionscrew
index 63fdb88d9..796623840 100755
--- a/test/integration/test-prevent-markinstall-multiarch-same-versionscrew
+++ b/test/integration/test-prevent-markinstall-multiarch-same-versionscrew
@@ -97,7 +97,7 @@ Conf out-of-sync-gone-foreign (2 unstable [amd64])
Conf out-of-sync-gone-native:i386 (2 unstable [i386])' aptget dist-upgrade -s #-o Debug::pkgDepCache::Marker=1
testempty dpkg -C
-rm rootdir/var/lib/dpkg/status
+rm -f rootdir/var/lib/dpkg/status
insertinstalledpackage 'libsame2' 'i386' '1' 'Multi-Arch: same'
insertinstalledpackage 'libsame3' 'i386' '1' 'Multi-Arch: same'