From cc7ea6e8e59ca66f62b058516d8c37c341d620dc Mon Sep 17 00:00:00 2001 From: Serge Hallyn Date: Mon, 12 Apr 2021 22:37:23 -0500 Subject: [PATCH] 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 --- tests/su/02/run_env_test.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/su/02/run_env_test.sh b/tests/su/02/run_env_test.sh index 525d61934..32243ad11 100755 --- a/tests/su/02/run_env_test.sh +++ b/tests/su/02/run_env_test.sh @@ -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 -- 2.39.5