Print this page
4620 Add OmniOS as a runnable usr/src/test distro

@@ -11,10 +11,11 @@
 # http://www.illumos.org/license/CDDL.
 #
 
 #
 # Copyright (c) 2012 by Delphix. All rights reserved.
+# Copyright 2014, OmniTI Computer Consulting, Inc. All rights reserved.
 #
 
 export STF_SUITE="/opt/zfs-tests"
 export STF_TOOLS="/opt/test-runner/stf"
 runner="/opt/test-runner/bin/run"

@@ -56,10 +57,12 @@
         typeset distro=
         if [[ -d /opt/delphix && -h /etc/delphix/version ]]; then
                 distro=delphix
         elif [[ 0 -ne $(grep -c OpenIndiana /etc/release 2>/dev/null) ]]; then
                 distro=openindiana
+        elif [[ 0 -ne $(grep -c OmniOS /etc/release 2>/dev/null) ]]; then
+                distro=omnios
         fi
 
         [[ -n $distro ]] && echo $STF_SUITE/runfiles/$distro.run
 }