From f27770e1412c0dbe652d490791347911aac62b24 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Mon, 25 Jun 2012 15:19:19 +0100 Subject: fish: Allow mount-local test to be skipped with environment variable. The test uses FUSE, so we need a way to disable it on RHEL 5. --- fish/test-mount-local.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/fish/test-mount-local.sh b/fish/test-mount-local.sh index a71db042..c1b3f550 100755 --- a/fish/test-mount-local.sh +++ b/fish/test-mount-local.sh @@ -18,6 +18,11 @@ # Test guestfish mount-local / mount-local-run commands. +if [ -n "$SKIP_TEST_MOUNT_LOCAL_SH" ]; then + echo "$0: skipping test because SKIP_TEST_MOUNT_LOCAL_SH is set." + exit 0 +fi + # Skip if no FUSE. test -w /dev/fuse || { -- cgit