Files
linuxkit/test/pkg/containerd/run.sh
Ian Campbell 3c269d4320 test-containerd: output the revision in the test tree
So it'll appear in the logs.

Signed-off-by: Ian Campbell <ijc@docker.com>
2017-08-11 16:11:11 +01:00

16 lines
290 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
# unset -race (does not work on alpine; see golang/go#14481)
export TESTFLAGS=
make root-test || failed
printf "containerd test suite PASSED\n"