Last active
July 14, 2016 23:48
-
-
Save shulima/804b0d1bd8ae49a4db502c49c15c508a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/test-data/blank-disks/Makefile.am b/test-data/blank-disks/Makefile.am | |
index 2464869..ca93189 100644 | |
--- a/test-data/blank-disks/Makefile.am | |
+++ b/test-data/blank-disks/Makefile.am | |
@@ -33,21 +33,21 @@ CLEANFILES = $(files) | |
# Blank disk images in various sizes and formats. | |
blank-disk-1s.raw: | |
rm -f $@ | |
- truncate -s 512 $@ | |
+ gtruncate -s 512 $@ | |
blank-disk-1s.qcow2: | |
qemu-img create -f qcow2 -o preallocation=metadata $@ 512 | |
blank-disk-1K.raw: | |
rm -f $@ | |
- truncate -s 1K $@ | |
+ gtruncate -s 1K $@ | |
blank-disk-1K.qcow2: | |
qemu-img create -f qcow2 -o preallocation=metadata $@ 1K | |
blank-disk-1M.raw: | |
rm -f $@ | |
- truncate -s 1M $@ | |
+ gtruncate -s 1M $@ | |
blank-disk-1M.qcow2: | |
qemu-img create -f qcow2 -o preallocation=metadata $@ 1M |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment