|
38 | 38 | BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
|
39 | 39 | """
|
40 | 40 |
|
| 41 | +UBUNTU_1604_OS_RELEASE = """ |
| 42 | +NAME="Ubuntu" |
| 43 | +VERSION="16.04 LTS (Xenial Xerus)" |
| 44 | +ID=ubuntu |
| 45 | +ID_LIKE=debian |
| 46 | +PRETTY_NAME="Ubuntu 16.04 LTS" |
| 47 | +VERSION_ID="16.04" |
| 48 | +HOME_URL="http://www.ubuntu.com/" |
| 49 | +SUPPORT_URL="http://help.ubuntu.com/" |
| 50 | +BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/" |
| 51 | +UBUNTU_CODENAME=xenial |
| 52 | +""" |
| 53 | + |
| 54 | +DEBIAN_7_OS_RELEASE = """ |
| 55 | +PRETTY_NAME="Debian GNU/Linux 7 (wheezy)" |
| 56 | +NAME="Debian GNU/Linux" |
| 57 | +VERSION_ID="7" |
| 58 | +VERSION="7 (wheezy)" |
| 59 | +ID=debian |
| 60 | +ANSI_COLOR="1;31" |
| 61 | +HOME_URL="http://www.debian.org/" |
| 62 | +SUPPORT_URL="http://www.debian.org/support/" |
| 63 | +BUG_REPORT_URL="http://bugs.debian.org/" |
| 64 | +""" |
| 65 | + |
| 66 | +DEBIAN_8_OS_RELEASE = """ |
| 67 | +PRETTY_NAME="Debian GNU/Linux 8 (jessie)" |
| 68 | +NAME="Debian GNU/Linux" |
| 69 | +VERSION_ID="8" |
| 70 | +VERSION="8 (jessie)" |
| 71 | +ID=debian |
| 72 | +HOME_URL="http://www.debian.org/" |
| 73 | +SUPPORT_URL="http://www.debian.org/support" |
| 74 | +BUG_REPORT_URL="https://bugs.debian.org/" |
| 75 | +""" |
| 76 | + |
41 | 77 | architecturePayloads = [
|
42 | 78 | ['osx_x86-64', False, [], ('','',''), 'Darwin', 'x86-64'],
|
43 | 79 | ['slc5_x86-64', False, [], ('redhat', '5.XX', 'Boron'), 'Linux', 'x86-64'],
|
44 | 80 | ['slc6_x86-64', False, [], ('centos', '6.X', 'Carbon'), 'Linux', 'x86-64'],
|
45 | 81 | ['slc7_x86-64', False, [], ('centos', '7.X', 'Ptor'), 'Linux', 'x86-64'],
|
| 82 | + ['ubuntu1604_x86-64', True, UBUNTU_1604_OS_RELEASE.split("\n"), ('Ubuntu', '16.04', 'xenial'), 'Linux', 'x86-64'], |
46 | 83 | ['ubuntu1510_x86-64', False, [], ('Ubuntu', '15.10', 'wily'), 'Linux', 'x86-64'],
|
47 | 84 | ['ubuntu1510_x86-64', True, UBUNTU_1510_OS_RELEASE.split("\n"), ('Ubuntu', '15.10', 'wily'), 'Linux', 'x86-64'],
|
48 | 85 | ['ubuntu1510_x86-64', True, UBUNTU_1510_OS_RELEASE.split("\n"), ('', '', ''), 'Linux', 'x86-64'], # ANACONDA case
|
49 | 86 | ['ubuntu1404_x86-64', True, UBUNTU_1404_OS_RELEASE.split("\n"), ('Ubuntu', '14.04', 'trusty'), 'Linux', 'x86-64'],
|
50 | 87 | ['ubuntu1404_x86-64', True, UBUNTU_1404_OS_RELEASE.split("\n"), ('', '', ''), 'Linux', 'x86-64'],
|
51 | 88 | ['ubuntu1404_x86-64', True, LINUX_MINT_OS_RELEASE.split("\n"), ('LinuxMint', '17.3', 'rosa'), 'Linux', 'x86-64'], # LinuxMint
|
| 89 | + ['ubuntu1204_x86-64', True, DEBIAN_7_OS_RELEASE.split("\n"), ('Debian', '7', 'wheezy'), 'Linux', 'x86-64'], |
| 90 | + ['ubuntu1404_x86-64', True, DEBIAN_8_OS_RELEASE.split("\n"), ('Debian', '8', 'jessie'), 'Linux', 'x86-64'] |
52 | 91 | ]
|
53 | 92 |
|
54 | 93 | class TestArchitectures(unittest.TestCase):
|
|
0 commit comments