@@ -355,7 +355,7 @@ function simple_cr() {
355355 runc checkpoint --work-path ./work-dir test_busybox
356356 grep -B 5 Error ./work-dir/dump.log || true
357357 [ " $status " -eq 0 ]
358- ! test -f ./work-dir/" $tmplog1 "
358+ run ! test -f ./work-dir/" $tmplog1 "
359359 test -f ./work-dir/" $tmplog2 "
360360
361361 # after checkpoint busybox is no longer running
@@ -366,7 +366,7 @@ function simple_cr() {
366366 runc restore -d --work-path ./work-dir --console-socket " $CONSOLE_SOCKET " test_busybox
367367 grep -B 5 Error ./work-dir/restore.log || true
368368 [ " $status " -eq 0 ]
369- ! test -f ./work-dir/" $tmplog1 "
369+ run ! test -f ./work-dir/" $tmplog1 "
370370 test -f ./work-dir/" $tmplog2 "
371371
372372 # busybox should be back up and running
@@ -434,7 +434,7 @@ function simple_cr() {
434434 [ " $status " -eq 0 ]
435435 testcontainer test_busybox checkpointed
436436 # Check that the cgroup is gone.
437- ! test -d " $orig_path "
437+ run ! test -d " $orig_path "
438438
439439 # Restore into a different cgroup.
440440 set_cgroups_path # Changes the path.
@@ -445,7 +445,7 @@ function simple_cr() {
445445 testcontainer test_busybox running
446446
447447 # Check that the old cgroup path doesn't exist.
448- ! test -d " $orig_path "
448+ run ! test -d " $orig_path "
449449
450450 # Check that the new path exists.
451451 local new_path
0 commit comments