summaryrefslogtreecommitdiffstats
path: root/capitests
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2009-06-10 14:29:41 +0100
committerRichard Jones <rjones@redhat.com>2009-06-10 14:29:41 +0100
commitdc3b5a7a52fd1a53ba482042fcfb8c4b0bf83b09 (patch)
tree25c663c8d64a2e9113bbf0381155c57d673645be /capitests
parent8c637e1fb03d4a4ff36af770758671b3cabf9842 (diff)
downloadlibguestfs-dc3b5a7a52fd1a53ba482042fcfb8c4b0bf83b09.tar.gz
libguestfs-dc3b5a7a52fd1a53ba482042fcfb8c4b0bf83b09.tar.xz
libguestfs-dc3b5a7a52fd1a53ba482042fcfb8c4b0bf83b09.zip
CentOS fix: Skip checksum test if no squashfs module.
Diffstat (limited to 'capitests')
-rw-r--r--capitests/Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/capitests/Makefile.am b/capitests/Makefile.am
index 5a10a929..b52d2ed7 100644
--- a/capitests/Makefile.am
+++ b/capitests/Makefile.am
@@ -34,6 +34,7 @@ TESTS_ENVIRONMENT = \
SKIP_TEST_COMMAND_LINES=$(shell ldd test-command | grep -sq 'not a dynamic executable' || echo 1) \
SKIP_TEST_ZEROFREE=$(shell test -x ../initramfs/usr/sbin/zerofree || echo 1) \
SKIP_TEST_NTFS_3G_PROBE=$(shell test -x ../initramfs/bin/ntfs-3g.probe || echo 1) \
+ SKIP_TEST_CHECKSUM_8=$(shell if test `find ../initramfs -name squashfs.ko | wc -l` -eq 0; then echo 1; fi) \
$(VG)
# Run the tests under valgrind.