From d7aac1d0ebfb847d3dc4d990a4d9c3d491f34aaa Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Fri, 26 Sep 2025 18:48:40 +0200 Subject: 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. --- test/integration/test-history | 4 ++-- 1 file 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 -- cgit v1.2.3-70-g09d2