Tests: enable local files in sssd for tests
Tests needed a working copy of sssd which would not start without a configuration. Setting enable_files_domain resolves this issue. Resolves: rhbz#1984553
This commit is contained in:
parent
aa781ea6b4
commit
99fd94d945
@ -61,6 +61,14 @@ cp 1.journal /var/log/journal/1.journal
|
||||
cp binary-rec.journal /var/log/journal/binary-rec.journal
|
||||
usermod -u 981 tlog
|
||||
|
||||
# Add local domain for sssd for testSessionRecordingConf test
|
||||
cat > /etc/sssd/sssd.conf <<EOF
|
||||
[sssd]
|
||||
enable_files_domain = true
|
||||
EOF
|
||||
chmod 600 /etc/sssd/sssd.conf
|
||||
systemctl start sssd
|
||||
|
||||
# Run tests as unprivileged user
|
||||
su - -c "env SOURCE=$SOURCE LOGS=$LOGS $TESTS/run-test.sh" runtest
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user