Browse Source

TEST-01-BASIC: grow the root disk

master
Harald Hoyer 13 years ago
parent
commit
47057875e7
  1. 2
      test/TEST-01-BASIC/create-root.sh
  2. 2
      test/TEST-01-BASIC/test.sh

2
test/TEST-01-BASIC/create-root.sh

@ -7,7 +7,7 @@ rm /etc/lvm/lvm.conf @@ -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

2
test/TEST-01-BASIC/test.sh

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

Loading…
Cancel
Save