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:
Serge Hallyn 2021-04-12 22:37:23 -05:00
parent fa90ac11c8
commit cc7ea6e8e5

View File

@ -9,6 +9,8 @@ testname=$(basename $0)
. ../../common/config.sh
. ../../common/log.sh
export HOME=/root # seems to be set to /home/travis, breaking some tests
command=""
case "$testname" in