diff options
| author | Julian Andres Klode <jak@debian.org> | 2025-09-26 18:49:53 +0200 |
|---|---|---|
| committer | Julian Andres Klode <jak@debian.org> | 2025-09-26 18:49:53 +0200 |
| commit | 0c1fa8bae3a09f9efd1b30ebc3a5dacbbe58f193 (patch) | |
| tree | 291bb4307ccc9b9d91407b143b53b362ffc23fb8 /test/integration | |
| parent | d7aac1d0ebfb847d3dc4d990a4d9c3d491f34aaa (diff) | |
history: Handle transactions without any changes
For some reason I have them in my log file.
Diffstat (limited to 'test/integration')
| -rwxr-xr-x | test/integration/test-history | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/test/integration/test-history b/test/integration/test-history index 76bb3bd77..1b908de6d 100755 --- a/test/integration/test-history +++ b/test/integration/test-history @@ -68,3 +68,22 @@ testsuccessequal "ID Command line Date and Time Action C 0 dummy dummy Install 1 1 dummy dummy Install 1 " normalizedlist + +msgmsg "Actionless group" +cat > rootdir/var/log/apt/history.log << EOF +Start-Date: dummy +Commandline: install nothing +End-Date: dummy +EOF + +testsuccessequal "ID Command line Date and Time Action Changes + +0 install nothing dummy 0 " normalizedlist + +testsuccessequal "Transaction ID: 0 +Start time: dummy +End time: dummy +Requested by: +Command line: install nothing +Packages changed:" normalizedinfo + |
