|
Harald Hoyer |
c4a5a0 |
From 47057875e753786cc439be665859ae3ac0ee72a1 Mon Sep 17 00:00:00 2001
|
|
Harald Hoyer |
c4a5a0 |
From: Harald Hoyer <harald@redhat.com>
|
|
Harald Hoyer |
c4a5a0 |
Date: Sat, 30 Jun 2012 12:14:12 +0200
|
|
Harald Hoyer |
c4a5a0 |
Subject: [PATCH] TEST-01-BASIC: grow the root disk
|
|
Harald Hoyer |
c4a5a0 |
|
|
Harald Hoyer |
c4a5a0 |
---
|
|
Harald Hoyer |
c4a5a0 |
test/TEST-01-BASIC/create-root.sh | 2 +-
|
|
Harald Hoyer |
c4a5a0 |
test/TEST-01-BASIC/test.sh | 2 +-
|
|
Harald Hoyer |
c4a5a0 |
2 files changed, 2 insertions(+), 2 deletions(-)
|
|
Harald Hoyer |
c4a5a0 |
|
|
Harald Hoyer |
c4a5a0 |
diff --git a/test/TEST-01-BASIC/create-root.sh b/test/TEST-01-BASIC/create-root.sh
|
|
Harald Hoyer |
c4a5a0 |
index 046bfb9..ce900ad 100755
|
|
Harald Hoyer |
c4a5a0 |
--- a/test/TEST-01-BASIC/create-root.sh
|
|
Harald Hoyer |
c4a5a0 |
+++ b/test/TEST-01-BASIC/create-root.sh
|
|
Harald Hoyer |
c4a5a0 |
@@ -7,7 +7,7 @@ rm /etc/lvm/lvm.conf
|
|
Harald Hoyer |
c4a5a0 |
udevadm control --reload-rules
|
|
Harald Hoyer |
c4a5a0 |
set -e
|
|
Harald Hoyer |
c4a5a0 |
# save a partition at the beginning for future flagging purposes
|
|
Harald Hoyer |
c4a5a0 |
-sfdisk -C 1280 -H 2 -S 32 -L /dev/sda <
|
|
Harald Hoyer |
c4a5a0 |
+sfdisk -C 2560 -H 2 -S 32 -L /dev/sda <
|
|
Harald Hoyer |
c4a5a0 |
,16
|
|
Harald Hoyer |
c4a5a0 |
,
|
|
Harald Hoyer |
c4a5a0 |
EOF
|
|
Harald Hoyer |
c4a5a0 |
diff --git a/test/TEST-01-BASIC/test.sh b/test/TEST-01-BASIC/test.sh
|
|
Harald Hoyer |
c4a5a0 |
index 3023b6a..35e05bb 100755
|
|
Harald Hoyer |
c4a5a0 |
--- a/test/TEST-01-BASIC/test.sh
|
|
Harald Hoyer |
c4a5a0 |
+++ b/test/TEST-01-BASIC/test.sh
|
|
Harald Hoyer |
c4a5a0 |
@@ -22,7 +22,7 @@ test_run() {
|
|
Harald Hoyer |
c4a5a0 |
test_setup() {
|
|
Harald Hoyer |
c4a5a0 |
rm -f $TESTDIR/root.ext3
|
|
Harald Hoyer |
c4a5a0 |
# Create the blank file to use as a root filesystem
|
|
Harald Hoyer |
c4a5a0 |
- dd if=/dev/null of=$TESTDIR/root.ext3 bs=1M seek=40
|
|
Harald Hoyer |
c4a5a0 |
+ dd if=/dev/null of=$TESTDIR/root.ext3 bs=1M seek=80
|
|
Harald Hoyer |
c4a5a0 |
|
|
Harald Hoyer |
c4a5a0 |
kernel=$KVERSION
|
|
Harald Hoyer |
c4a5a0 |
# Create what will eventually be our root filesystem onto an overlay
|