tests: Use G_DEBUG=fatal-warnings for daemon
To catch things like https://github.com/projectatomic/rpm-ostree/issues/826 during testing. (Really IMO this should be the system-wide default except GNOME and lots of apps would start dumping core all over the place... 😢) Closes: #828 Approved by: jlebon
This commit is contained in:
committed by
Atomic Bot
parent
1331ac837d
commit
6b74f440dc
@ -44,6 +44,12 @@ else
|
||||
rsync -rlv /var/roothome/sync/insttree/usr/ /usr/
|
||||
restorecon -v /usr/bin/rpm-ostree
|
||||
restorecon -v /usr/libexec/rpm-ostreed
|
||||
mkdir -p /etc/systemd/system/rpm-ostreed.service.d
|
||||
# For our test suite at least, to catch things like https://github.com/projectatomic/rpm-ostree/issues/826
|
||||
cat > /etc/systemd/system/rpm-ostreed.service.d/fatal-warnings.conf << EOF
|
||||
[Service]
|
||||
Environment=G_DEBUG=fatal-warnings
|
||||
EOF
|
||||
systemctl daemon-reload
|
||||
systemctl restart rpm-ostreed
|
||||
fi
|
||||
|
Reference in New Issue
Block a user