diff options
author | Harald Hoyer <harald@redhat.com> | 2010-04-16 16:48:08 +0200 |
---|---|---|
committer | Harald Hoyer <harald@redhat.com> | 2010-04-16 17:59:49 +0200 |
commit | 3e96d7aa33c96d84f9f38fc940388b109f34f7b8 (patch) | |
tree | c1b51653a28c3599ca3faf0a7e4bee373396ef02 /test/TEST-12-RAID-DEG | |
parent | 3409c2377fde4e99302a47e23dfe72039d0c941f (diff) | |
download | dracut-3e96d7aa33c96d84f9f38fc940388b109f34f7b8.tar.gz dracut-3e96d7aa33c96d84f9f38fc940388b109f34f7b8.tar.bz2 dracut-3e96d7aa33c96d84f9f38fc940388b109f34f7b8.zip |
TEST-12-RAID-DEG/create-root: filter MD_UUID only
Diffstat (limited to 'test/TEST-12-RAID-DEG')
-rwxr-xr-x | test/TEST-12-RAID-DEG/create-root.sh | 2 | ||||
-rwxr-xr-x | test/TEST-12-RAID-DEG/test.sh | 2 |
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 23f1afcd..6a2988da 100755 --- a/test/TEST-12-RAID-DEG/create-root.sh +++ b/test/TEST-12-RAID-DEG/create-root.sh @@ -35,7 +35,7 @@ cryptsetup luksClose /dev/mapper/dracut_crypt_test && \ mdadm /dev/md0 --fail /dev/sda2 --remove /dev/sda2 && \ { mdadm -W /dev/md0 || : ;} && \ { -/sbin/mdadm --detail --export /dev/md0 > /tmp/mduuid ; +/sbin/mdadm --detail --export /dev/md0 |grep MD_UUID > /tmp/mduuid ; . /tmp/mduuid; } && \ { diff --git a/test/TEST-12-RAID-DEG/test.sh b/test/TEST-12-RAID-DEG/test.sh index fb39551d..0d78b930 100755 --- a/test/TEST-12-RAID-DEG/test.sh +++ b/test/TEST-12-RAID-DEG/test.sh @@ -74,7 +74,7 @@ test_setup() { ( initdir=overlay . $basedir/dracut-functions - dracut_install sfdisk mke2fs poweroff cp umount dd + dracut_install sfdisk mke2fs poweroff cp umount dd grep inst_simple ./create-root.sh /initqueue/01create-root.sh inst_simple ./99-idesymlinks.rules /etc/udev/rules.d/99-idesymlinks.rules ) |