TEST-01-BASIC: grow the root disk
authorHarald Hoyer <harald@redhat.com>
Sat, 30 Jun 2012 10:14:12 +0000 (12:14 +0200)
committerHarald Hoyer <harald@redhat.com>
Mon, 2 Jul 2012 16:52:49 +0000 (18:52 +0200)
test/TEST-01-BASIC/create-root.sh
test/TEST-01-BASIC/test.sh

index 046bfb9..ce900ad 100755 (executable)
@@ -7,7 +7,7 @@ rm /etc/lvm/lvm.conf
 udevadm control --reload-rules
 set -e
 # 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
 ,
 EOF
index 3023b6a..35e05bb 100755 (executable)
@@ -22,7 +22,7 @@ test_run() {
 test_setup() {
     rm -f $TESTDIR/root.ext3
     # Create the blank file to use as a root filesystem
-    dd if=/dev/null of=$TESTDIR/root.ext3 bs=1M seek=40
+    dd if=/dev/null of=$TESTDIR/root.ext3 bs=1M seek=80
 
     kernel=$KVERSION
     # Create what will eventually be our root filesystem onto an overlay