From c54c0456b77e24f47fd7cf3856812635692d1a4e Mon Sep 17 00:00:00 2001 From: Christian Couder Date: Sat, 7 May 2016 13:14:11 +0200 Subject: [PATCH] test-lib: make checking for docker silent License: MIT Signed-off-by: Christian Couder --- test/sharness/lib/test-lib.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/sharness/lib/test-lib.sh b/test/sharness/lib/test-lib.sh index 276e3a230c3..674b15882c0 100644 --- a/test/sharness/lib/test-lib.sh +++ b/test/sharness/lib/test-lib.sh @@ -42,7 +42,7 @@ SHARNESS_LIB="lib/sharness/sharness.sh" # grab + output options test "$TEST_NO_FUSE" != 1 && test_set_prereq FUSE test "$TEST_EXPENSIVE" = 1 && test_set_prereq EXPENSIVE -test "$TEST_NO_DOCKER" != 1 && type docker && test_set_prereq DOCKER +test "$TEST_NO_DOCKER" != 1 && type docker >/dev/null 2>&1 && test_set_prereq DOCKER TEST_OS=$(uname -s | tr [a-z] [A-Z])