From 0c700522df1c96fd591020e7b3e29bc7e36dec14 Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Mon, 20 May 2024 13:17:35 +0200 Subject: test: Temporarily ignore autoremovable lists for solver3 We do not show them yet, so let's ignore them so we can focus on getting the rest of the tests to work. --- test/integration/framework | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'test/integration/framework') diff --git a/test/integration/framework b/test/integration/framework index 54bc4da07..e13888da2 100644 --- a/test/integration/framework +++ b/test/integration/framework @@ -1559,12 +1559,22 @@ downloadfile() { fi } +cleanup_solver3_pipe() { + if [ "$APT_SOLVER" != "3.0" ]; then + cat + else + # FIXME: We do not have support for listing autoremovals yet. + # FIXME: Progress output is different + sed -e '/Solving dependencies\.\.\./ d' \ + -e "/no longer required[.:]$/,/^Use '.* autoremove'/ d" + fi +} cleanup_output() { cat "$1" | sed \ -e '/gpgv: WARNING: This key is not suitable for signing in --compliance=gnupg mode/ d' \ -e '/^profiling:/ d' \ - -e '/Solving dependencies\.\.\./ d' \ | sed -e '/\.\.\.profiling:/ {N;s#\.\.\.profiling:.*\n#...#g}' \ + | cleanup_solver3_pipe \ >"$2" } -- cgit v1.2.3-70-g09d2