summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2009-09-07 11:41:38 +0200
committerHarald Hoyer <harald@redhat.com>2009-09-07 11:41:38 +0200
commit1753a630816f1ccc0382f113a326f80deb37baec (patch)
tree0407e8cc475111a760181c97f7fecace3867eb40 /test
parent96f3cf1d27268f3784f420ebb52228f3e6b08e77 (diff)
downloaddracut-1753a630816f1ccc0382f113a326f80deb37baec.tar.gz
dracut-1753a630816f1ccc0382f113a326f80deb37baec.tar.bz2
dracut-1753a630816f1ccc0382f113a326f80deb37baec.zip
TEST-12-RAID-DEG: check with root=LABEL=root
Diffstat (limited to 'test')
-rwxr-xr-xtest/TEST-12-RAID-DEG/create-root.sh2
-rwxr-xr-xtest/TEST-12-RAID-DEG/test.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/TEST-12-RAID-DEG/create-root.sh b/test/TEST-12-RAID-DEG/create-root.sh
index 5a7162cf..bf944187 100755
--- a/test/TEST-12-RAID-DEG/create-root.sh
+++ b/test/TEST-12-RAID-DEG/create-root.sh
@@ -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/* && \
diff --git a/test/TEST-12-RAID-DEG/test.sh b/test/TEST-12-RAID-DEG/test.sh
index 597976fe..94ef50b5 100755
--- a/test/TEST-12-RAID-DEG/test.sh
+++ b/test/TEST-12-RAID-DEG/test.sh
@@ -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]"