From b27698cbb4ddeb06a52061cd669c510084c1f916 Mon Sep 17 00:00:00 2001 From: Phus Lu Date: Mon, 1 Jun 2015 10:50:41 +0100 Subject: CP-12326: move guest-packages.hg/utils into xe-guest-utilities.git Signed-off-by: Phus Lu --- mk/testcases/centos4 | 1 + mk/testcases/centos5 | 1 + mk/testcases/ddk-0.5.6-2991c | 1 + mk/testcases/debian-sarge | 1 + mk/testcases/debian-sid | 1 + mk/testcases/fc3 | 1 + mk/testcases/lsb | 41 +++++++++++++++++++++++++++++++++++++++++ mk/testcases/lsb-coreos-367.1.0 | 4 ++++ mk/testcases/lsb-ubuntu-6.10 | 3 +++ mk/testcases/lsb-ubuntu-7.04 | 3 +++ mk/testcases/oracle-5 | 1 + mk/testcases/oracle-5u1 | 1 + mk/testcases/rhel-3u6 | 1 + mk/testcases/rhel-3u8 | 1 + mk/testcases/rhel-4 | 1 + mk/testcases/rhel-4u1 | 1 + mk/testcases/rhel-4u2 | 1 + mk/testcases/rhel-4u3 | 1 + mk/testcases/rhel-4u4 | 1 + mk/testcases/rhel-4u5 | 1 + mk/testcases/rhel-4u6 | 1 + mk/testcases/rhel-5 | 1 + mk/testcases/rhel-5beta | 1 + mk/testcases/rhel-5u1 | 1 + mk/testcases/rhel-5u1beta | 1 + mk/testcases/sdk-0.5.6-2991c | 1 + mk/testcases/sles-10sp2 | 3 +++ mk/testcases/sles-11 | 3 +++ mk/testcases/sles-9 | 2 ++ mk/testcases/sles-9sp3 | 3 +++ 30 files changed, 84 insertions(+) create mode 100644 mk/testcases/centos4 create mode 100644 mk/testcases/centos5 create mode 100644 mk/testcases/ddk-0.5.6-2991c create mode 100644 mk/testcases/debian-sarge create mode 100644 mk/testcases/debian-sid create mode 100644 mk/testcases/fc3 create mode 100755 mk/testcases/lsb create mode 100644 mk/testcases/lsb-coreos-367.1.0 create mode 100644 mk/testcases/lsb-ubuntu-6.10 create mode 100644 mk/testcases/lsb-ubuntu-7.04 create mode 100644 mk/testcases/oracle-5 create mode 100644 mk/testcases/oracle-5u1 create mode 100644 mk/testcases/rhel-3u6 create mode 100644 mk/testcases/rhel-3u8 create mode 100644 mk/testcases/rhel-4 create mode 100644 mk/testcases/rhel-4u1 create mode 100644 mk/testcases/rhel-4u2 create mode 100644 mk/testcases/rhel-4u3 create mode 100644 mk/testcases/rhel-4u4 create mode 100644 mk/testcases/rhel-4u5 create mode 100644 mk/testcases/rhel-4u6 create mode 100644 mk/testcases/rhel-5 create mode 100644 mk/testcases/rhel-5beta create mode 100644 mk/testcases/rhel-5u1 create mode 100644 mk/testcases/rhel-5u1beta create mode 100644 mk/testcases/sdk-0.5.6-2991c create mode 100644 mk/testcases/sles-10sp2 create mode 100644 mk/testcases/sles-11 create mode 100644 mk/testcases/sles-9 create mode 100644 mk/testcases/sles-9sp3 (limited to 'mk/testcases') diff --git a/mk/testcases/centos4 b/mk/testcases/centos4 new file mode 100644 index 0000000..34c6a8a --- /dev/null +++ b/mk/testcases/centos4 @@ -0,0 +1 @@ +CentOS release 4.0 (Final) diff --git a/mk/testcases/centos5 b/mk/testcases/centos5 new file mode 100644 index 0000000..e1d8ca0 --- /dev/null +++ b/mk/testcases/centos5 @@ -0,0 +1 @@ +CentOS release 5 (Final) diff --git a/mk/testcases/ddk-0.5.6-2991c b/mk/testcases/ddk-0.5.6-2991c new file mode 100644 index 0000000..1151864 --- /dev/null +++ b/mk/testcases/ddk-0.5.6-2991c @@ -0,0 +1 @@ +Rio DDK release 0.5.6-2991c (xenenterprise) diff --git a/mk/testcases/debian-sarge b/mk/testcases/debian-sarge new file mode 100644 index 0000000..8c50098 --- /dev/null +++ b/mk/testcases/debian-sarge @@ -0,0 +1 @@ +3.1 diff --git a/mk/testcases/debian-sid b/mk/testcases/debian-sid new file mode 100644 index 0000000..9ded89b --- /dev/null +++ b/mk/testcases/debian-sid @@ -0,0 +1 @@ +lenny/sid diff --git a/mk/testcases/fc3 b/mk/testcases/fc3 new file mode 100644 index 0000000..a42cc82 --- /dev/null +++ b/mk/testcases/fc3 @@ -0,0 +1 @@ +Fedora Core release 3 (Heidelberg) diff --git a/mk/testcases/lsb b/mk/testcases/lsb new file mode 100755 index 0000000..c691772 --- /dev/null +++ b/mk/testcases/lsb @@ -0,0 +1,41 @@ +#!/bin/sh + +set -e + +if [ $1 != "--short" ] ; then + echo "Invalid parameter: $1" 1>&2 + exit 1 +fi + +if [ ! -f "${TESTCASE}" ] ; then + echo "Testcase ${TESTCASE} not found" 1>&2 + exit 1 +fi + +case $(basename ${TESTCASE}) in + lsb-*) ;; + *) exit 1 +esac + +. ${TESTCASE} + +if [ -z "$ID" ] ; then + ID="$DISTRIB_ID" +fi +if [ -z "$DESCRIPTION" ] ; then + DESCRIPTION="$DISTRIB_DESCRIPTION" +fi +if [ -z "$RELEASE" ] ; then + RELEASE="$DISTRIB_RELEASE" +fi + +case $2 in + --id) echo ${ID} ;; + --description) echo ${DESCRIPTION} ;; + --release) echo ${RELEASE} ;; + *) + echo "Invalid paramter: $2" 1>&2 + exit 1;; +esac + +exit 0 diff --git a/mk/testcases/lsb-coreos-367.1.0 b/mk/testcases/lsb-coreos-367.1.0 new file mode 100644 index 0000000..b5ebcc7 --- /dev/null +++ b/mk/testcases/lsb-coreos-367.1.0 @@ -0,0 +1,4 @@ +DISTRIB_ID=CoreOS +DISTRIB_RELEASE=367.1.0 +DISTRIB_CODENAME="Red Dog" +DISTRIB_DESCRIPTION="CoreOS 367.1.0" \ No newline at end of file diff --git a/mk/testcases/lsb-ubuntu-6.10 b/mk/testcases/lsb-ubuntu-6.10 new file mode 100644 index 0000000..5a6f488 --- /dev/null +++ b/mk/testcases/lsb-ubuntu-6.10 @@ -0,0 +1,3 @@ +ID="Ubuntu" +DESCRPITON="Ubuntu 6.10" +RELEASE="6.10" diff --git a/mk/testcases/lsb-ubuntu-7.04 b/mk/testcases/lsb-ubuntu-7.04 new file mode 100644 index 0000000..c857156 --- /dev/null +++ b/mk/testcases/lsb-ubuntu-7.04 @@ -0,0 +1,3 @@ +ID="Ubuntu" +DESCRIPTION="Ubuntu 7.04" +RELEASE="7.04" diff --git a/mk/testcases/oracle-5 b/mk/testcases/oracle-5 new file mode 100644 index 0000000..542c826 --- /dev/null +++ b/mk/testcases/oracle-5 @@ -0,0 +1 @@ +Enterprise Linux Enterprise Linux Server release 5 (Carthage) diff --git a/mk/testcases/oracle-5u1 b/mk/testcases/oracle-5u1 new file mode 100644 index 0000000..fad6c3c --- /dev/null +++ b/mk/testcases/oracle-5u1 @@ -0,0 +1 @@ +Enterprise Linux Enterprise Linux Server release 5.1 (Carthage) diff --git a/mk/testcases/rhel-3u6 b/mk/testcases/rhel-3u6 new file mode 100644 index 0000000..97004ce --- /dev/null +++ b/mk/testcases/rhel-3u6 @@ -0,0 +1 @@ +Red Hat Enterprise Linux AS release 3 (Taroon Update 6) diff --git a/mk/testcases/rhel-3u8 b/mk/testcases/rhel-3u8 new file mode 100644 index 0000000..0d75450 --- /dev/null +++ b/mk/testcases/rhel-3u8 @@ -0,0 +1 @@ +Red Hat Enterprise Linux AS release 3 (Taroon Update 8) diff --git a/mk/testcases/rhel-4 b/mk/testcases/rhel-4 new file mode 100644 index 0000000..62e7d40 --- /dev/null +++ b/mk/testcases/rhel-4 @@ -0,0 +1 @@ +Red Hat Enterprise Linux AS release 4 (Nahant) diff --git a/mk/testcases/rhel-4u1 b/mk/testcases/rhel-4u1 new file mode 100644 index 0000000..cf62351 --- /dev/null +++ b/mk/testcases/rhel-4u1 @@ -0,0 +1 @@ +Red Hat Enterprise Linux AS release 4 (Nahant Update 1) diff --git a/mk/testcases/rhel-4u2 b/mk/testcases/rhel-4u2 new file mode 100644 index 0000000..76100de --- /dev/null +++ b/mk/testcases/rhel-4u2 @@ -0,0 +1 @@ +Red Hat Enterprise Linux AS release 4 (Nahant Update 2) diff --git a/mk/testcases/rhel-4u3 b/mk/testcases/rhel-4u3 new file mode 100644 index 0000000..a258c65 --- /dev/null +++ b/mk/testcases/rhel-4u3 @@ -0,0 +1 @@ +Red Hat Enterprise Linux AS release 4 (Nahant Update 3) diff --git a/mk/testcases/rhel-4u4 b/mk/testcases/rhel-4u4 new file mode 100644 index 0000000..50ace04 --- /dev/null +++ b/mk/testcases/rhel-4u4 @@ -0,0 +1 @@ +Red Hat Enterprise Linux AS release 4 (Nahant Update 4) diff --git a/mk/testcases/rhel-4u5 b/mk/testcases/rhel-4u5 new file mode 100644 index 0000000..cf83112 --- /dev/null +++ b/mk/testcases/rhel-4u5 @@ -0,0 +1 @@ +Red Hat Enterprise Linux ES release 4 (Nahant Update 5) diff --git a/mk/testcases/rhel-4u6 b/mk/testcases/rhel-4u6 new file mode 100644 index 0000000..51ad006 --- /dev/null +++ b/mk/testcases/rhel-4u6 @@ -0,0 +1 @@ +Red Hat Enterprise Linux AS release 4 (Nahant Update 6) diff --git a/mk/testcases/rhel-5 b/mk/testcases/rhel-5 new file mode 100644 index 0000000..515506f --- /dev/null +++ b/mk/testcases/rhel-5 @@ -0,0 +1 @@ +Red Hat Enterprise Linux Server release 5 (Tikanga) diff --git a/mk/testcases/rhel-5beta b/mk/testcases/rhel-5beta new file mode 100644 index 0000000..1cb8fcf --- /dev/null +++ b/mk/testcases/rhel-5beta @@ -0,0 +1 @@ +Red Hat Enterprise Linux Server release 4.92 (Tikanga) diff --git a/mk/testcases/rhel-5u1 b/mk/testcases/rhel-5u1 new file mode 100644 index 0000000..5b6c571 --- /dev/null +++ b/mk/testcases/rhel-5u1 @@ -0,0 +1 @@ +Red Hat Enterprise Linux Server release 5.1 (Tikanga) diff --git a/mk/testcases/rhel-5u1beta b/mk/testcases/rhel-5u1beta new file mode 100644 index 0000000..65824b5 --- /dev/null +++ b/mk/testcases/rhel-5u1beta @@ -0,0 +1 @@ +Red Hat Enterprise Linux Server release 5.1 Beta (Tikanga) diff --git a/mk/testcases/sdk-0.5.6-2991c b/mk/testcases/sdk-0.5.6-2991c new file mode 100644 index 0000000..595adc5 --- /dev/null +++ b/mk/testcases/sdk-0.5.6-2991c @@ -0,0 +1 @@ +Rio SDK release 0.5.6-2991c (xenenterprise) diff --git a/mk/testcases/sles-10sp2 b/mk/testcases/sles-10sp2 new file mode 100644 index 0000000..a01febe --- /dev/null +++ b/mk/testcases/sles-10sp2 @@ -0,0 +1,3 @@ +SUSE Linux Enterprise Server 10 (i586) +VERSION = 10 +PATCHLEVEL = 2 diff --git a/mk/testcases/sles-11 b/mk/testcases/sles-11 new file mode 100644 index 0000000..d2ec72d --- /dev/null +++ b/mk/testcases/sles-11 @@ -0,0 +1,3 @@ +SUSE Linux Enterprise Server 11 (i586) +VERSION = 11 +PATCHLEVEL = 0 diff --git a/mk/testcases/sles-9 b/mk/testcases/sles-9 new file mode 100644 index 0000000..0418afa --- /dev/null +++ b/mk/testcases/sles-9 @@ -0,0 +1,2 @@ +SUSE LINUX Enterprise Server 9 (i586) +VERSION = 9 diff --git a/mk/testcases/sles-9sp3 b/mk/testcases/sles-9sp3 new file mode 100644 index 0000000..8f66b47 --- /dev/null +++ b/mk/testcases/sles-9sp3 @@ -0,0 +1,3 @@ +SUSE LINUX Enterprise Server 9 (i586) +VERSION = 9 +PATCHLEVEL = 3 -- cgit v1.2.3