mirror of
https://github.com/ostreedev/ostree.git
synced 2025-03-09 12:58:38 +03:00
tests: Ensure non-root users have access to libcap tools
On Debian systems, by default only root has /{usr/,}sbin in PATH. Signed-off-by: Simon McVittie <smcv@collabora.com>
This commit is contained in:
parent
a43b143811
commit
3500ad0443
@ -32,6 +32,9 @@ else
|
||||
fi
|
||||
. ${test_srcdir}/libtest-core.sh
|
||||
|
||||
# Make sure /sbin/capsh etc. are in our PATH even if non-root
|
||||
PATH="$PATH:/usr/sbin:/sbin"
|
||||
|
||||
# Array of expressions to execute when exiting. Each expression should
|
||||
# be a single string (quoting if necessary) that will be eval'd. To add
|
||||
# a command to run on exit, append to the libtest_exit_cmds array like
|
||||
|
Loading…
x
Reference in New Issue
Block a user