Skip to content

Commit

Permalink
Adapt tests to new tree layout
Browse files Browse the repository at this point in the history
Signed-off-by: Adrian Reber <[email protected]>
  • Loading branch information
adrianreber committed Oct 15, 2024
1 parent d2475aa commit b2f5b23
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/checkpointctl.bats
Original file line number Diff line number Diff line change
Expand Up @@ -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]"* ]]
}
Expand Down Expand Up @@ -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 |"* ]]
}
}

0 comments on commit b2f5b23

Please sign in to comment.