summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2015-02-03 10:44:27 +0100
committerHarald Hoyer <harald@redhat.com>2015-02-03 10:47:06 +0100
commitedbced8a151c1b7ded685e2ec644950d2adec5f5 (patch)
treed1907aec49f8fb2b9bc007126c4f959d635d334b /test
parent99877b7e3782a51b31bf191825f0335500f52fe5 (diff)
downloadsystemd-edbced8a151c1b7ded685e2ec644950d2adec5f5.tar.gz
systemd-edbced8a151c1b7ded685e2ec644950d2adec5f5.tar.bz2
systemd-edbced8a151c1b7ded685e2ec644950d2adec5f5.zip
test-functions: use sfdisk without cyl,head,sectors
newer sfdisk implementations do not work with these anymore
Diffstat (limited to 'test')
-rw-r--r--test/test-functions4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test-functions b/test/test-functions
index 368e7a1e52..50daedc201 100644
--- a/test/test-functions
+++ b/test/test-functions
@@ -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