Skip to content

Commit

Permalink
tests: fix su failures under travis
Browse files Browse the repository at this point in the history
HOME has to start as /root since we are testing
that su didn't change it.

Signed-off-by: Serge Hallyn <[email protected]>
  • Loading branch information
hallyn committed Apr 17, 2021
1 parent fa90ac1 commit cc7ea6e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/su/02/run_env_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cc7ea6e

Please sign in to comment.