]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
TEST-12-RAID-DEG: check with root=LABEL=root
authorHarald Hoyer <harald@redhat.com>
Mon, 7 Sep 2009 09:41:38 +0000 (11:41 +0200)
committerHarald Hoyer <harald@redhat.com>
Mon, 7 Sep 2009 09:41:38 +0000 (11:41 +0200)
test/TEST-12-RAID-DEG/create-root.sh
test/TEST-12-RAID-DEG/test.sh

index 5a7162cfeed9935d0ca0993798ef34b21b264c91..bf944187e9009ad229a0804499b69a03c824ff27 100755 (executable)
@@ -23,7 +23,7 @@ lvm pvcreate -ff  -y /dev/mapper/dracut_crypt_test && \
 lvm vgcreate dracut /dev/mapper/dracut_crypt_test && \
 lvm lvcreate -l 100%FREE -n root dracut && \
 lvm vgchange -ay && \
-mke2fs /dev/dracut/root && \
+mke2fs -L root /dev/dracut/root && \
 mkdir -p /sysroot && \
 mount /dev/dracut/root /sysroot && \
 cp -a -t /sysroot /source/* && \
index 597976fe1f1549bc0e6e67c7251527ed3cac49a1..94ef50b5b5e88c6b3859237c711b4d082b851fbd 100755 (executable)
@@ -10,7 +10,7 @@ client_run() {
     echo "CLIENT TEST START: $@"
     $testdir/run-qemu -hda root.ext2 -m 256M -nographic \
        -net none -kernel /boot/vmlinuz-$KVERSION \
-       -append "$@ root=/dev/dracut/root rw quiet rdinfo console=ttyS0,115200n81 rdshell $DEBUGFAIL " \
+       -append "$@ root=LABEL=root rw quiet rdinfo console=ttyS0,115200n81 rdshell $DEBUGFAIL " \
        -initrd initramfs.testing
     if ! grep -m 1 -q dracut-root-block-success root.ext2; then
        echo "CLIENT TEST END: $@ [FAIL]"