diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2012-11-06 13:05:15 +0000 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2012-11-06 13:05:49 +0000 |
commit | 101fd44fc5ce3055da91a5bf8aa0d89a5d2f3a79 (patch) | |
tree | 664a55ee16ee162d964cd9c5be6d81620792f596 | |
parent | 3b06bee2fbba75dfdd0cdf2a705f8761bed08ca0 (diff) | |
download | libguestfs-101fd44fc5ce3055da91a5bf8aa0d89a5d2f3a79.tar.gz libguestfs-101fd44fc5ce3055da91a5bf8aa0d89a5d2f3a79.tar.xz libguestfs-101fd44fc5ce3055da91a5bf8aa0d89a5d2f3a79.zip |
format: Allow virt-format test to be skipped by setting SKIP_TEST_VIRT_FORMAT_SH=1.
-rwxr-xr-x | format/test-virt-format.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/format/test-virt-format.sh b/format/test-virt-format.sh index 2035e67e..a6f81e00 100755 --- a/format/test-virt-format.sh +++ b/format/test-virt-format.sh @@ -20,6 +20,11 @@ set -e +if [ -n "$SKIP_TEST_VIRT_FORMAT_SH" ]; then + echo "$0: test skipped because environment variable is set." + exit 77 +fi + rm -f test1.img ../fish/guestfish -N bootrootlv exit |