summaryrefslogtreecommitdiff
path: root/tests.as-root/building-a-system-branch-works-anywhere.script
diff options
context:
space:
mode:
Diffstat (limited to 'tests.as-root/building-a-system-branch-works-anywhere.script')
-rwxr-xr-xtests.as-root/building-a-system-branch-works-anywhere.script6
1 files changed, 1 insertions, 5 deletions
diff --git a/tests.as-root/building-a-system-branch-works-anywhere.script b/tests.as-root/building-a-system-branch-works-anywhere.script
index 2bba83dc..e79fa167 100755
--- a/tests.as-root/building-a-system-branch-works-anywhere.script
+++ b/tests.as-root/building-a-system-branch-works-anywhere.script
@@ -20,11 +20,7 @@
set -eu
# Disable test on versions of Python before 2.7.
-if ! python --version 2>&1 | grep '^Python 2\.[78]' > /dev/null
-then
- cat "$SRCDIR/tests.as-root/building-a-system-branch-works-anywhere.stdout"
- exit 0
-fi
+source "$SRCDIR/scripts/python-check"
source "$SRCDIR/tests.as-root/setup-build"