mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-17 16:47:50 +00:00
zdtm/static/binfmt_misc: run cleanup hook before restore
In ns flavor for instance the binfmt_misc is not c/r-ed, but without this cleanup the test will not detect that as it would inherit correct unchanged binfmt_misc step which was there on dump. Signed-off-by: Pavel Tikhomirov <ptikhomirov@virtuozzo.com>
This commit is contained in:
parent
577c9a0f2f
commit
838a59087d
1 changed files with 1 additions and 1 deletions
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
[ "$1" == "--clean" ] || exit 0
|
||||
[ "$1" == "--clean" ] || [ "$1" == "--pre-restore" ] || exit 0
|
||||
|
||||
name=$(basename -s .hook $0).test
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue