From b2f5b23608f474505f17e0ef8813b7fe3dbc3584 Mon Sep 17 00:00:00 2001 From: Adrian Reber Date: Tue, 15 Oct 2024 14:30:07 +0000 Subject: [PATCH] Adapt tests to new tree layout Signed-off-by: Adrian Reber --- test/checkpointctl.bats | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/checkpointctl.bats b/test/checkpointctl.bats index ab364b37..da8df16d 100644 --- a/test/checkpointctl.bats +++ b/test/checkpointctl.bats @@ -359,7 +359,7 @@ function teardown() { ( cd "$TEST_TMP_DIR1" && tar cf "$TEST_TMP_DIR2"/test.tar . ) checkpointctl inspect "$TEST_TMP_DIR2"/test.tar --files [ "$status" -eq 0 ] - [[ ${lines[24]} == *"[REG 0]"* ]] + [[ ${lines[11]} == *"[REG 0]"* ]] [[ ${lines[25]} == *"[cwd]"* ]] [[ ${lines[26]} == *"[root]"* ]] } @@ -766,4 +766,4 @@ function teardown() { [[ "${lines[4]}" == *"| checkpoint-valid-config-modified.tar |"* ]] [[ "${lines[6]}" == *"| default | pod-name | container-name | CRI-O |"* ]] [[ "${lines[6]}" == *"| checkpoint-valid-config.tar |"* ]] -} \ No newline at end of file +}