From 8c62702c6b835b470130cf89c8f8a23331204295 Mon Sep 17 00:00:00 2001 From: Adrian Reber Date: Thu, 17 Oct 2024 15:26:46 +0000 Subject: [PATCH] Adapt tests to handle metadata output The output of '--all' changes with the introduction of additional information. This removes two hardcoded lines and adds it to the section that the line just needs to exist somewhere. Signed-off-by: Adrian Reber --- test/checkpointctl.bats | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/checkpointctl.bats b/test/checkpointctl.bats index da8df16d..9f3fe157 100644 --- a/test/checkpointctl.bats +++ b/test/checkpointctl.bats @@ -449,13 +449,14 @@ function teardown() { [[ ${lines[9]} == *"CRIU dump statistics"* ]] [[ ${lines[13]} == *"Memwrite time"* ]] [[ ${lines[14]} =~ [1-9] ]] - [[ ${lines[16]} == *"Process tree"* ]] - [[ ${lines[17]} == *"piggie"* ]] expected_messages=( "[REG 0]" "[cwd]" "[root]" + "Metadata" + "Process tree" + "piggie" "Overview of mounts" "Destination" "proc"