summaryrefslogtreecommitdiff
path: root/mk/testcases
diff options
context:
space:
mode:
authorPhus Lu <phus.lu@citrix.com>2015-06-01 10:50:41 +0100
committerPhus Lu <phus.lu@citrix.com>2015-06-03 04:37:13 +0100
commitb27698cbb4ddeb06a52061cd669c510084c1f916 (patch)
tree1ddc39f8c2eee32dcf10bd6bed18b7a543caffa6 /mk/testcases
parentfa78be4b463ee703c82c5b711520d3aa953ad846 (diff)
downloadvyos-xe-guest-utilities-b27698cbb4ddeb06a52061cd669c510084c1f916.tar.gz
vyos-xe-guest-utilities-b27698cbb4ddeb06a52061cd669c510084c1f916.zip
CP-12326: move guest-packages.hg/utils into xe-guest-utilities.git
Signed-off-by: Phus Lu <phus.lu@citrix.com>
Diffstat (limited to 'mk/testcases')
-rw-r--r--mk/testcases/centos41
-rw-r--r--mk/testcases/centos51
-rw-r--r--mk/testcases/ddk-0.5.6-2991c1
-rw-r--r--mk/testcases/debian-sarge1
-rw-r--r--mk/testcases/debian-sid1
-rw-r--r--mk/testcases/fc31
-rwxr-xr-xmk/testcases/lsb41
-rw-r--r--mk/testcases/lsb-coreos-367.1.04
-rw-r--r--mk/testcases/lsb-ubuntu-6.103
-rw-r--r--mk/testcases/lsb-ubuntu-7.043
-rw-r--r--mk/testcases/oracle-51
-rw-r--r--mk/testcases/oracle-5u11
-rw-r--r--mk/testcases/rhel-3u61
-rw-r--r--mk/testcases/rhel-3u81
-rw-r--r--mk/testcases/rhel-41
-rw-r--r--mk/testcases/rhel-4u11
-rw-r--r--mk/testcases/rhel-4u21
-rw-r--r--mk/testcases/rhel-4u31
-rw-r--r--mk/testcases/rhel-4u41
-rw-r--r--mk/testcases/rhel-4u51
-rw-r--r--mk/testcases/rhel-4u61
-rw-r--r--mk/testcases/rhel-51
-rw-r--r--mk/testcases/rhel-5beta1
-rw-r--r--mk/testcases/rhel-5u11
-rw-r--r--mk/testcases/rhel-5u1beta1
-rw-r--r--mk/testcases/sdk-0.5.6-2991c1
-rw-r--r--mk/testcases/sles-10sp23
-rw-r--r--mk/testcases/sles-113
-rw-r--r--mk/testcases/sles-92
-rw-r--r--mk/testcases/sles-9sp33
30 files changed, 84 insertions, 0 deletions
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