TEST-04-FULL-SYSTEMD: more info on failure

master
Harald Hoyer 2020-02-27 16:42:21 +01:00
parent 2d75433cd7
commit ba66cb2789
1 changed files with 7 additions and 0 deletions

View File

@ -114,6 +114,13 @@ if ismounted /usr && [ ! -s /failed ]; then
echo "dracut-root-block-success" >/dev/sdc
fi

if ! ismounted /usr; then
echo "**************************FAILED**************************"
echo "/usr not mounted!!"
cat /proc/mounts
echo "**************************FAILED**************************"
fi

journalctl --full --no-pager -o short-monotonic

if [ -s /failed ]; then