mirror of
https://github.com/NVIDIA/nvidia-container-toolkit
synced 2024-11-22 08:18:32 +00:00
Ensure runtime dir is set for crio cleanup
Signed-off-by: Evan Lezar <elezar@nvidia.com>
This commit is contained in:
parent
2bc0f45a52
commit
0780621024
@ -27,7 +27,7 @@ testing::crio::hook_created() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
testing::crio::hook_cleanup() {
|
testing::crio::hook_cleanup() {
|
||||||
testing::docker_run::toolkit::shell 'crio cleanup'
|
testing::docker_run::toolkit::shell 'crio cleanup --nvidia-runtime-dir /run/nvidia/toolkit/'
|
||||||
|
|
||||||
test -z "$(ls -A "${shared_dir}${CRIO_HOOKS_DIR}")"
|
test -z "$(ls -A "${shared_dir}${CRIO_HOOKS_DIR}")"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user