summaryrefslogtreecommitdiffstats
path: root/sysprep/test-virt-sysprep-script.sh
diff options
context:
space:
mode:
Diffstat (limited to 'sysprep/test-virt-sysprep-script.sh')
-rwxr-xr-xsysprep/test-virt-sysprep-script.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/sysprep/test-virt-sysprep-script.sh b/sysprep/test-virt-sysprep-script.sh
index 36a7ab86..09c42aff 100755
--- a/sysprep/test-virt-sysprep-script.sh
+++ b/sysprep/test-virt-sysprep-script.sh
@@ -20,6 +20,11 @@ export LANG=C
set -e
#set -x
+if [ -n "$SKIP_TEST_VIRT_SYSPREP_SCRIPT_SH" ]; then
+ echo "$0: test skipped because environment variable is set."
+ exit 0
+fi
+
if [ ! -w /dev/fuse ]; then
echo "$0: SKIPPING test, because there is no /dev/fuse."
exit 0