chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
99877b7
)
test-functions: use sfdisk without cyl,head,sectors
author
Harald Hoyer
<harald@redhat.com>
Tue, 3 Feb 2015 09:44:27 +0000
(10:44 +0100)
committer
Harald 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
patch
|
blob
|
history
diff --git
a/test/test-functions
b/test/test-functions
index 368e7a1e52ca33ea45c8e2c038d4aefc6e53fd55..50daedc2019b44409474004d6029b68f1d77289e 100644
(file)
--- 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