summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2013-07-31 09:57:57 +0200
committerHarald Hoyer <harald@redhat.com>2013-07-31 09:57:57 +0200
commit5bbbfeaf194a2ee14d9cb6c632a7e81694fe9355 (patch)
tree29fb3745a9e7cec7155b6806224dbcc8c45bf46b
parent9b6c5fd7c7df373efdaa602b3e123e11c0f8d18b (diff)
downloaddracut-5bbbfeaf194a2ee14d9cb6c632a7e81694fe9355.tar.gz
dracut-5bbbfeaf194a2ee14d9cb6c632a7e81694fe9355.tar.bz2
dracut-5bbbfeaf194a2ee14d9cb6c632a7e81694fe9355.zip
TEST-10: double disk space
-rwxr-xr-xtest/TEST-10-RAID/create-root.sh10
-rwxr-xr-xtest/TEST-10-RAID/test.sh4
2 files changed, 7 insertions, 7 deletions
diff --git a/test/TEST-10-RAID/create-root.sh b/test/TEST-10-RAID/create-root.sh
index 7c026690..68face8a 100755
--- a/test/TEST-10-RAID/create-root.sh
+++ b/test/TEST-10-RAID/create-root.sh
@@ -6,11 +6,11 @@ done
rm -f -- /etc/lvm/lvm.conf
udevadm control --reload
# save a partition at the beginning for future flagging purposes
-sfdisk -C 1280 -H 2 -S 32 -L /dev/sda <<EOF
-,16
-,400
-,400
-,400
+sfdisk -C 2560 -H 2 -S 32 -L /dev/sda <<EOF
+,32
+,800
+,800
+,800
EOF
mdadm --create /dev/md0 --run --auto=yes --level=5 --raid-devices=3 /dev/sda2 /dev/sda3 /dev/sda4
# wait for the array to finish initailizing, otherwise this sometimes fails
diff --git a/test/TEST-10-RAID/test.sh b/test/TEST-10-RAID/test.sh
index e24b9a0b..b6af703a 100755
--- a/test/TEST-10-RAID/test.sh
+++ b/test/TEST-10-RAID/test.sh
@@ -5,7 +5,7 @@ KVERSION=${KVERSION-$(uname -r)}
# Uncomment this to debug failures
#DEBUGFAIL="rd.shell rd.udev.log-priority=debug loglevel=70 systemd.log_target=kmsg"
-#DEBUGFAIL="rd.debug rd.break=pre-mount rd.shell"
+#DEBUGFAIL="rd.break rd.shell"
test_run() {
DISKIMAGE=$TESTDIR/TEST-10-RAID-root.img
$testdir/run-qemu \
@@ -21,7 +21,7 @@ test_setup() {
DISKIMAGE=$TESTDIR/TEST-10-RAID-root.img
# Create the blank file to use as a root filesystem
rm -f -- $DISKIMAGE
- dd if=/dev/null of=$DISKIMAGE bs=1M seek=40
+ dd if=/dev/null of=$DISKIMAGE bs=1M seek=80
kernel=$KVERSION
# Create what will eventually be our root filesystem onto an overlay