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 <kolyshkin@gmail.com>
(cherry picked from commit ad72eab6c7)
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
This commit is contained in:
Kir Kolyshkin
2025-10-17 16:24:11 -07:00
parent a5c14847f4
commit d40e1ad2cf
+2 -2
View File
@@ -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 "* ]]