Skip to content

fixups to tests/int/checkpoint.bats#2476

Merged
mrunalp merged 2 commits into
opencontainers:masterfrom
kolyshkin:cpt-err-log
Jun 24, 2020
Merged

fixups to tests/int/checkpoint.bats#2476
mrunalp merged 2 commits into
opencontainers:masterfrom
kolyshkin:cpt-err-log

Conversation

@kolyshkin
Copy link
Copy Markdown
Contributor

When looking into #2475 I noticed there are no CRIU errors shown for runc restore. Amend the script with showing errors like in other cases.

While at it

  • fix EOL whitespace
  • fix exit code check in simple_cr

Remove whitespace at EOL

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
1. When using `runc`, we should check `$status` and not `$?`.

2. Before exit code check, let's (try to) show errors from CRIU log.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
@kolyshkin
Copy link
Copy Markdown
Contributor Author

@AkihiroSuda @mrunalp PTAL

Comment thread tests/integration/checkpoint.bats
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants