tests: fix su failures under travis
HOME has to start as /root since we are testing that su didn't change it. Signed-off-by: Serge Hallyn <serge@hallyn.com>
This commit is contained in:
@@ -9,6 +9,8 @@ testname=$(basename $0)
|
|||||||
. ../../common/config.sh
|
. ../../common/config.sh
|
||||||
. ../../common/log.sh
|
. ../../common/log.sh
|
||||||
|
|
||||||
|
export HOME=/root # seems to be set to /home/travis, breaking some tests
|
||||||
|
|
||||||
command=""
|
command=""
|
||||||
|
|
||||||
case "$testname" in
|
case "$testname" in
|
||||||
|
Reference in New Issue
Block a user