diff options
author | David Kalnischkies <david@kalnischkies.de> | 2016-01-25 19:14:37 +0100 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2016-01-25 19:14:37 +0100 |
commit | 0479205d5869805da3122e2683d2e5ecd0058815 (patch) | |
tree | 6c8d4ae961df7e32dc05cabef49fb62f1008305e /test/integration/test-apt-get-autoremove | |
parent | a249b3e6fd798935a02b769149c9791a6fa6ef16 (diff) |
fix tests run via sudo checking the history file
Git-Dch: Ignore
Diffstat (limited to 'test/integration/test-apt-get-autoremove')
-rwxr-xr-x | test/integration/test-apt-get-autoremove | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/integration/test-apt-get-autoremove b/test/integration/test-apt-get-autoremove index 8d4516582..7a28c51f1 100755 --- a/test/integration/test-apt-get-autoremove +++ b/test/integration/test-apt-get-autoremove @@ -59,7 +59,10 @@ testsuccess aptget autoremove -y 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) |