projects
/
platform
/
upstream
/
btrfs-progs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1ee8b2
)
btrfs-progs: tests, use non-interactive sudo helper
author
David Sterba
<dsterba@suse.cz>
Mon, 19 Jan 2015 18:09:28 +0000
(19:09 +0100)
committer
David Sterba
<dsterba@suse.cz>
Mon, 19 Jan 2015 18:09:28 +0000
(19:09 +0100)
Sudo may not be configured to run without user prompt, in that case the
tests would be stuck.
Reported-by: Qu Wenruo <quwenruo@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
tests/common
patch
|
blob
|
history
diff --git
a/tests/common
b/tests/common
index
84a4b9d
..
d7d2e9b
100644
(file)
--- 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
}