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 OS_TESTS="/opt/os-tests"
runner="/opt/test-runner/bin/run"
@@ -29,10 +30,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 $OS_TESTS/runfiles/$distro.run
}