git.annexia.org
/
import-to-ovirt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09dfd17
)
RHEL 6: Don't print an error on qemu-img test expected failure.
author
Richard W.M. Jones
<rjones@redhat.com>
Mon, 17 Oct 2016 10:29:44 +0000
(11:29 +0100)
committer
Richard W.M. Jones
<rjones@redhat.com>
Mon, 17 Oct 2016 10:29:44 +0000
(11:29 +0100)
Fixes commit
001e24ec7af047cdf3c5ccb535468c78a89dcdba
.
import-to-ovirt.pl
patch
|
blob
|
history
diff --git
a/import-to-ovirt.pl
b/import-to-ovirt.pl
index
abb557b
..
2828172
100755
(executable)
--- a/
import-to-ovirt.pl
+++ b/
import-to-ovirt.pl
@@
-236,7
+236,7
@@
system ("qemu-img create -f qcow2 .test.qcow2 10M >/dev/null") == 0
# Does this version of qemu-img support compat=0.10? RHEL 6
# did NOT support it.
my $qemu_img_supports_compat = 0;
-system ("qemu-img create -f qcow2 -o compat=0.10 .test.qcow2 10M >/dev/null") == 0
+system ("qemu-img create -f qcow2 -o compat=0.10 .test.qcow2 10M >/dev/null
2>&1
") == 0
and $qemu_img_supports_compat = 1;
unlink ".test.qcow2";