]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
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 046bfb9cd80c4a47d15bcef7c099cf4425346aeb..ce900ad26be248421586298364da5909432cd7d4 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 3023b6a14768490c74260c86b77f38d90d2e7c79..35e05bba6ba11ef6a0844d0f0da470a064c3ded9 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