linuxkit/test/pkg/containerd/run.sh
Avi Deitcher 198db9089f
containerd 20 (#4100)
* bump containerd-dev to 2.0.2

Signed-off-by: Avi Deitcher <avi@deitcher.net>

* update pkg/init libs to containerd-20

Signed-off-by: Avi Deitcher <avi@deitcher.net>

* bump linuxkit CLI containerd deps to 20

Signed-off-by: Avi Deitcher <avi@deitcher.net>

* update test/pkg/containerd to work with containerd v2.x tests

Signed-off-by: Avi Deitcher <avi@deitcher.net>

* update containerd-dev deps

Signed-off-by: Avi Deitcher <avi@deitcher.net>

* update pkg/init and pkg/containerd dependencies

Signed-off-by: Avi Deitcher <avi@deitcher.net>

* update test/pkg/containerd deps

Signed-off-by: Avi Deitcher <avi@deitcher.net>

---------

Signed-off-by: Avi Deitcher <avi@deitcher.net>
2025-02-24 18:40:56 +02:00

22 lines
602 B
Bash
Executable File

#!/bin/sh
function failed {
printf "containerd test suite FAILED\n"
exit 1
}
# Get these into the logs.
git describe HEAD
git rev-parse HEAD
# The unit tests need user_xattr support, which /tmp (a tmpfs) does not support.
mkdir -p /var/lib/tmp
export TMPDIR=/var/lib/tmp
# unset -race (does not work on alpine; see golang/go#14481)
export TESTFLAGS=
# disable devmapper tests
export SKIPTESTS="github.com/containerd/containerd/v2/plugins/snapshots/devmapper github.com/containerd/containerd/v2/plugins/snapshots/devmapper/dmsetup"
make root-test || failed
printf "containerd test suite PASSED\n"