Browse Source

test/TEST-13-ENC-RAID-LVM: double test root disk space

master
Harald Hoyer 14 years ago
parent
commit
a7ee1cd7f6
  1. 8
      test/TEST-13-ENC-RAID-LVM/create-root.sh
  2. 2
      test/TEST-13-ENC-RAID-LVM/test.sh

8
test/TEST-13-ENC-RAID-LVM/create-root.sh

@ -7,11 +7,11 @@ done @@ -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

2
test/TEST-13-ENC-RAID-LVM/test.sh

@ -44,7 +44,7 @@ test_run() { @@ -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

Loading…
Cancel
Save