summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2025-09-30 13:01:28 +0200
committerJulian Andres Klode <jak@debian.org>2025-09-30 13:01:28 +0200
commitb1e10340d5b9cd6fd12f968b5ddd9b7a70b827cb (patch)
tree927b6bf284f3749abcfe76d12e2667c73f9197b5 /test
parentddfd20559b66e2878cc256d7da068d5058453a53 (diff)
test-history: Adjust for as-installed testing
When testing as installed, we inadvertently do not replace the command-line with dummy in the "apt history-list" command.
Diffstat (limited to 'test')
-rwxr-xr-xtest/integration/test-history2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/integration/test-history b/test/integration/test-history
index 1b908de6d..76dc04630 100755
--- a/test/integration/test-history
+++ b/test/integration/test-history
@@ -58,7 +58,7 @@ Packages changed:
# replace aribtrary command line and date with "dummy".
normalizedlist() {
apt history-list | sed -E 's/^([0-9]+)[[:space:]]+'\
-'[^[:space:]]+[[:space:]]+'\
+'.*'\
'[0-9]{4}-[0-9]{2}-[0-9]{2}[[:space:]]+'\
'[0-9]{2}:[0-9]{2}:[0-9]{2}/'\
'\1 dummy dummy /'