]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
TEST-04-FULL-SYSTEMD: more info on failure
authorHarald Hoyer <harald@redhat.com>
Thu, 27 Feb 2020 15:42:21 +0000 (16:42 +0100)
committerHarald Hoyer <harald@redhat.com>
Thu, 27 Feb 2020 15:42:21 +0000 (16:42 +0100)
test/TEST-04-FULL-SYSTEMD/test-init.sh

index 3b29beec41af14aba9131ea9e61803edf557ee7f..e40f5e6f3048a315acc6775e317ee52c1d95ea64 100755 (executable)
@@ -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