diff --git a/test/checkpointctl.bats b/test/checkpointctl.bats index ab364b3..da8df16 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 +}