]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-bug-611729-mark-as-manual
handle gpgv's weak-digests ERRSIG
[apt.git] / test / integration / test-bug-611729-mark-as-manual
index bd9af32b6b527a5f2d0eb1447917047719fe0262..97ef846e3e1f530555e0470d50dbfc1d71f5b8b4 100755 (executable)
@@ -56,8 +56,14 @@ testdpkginstalled b c
 testmarkedauto 'b'
 
 sed -i rootdir/var/log/apt/history.log -e '/^Commandline: / d' -e '/^Start-Date: / d' -e '/^End-Date: / d'
-testfileequal 'rootdir/var/log/apt/history.log' '
+if [ -n "$SUDO_USER" ]; then
+       testfileequal 'rootdir/var/log/apt/history.log' "
+Requested-By: $SUDO_USER ($(id -u "$SUDO_USER"))
+Reinstall: b:i386 (1.0)"
+else
+       testfileequal 'rootdir/var/log/apt/history.log' '
 Reinstall: b:i386 (1.0)'
+fi
 
 testsuccessequal 'Reading package lists...
 Building dependency tree...