chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
test-functions: use sfdisk without cyl,head,sectors
[elogind.git]
/
test
/
test-functions
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