git.annexia.org
/
libguestfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd10487
)
test-virt-resize: Skip this test on 32 bit hosts.
author
Richard W.M. Jones
<rjones@redhat.com>
Sat, 2 Oct 2010 08:07:42 +0000
(09:07 +0100)
committer
Richard W.M. Jones
<rjones@redhat.com>
Sat, 2 Oct 2010 08:07:42 +0000
(09:07 +0100)
tools/test-virt-resize.sh
patch
|
blob
|
history
diff --git
a/tools/test-virt-resize.sh
b/tools/test-virt-resize.sh
index
75d5147
..
2c343cb
100755
(executable)
--- a/
tools/test-virt-resize.sh
+++ b/
tools/test-virt-resize.sh
@@
-1,5
+1,12
@@
#!/bin/bash -
+# virt-resize does not work on 32 bit because of limitations in Perl
+# so short-circuit this test on a 32 bit host.
+perl -e 'exit 1 if ~1 == 4294967294' || {
+ echo "$0: Skipping this test on 32 bit."
+ exit 0
+}
+
export LANG=C
set -e