diff options
| author | Julian Andres Klode <jak@debian.org> | 2025-09-26 18:48:40 +0200 |
|---|---|---|
| committer | Julian Andres Klode <jak@debian.org> | 2025-09-26 18:48:40 +0200 |
| commit | d7aac1d0ebfb847d3dc4d990a4d9c3d491f34aaa (patch) | |
| tree | 07eeae5640b87807b14d7c97646f89a7786d707b /test | |
| parent | 0b6f688806098b906d0c34f101696d35a60cf778 (diff) | |
test-history: Do not fully remove the command line
This will particularly be useful in the next commit; just
strip the path form the commandline.
Diffstat (limited to 'test')
| -rwxr-xr-x | test/integration/test-history | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/integration/test-history b/test/integration/test-history index 34489fce6..76bb3bd77 100755 --- a/test/integration/test-history +++ b/test/integration/test-history @@ -43,14 +43,14 @@ normalizedinfo() { apt history-info 0 | sed -E \ -e 's/^( *-?Start time *: ).*/\1dummy/' \ -e 's/^( *-?End time *: ).*/\1dummy/' \ - -e 's|^( *-?Command line *: ).*|\1dummy|' + -e 's|^( *-?Command line *: ).*/(.*)|\1\2|' } testsuccessequal "Transaction ID: 0 Start time: dummy End time: dummy Requested by: -Command line: dummy +Command line: apt-get install pkg1 Packages changed: Install pkg1:amd64 (1) " normalizedinfo |
