From 4ad326a37dcc372e032f229ecafc935d061c736c Mon Sep 17 00:00:00 2001 From: Akihiro Suda Date: Tue, 2 Jun 2020 18:59:19 +0900 Subject: [PATCH] silence "which: no criu" Signed-off-by: Akihiro Suda --- tests/integration/helpers.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/helpers.bash b/tests/integration/helpers.bash index ad43acb8d..17ea8433a 100644 --- a/tests/integration/helpers.bash +++ b/tests/integration/helpers.bash @@ -22,7 +22,7 @@ HELLO_IMAGE="$TESTDATA/$HELLO_FILE" HELLO_BUNDLE="$BATS_TMPDIR/hello-world" # CRIU PATH -CRIU="$(which criu || true)" +CRIU="$(which criu 2>/dev/null || true)" # Kernel version KERNEL_VERSION="$(uname -r)"