test-copy: Skip this test if /dev/fd is missing, because of broken mock 1.1.4.

This commit is contained in:
Richard W.M. Jones
2010-10-02 09:10:22 +01:00
parent 887a79d1d1
commit 1a3324ea2b

View File

@@ -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