test/TEST-13-ENC-RAID-LVM: double test root disk space
authorHarald Hoyer <harald@redhat.com>
Thu, 28 Apr 2011 15:32:56 +0000 (17:32 +0200)
committerHarald Hoyer <harald@redhat.com>
Tue, 3 May 2011 07:59:14 +0000 (09:59 +0200)
test/TEST-13-ENC-RAID-LVM/create-root.sh
test/TEST-13-ENC-RAID-LVM/test.sh

index 3a1053b..1b049c3 100755 (executable)
@@ -7,11 +7,11 @@ done
 rm /etc/lvm/lvm.conf
 udevadm control --reload-rules
 # save a partition at the beginning for future flagging purposes
-sfdisk -C 1280 -H 2 -S 32 -L /dev/sda <<EOF
+sfdisk -C 2560 -H 2 -S 32 -L /dev/sda <<EOF
 ,16
-,400
-,400
-,400
+,800
+,800
+,800
 EOF
 echo -n test >keyfile
 cryptsetup -q luksFormat /dev/sda2 /keyfile
index bba23d6..0323ff6 100755 (executable)
@@ -44,7 +44,7 @@ test_run() {
 
 test_setup() {
     # Create the blank file to use as a root filesystem
-    dd if=/dev/zero of=root.ext2 bs=1M count=40
+    dd if=/dev/zero of=root.ext2 bs=1M count=80
 
     kernel=$KVERSION
     # Create what will eventually be our root filesystem onto an overlay