TEST-03-USR-MOUNT: more debugging
parent
074ac62576
commit
3c5036a62f
|
@ -1,5 +1,6 @@
|
|||
#!/bin/sh
|
||||
# don't let udev and this script step on eachother's toes
|
||||
set -x
|
||||
for x in 64-lvm.rules 70-mdadm.rules 99-mount-rules; do
|
||||
> "/etc/udev/rules.d/$x"
|
||||
done
|
||||
|
@ -37,4 +38,3 @@ umount /root
|
|||
echo "dracut-root-block-created" >/dev/sda1
|
||||
sync
|
||||
poweroff -f
|
||||
|
||||
|
|
|
@ -118,8 +118,10 @@ test_setup() {
|
|||
-m 512M -smp 2 -nographic -net none \
|
||||
-append "root=/dev/dracut/root rw rootfstype=btrfs quiet console=ttyS0,115200n81 selinux=0" \
|
||||
-initrd $TESTDIR/initramfs.makeroot || return 1
|
||||
grep -F -m 1 -q dracut-root-block-created $TESTDIR/root.btrfs || return 1
|
||||
|
||||
if ! grep -F -m 1 -q dracut-root-block-created $TESTDIR/root.btrfs; then
|
||||
echo "Could not create root filesystem"
|
||||
return 1
|
||||
fi
|
||||
|
||||
(
|
||||
export initdir=$TESTDIR/overlay
|
||||
|
|
Loading…
Reference in New Issue