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:
887a79d
)
test-copy: Skip this test if /dev/fd is missing, because of broken mock 1.1.4.
author
Richard W.M. Jones
<rjones@redhat.com>
Sat, 2 Oct 2010 08:10:22 +0000
(09:10 +0100)
committer
Richard W.M. Jones
<rjones@redhat.com>
Sat, 2 Oct 2010 08:10:22 +0000
(09:10 +0100)
regressions/test-copy.sh
patch
|
blob
|
history
diff --git
a/regressions/test-copy.sh
b/regressions/test-copy.sh
index
237acd0
..
6cfb3f1
100755
(executable)
--- a/
regressions/test-copy.sh
+++ b/
regressions/test-copy.sh
@@
-18,6
+18,14
@@
# Test guestfish copy-in and copy-out commands.
+# This test fails on some versions of mock which lack /dev/fd
+# directory. Skip this test in that case.
+
+test -d /dev/fd || {
+ echo "$0: Skipping this test because /dev/fd is missing."
+ exit 0
+}
+
set -e
rm -f test1.img