chiark / gitweb /
test-functions: use sfdisk without cyl,head,sectors
authorHarald Hoyer <harald@redhat.com>
Tue, 3 Feb 2015 09:44:27 +0000 (10:44 +0100)
committerHarald Hoyer <harald@redhat.com>
Tue, 3 Feb 2015 09:47:06 +0000 (10:47 +0100)
newer sfdisk implementations do not work with these anymore

test/test-functions

index 368e7a1e52ca33ea45c8e2c038d4aefc6e53fd55..50daedc2019b44409474004d6029b68f1d77289e 100644 (file)
@@ -137,8 +137,8 @@ create_empty_image() {
     LOOPDEV=$(losetup --show -P -f $TESTDIR/rootdisk.img)
     [ -b "$LOOPDEV" ] || return 1
     echo "LOOPDEV=$LOOPDEV" >> $STATEFILE
-    sfdisk -C 9600 -H 2 -S 32 -L "$LOOPDEV" <<EOF
-,4800
+    sfdisk "$LOOPDEV" <<EOF
+,290M
 ,
 EOF