From: Serge Hallyn Date: Tue, 13 Apr 2021 03:37:23 +0000 (-0500) Subject: tests: fix su failures under travis X-Git-Tag: v4.9~30^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F321%2Fhead;p=thirdparty%2Fshadow.git 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 --- 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