summaryrefslogtreecommitdiffstats
path: root/tests/basic/rpm.t
diff options
context:
space:
mode:
Diffstat (limited to 'tests/basic/rpm.t')
-rwxr-xr-xtests/basic/rpm.t10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/basic/rpm.t b/tests/basic/rpm.t
index db90398a152..bbe3f464477 100755
--- a/tests/basic/rpm.t
+++ b/tests/basic/rpm.t
@@ -16,6 +16,16 @@
. $(dirname $0)/../include.rc
+case $OSTYPE in
+Linux)
+ ;;
+*)
+ echo "Skip test using mock, which requires Linux" >&2
+ SKIP_TESTS
+ exit 0
+ ;;
+esac
+
# enable some extra debugging
if [ -n "${DEBUG}" -a "${DEBUG}" != "0" ]
then