From d40e1ad2cf5c85223ee4e20d8d3ed5a40d892e8d Mon Sep 17 00:00:00 2001 From: Kir Kolyshkin Date: Fri, 17 Oct 2025 16:24:11 -0700 Subject: [PATCH] tests/int/checkpoint: fix using run twice In our bats tests, runc itself is a wrapper which calls bats run helper, so using "run runc" is wrong as it results in calling run helper twice. Fixes: 8d180e965 Signed-off-by: Kir Kolyshkin (cherry picked from commit ad72eab6c7451c6931c0633a7c872e22f3fba9eb) Signed-off-by: Kir Kolyshkin --- tests/integration/checkpoint.bats | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/integration/checkpoint.bats b/tests/integration/checkpoint.bats index 503f5a8f4..c694cebe0 100644 --- a/tests/integration/checkpoint.bats +++ b/tests/integration/checkpoint.bats @@ -156,7 +156,7 @@ function simple_cr_with_netdevice() { [ "$status" -eq 0 ] testcontainer test_busybox_netdevice running - run runc exec test_busybox_netdevice ip address show dev dummy0 + runc exec test_busybox_netdevice ip address show dev dummy0 [ "$status" -eq 0 ] [[ "$output" == *" $global_ip "* ]] [[ "$output" == *"ether $mac_address "* ]] @@ -172,7 +172,7 @@ function simple_cr_with_netdevice() { [ "$status" -eq 0 ] testcontainer test_busybox_netdevice running - run runc exec test_busybox_netdevice ip address show dev dummy0 + runc exec test_busybox_netdevice ip address show dev dummy0 [ "$status" -eq 0 ] [[ "$output" == *" $global_ip "* ]] [[ "$output" == *"ether $mac_address "* ]]