containerd/script
Adelina Tuvenie e6538b8bce Add trap to cri-integration test script
The cri-integration.sh script sets errexit option. This does not
work properly on Bash in Windows, espectially when the script is
piped to something else ( tee in this case ). In this particular
case, the problem arises from the fact that if the script exits
prematurely, it will not get a chance to call test_teardown and
thus clean the remaining containerd process, thus the whole
command will hang indefinetly.

Adding a simple trap on EXIT to call test_teardown will easily
fix this.

Signed-off-by: Adelina Tuvenie <atuvenie@cloudbasesolutions.com>
2021-08-10 13:37:05 +03:00
..
setup Update Go to 1.16.7 2021-08-07 18:07:50 +02:00
test Add trap to cri-integration test script 2021-08-10 13:37:05 +03:00
verify-go-modules.sh Script to check if entries in go.mod files are in sync 2021-07-27 17:52:32 -04:00