summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2013-08-14 15:02:46 +0200
committerHarald Hoyer <harald@redhat.com>2013-08-14 15:04:05 +0200
commit62cdced342d1a422c1b98370c12bf148144018dd (patch)
tree948b81fbe44370461f8549b5f282ce1487a915c6
parent919a7c4d6e9f88be38e3f3ec588d0bc9ae5bbe68 (diff)
downloaddracut-62cdced342d1a422c1b98370c12bf148144018dd.tar.gz
dracut-62cdced342d1a422c1b98370c12bf148144018dd.tar.bz2
dracut-62cdced342d1a422c1b98370c12bf148144018dd.zip
TEST-12-RAID-DEG: enter UUID in crypttab rather than md0
-rwxr-xr-xtest/TEST-12-RAID-DEG/test.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/TEST-12-RAID-DEG/test.sh b/test/TEST-12-RAID-DEG/test.sh
index 6ddff3fe..dfcf3dc1 100755
--- a/test/TEST-12-RAID-DEG/test.sh
+++ b/test/TEST-12-RAID-DEG/test.sh
@@ -50,6 +50,7 @@ test_run() {
client_run rd.luks.uuid=$LUKS_UUID rd.md.uuid=$MD_UUID rd.lvm.vg=dracut || return 1
client_run rd.luks.uuid=$LUKS_UUID rd.md.uuid=$MD_UUID rd.lvm.lv=dracut/failme failme && return 1
client_run rd.luks.uuid=$LUKS_UUID rd.md.uuid=$MD_UUID rd.lvm.lv=dracut/root || return 1
+
return 0
}
@@ -126,7 +127,7 @@ test_setup() {
inst ./cryptroot-ask.sh /sbin/cryptroot-ask
mkdir -p $initdir/etc
echo "ARRAY /dev/md0 level=raid5 num-devices=3 UUID=$MD_UUID" > $initdir/etc/mdadm.conf
- echo "luks-$ID_FS_UUID /dev/md0 /etc/key" > $initdir/etc/crypttab
+ echo "luks-$ID_FS_UUID UUID=$ID_FS_UUID /etc/key" > $initdir/etc/crypttab
echo -n test > $initdir/etc/key
)