]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-apt-get-autoremove
stablize gtest testcase environment
[apt.git] / test / integration / test-apt-get-autoremove
index 8d4516582bb7f2d5389a166e1bb573688d34c3e1..7a28c51f18bd15bc897e9a4adf5be7f2c99bc985 100755 (executable)
@@ -59,7 +59,10 @@ testsuccess aptget autoremove -y
 testdpkgnotinstalled 'po-debconf'
 testmarkedauto
 
 testdpkgnotinstalled 'po-debconf'
 testmarkedauto
 
-sed rootdir/var/log/apt/history.log -e '/^Commandline: / d' -e '/^Start-Date: / d' -e '/^End-Date: / d' -e 's#), #)\nInstall: #g' | sort -u > apt-history.log
+sed rootdir/var/log/apt/history.log -e '/^Commandline: / d' \
+       -e '/^Start-Date: / d' -e '/^End-Date: / d' \
+       -e '/^Requested-By: / d' \
+       -e 's#), #)\nInstall: #g' | sort -u > apt-history.log
 testfileequal 'apt-history.log' '
 Install: debhelper:i386 (8.0.0)
 Install: po-debconf:i386 (1.0.16, automatic)
 testfileequal 'apt-history.log' '
 Install: debhelper:i386 (8.0.0)
 Install: po-debconf:i386 (1.0.16, automatic)