From 3c269d4320386f9a3cbc20c8b20d4891e4c9cf8d Mon Sep 17 00:00:00 2001 From: Ian Campbell Date: Tue, 8 Aug 2017 11:19:07 +0100 Subject: [PATCH] test-containerd: output the revision in the test tree So it'll appear in the logs. Signed-off-by: Ian Campbell --- test/pkg/containerd/run.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/pkg/containerd/run.sh b/test/pkg/containerd/run.sh index 777c831df..23dc8d2b8 100755 --- a/test/pkg/containerd/run.sh +++ b/test/pkg/containerd/run.sh @@ -5,6 +5,10 @@ function failed { 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