From 188e79e2fcac8cdf474d9a23adfcce48e319c745 Mon Sep 17 00:00:00 2001 From: David Sterba Date: Mon, 19 Jan 2015 19:09:28 +0100 Subject: btrfs-progs: tests, use non-interactive sudo helper Sudo may not be configured to run without user prompt, in that case the tests would be stuck. Reported-by: Qu Wenruo Signed-off-by: David Sterba --- tests/common | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/common b/tests/common index 84a4b9d3..d7d2e9be 100644 --- a/tests/common +++ b/tests/common @@ -58,7 +58,7 @@ export have_root_helper setup_root_helper() { if [ $UID != 0 ]; then - sudo=sudo + sudo="sudo --non-interactive" fi have_root_helper=1 } -- cgit v1.2.3