github.com/opencontainers/runc@v1.2.0-rc.1.0.20240520010911-492dc558cdd6/tests/integration/start.bats (about) 1 #!/usr/bin/env bats 2 3 load helpers 4 5 function setup() { 6 setup_busybox 7 } 8 9 function teardown() { 10 teardown_bundle 11 } 12 13 @test "runc start" { 14 runc create --console-socket "$CONSOLE_SOCKET" test_busybox 15 [ "$status" -eq 0 ] 16 17 testcontainer test_busybox created 18 19 # start container test_busybox 20 runc start test_busybox 21 [ "$status" -eq 0 ] 22 23 testcontainer test_busybox running 24 25 # delete test_busybox 26 runc delete --force test_busybox 27 28 runc state test_busybox 29 [ "$status" -ne 0 ] 30 }