]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-apt-never-markauto-sections
pass --force-remove-essential to dpkg only if needed
[apt.git] / test / integration / test-apt-never-markauto-sections
index a469b4c15af03240890521ed062f37892ce7328e..aa145d21743a8eeb28f0444f41681dd64e3dd320 100755 (executable)
@@ -1,8 +1,8 @@
 #!/bin/sh
 set -e
 
-TESTDIR=$(readlink -f $(dirname $0))
-. $TESTDIR/framework
+TESTDIR="$(readlink -f "$(dirname "$0")")"
+. "$TESTDIR/framework"
 setupenvironment
 configarchitecture 'amd64' 'i386'
 
@@ -65,7 +65,7 @@ testmarkedauto
 
 # test that installed/upgraded auto-pkgs are not set to manual
 
-testsuccess aptget install browser=41 -y --force-yes
+testsuccess aptget install browser=41 -y --allow-downgrades
 
 testmarkedmanual 'browser' 'dpkg' 'foreignpkg:i386' 'nosection'
 testmarkedauto