summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAge
* Remove support for /etc/lsb-release in favour of /usr/lib/os-releaseDidier Raboud2018-11-28
| | | | | | This modifies `lsb-release -r` to be a single-digit alternative (10 instead of 10.5). Closes: #914287
* Fix regressions on python2Didier Raboud2016-11-25
| | | | Closes: #845489
* Test the distro-info non-Debian fallback, to fix #845489Didier Raboud2016-11-25
|
* Update lsb_release.py to cope with the new Debian Ports' release labelHelge Deller2016-06-29
| | | | | Closes: #827137 Changed-by: Didier Raboud <odyx@debian.org> to have tests for both the old and the new versions
* Drop all the LSB compatibility packages besides lsb-release and lsb-baseDidier Raboud2015-08-12
| | | | | | | | | | | | - Drop packages-availability checking in lsb-release - Truncate README.Debian to a minimum - Document this in lsb-base.NEWS This was discussed on the debian-lsb and debian-devel lists in the following thread: https://lists.debian.org/4526217.myWFlvm1rM@gyllingar In particular, the following was the plan: https://lists.debian.org/4682310.7LIWdV4Lar@gyllingar
* Rework the releases codename handling:Didier Raboud2015-08-12
| | | | | | | - Depend and Build-Depend on distro-info-data, and populate the RELEASES_CODENAME_LOOKUP from that reference - Drop meaningless tests trying to compare random release names Gbp-Dch: Full
* Port to python3, keep compatibility symlink for lsb_release.pyAlexandre Detiste2015-07-14
| | | | Closes: #719063
* test/test_lsb_release.py: also, make lsb_release ignore dpkg origins for the ↵Steve Langasek2013-06-05
| | | | test, otherwise the test fails on derivatives.
* Fix lsb_release to correctly work with stable release updates incrementing ↵Didier Raboud2013-06-05
| | | | | | | | the second digit from Wheezy on. Also fix the test cases to cover that. Closes: #711174
* Get Distributor ID from /etc/dpkg/origins/default if existantDidier Raboud2013-05-15
| | | | | | This helps Debian derivatives to avoid forking the lsb package. Closes: #703677
* Sanity-check pidofproc parametersJeff Licquia2012-11-10
| | | | Closes: #691422.
* Add test case for #675618.Didier Raboud2012-06-04
|
* Py: Deprecate the compare_release function.Didier Raboud2012-05-23
| | | | In the process, rewrite it to be based on release_index() for robustness.
* Py3: Fix parse_policy_line test for python3.Didier Raboud2012-05-23
| | | | Git-Dch: None
* Py3: Replace `compare` with `key` function.Didier Raboud2012-05-23
|
* PyUT: Add test_sort_releases to test multiple sorting syntaxes.Didier Raboud2012-05-23
| | | | Git-Dch: None
* Py3: Replace cmp usage by its equivalent.Didier Raboud2012-05-23
|
* PyUT3: Fix rnd_string to use ascii_letters and range instead of letters and ↵Didier Raboud2012-05-23
| | | | | | xrange. Git-Dch: None
* PyUT: Implement test for lsb_release.get_distro_information.Didier Raboud2012-05-23
|
* PyUT: Put the distinfo commonities in get_arch_distinfo function.Didier Raboud2012-05-23
| | | | Git-Dch: None
* PyUT: re-indent the guess_release_from_apt calls.Didier Raboud2012-05-23
| | | | Git-Dch: None
* PyUT: Implement test for lsb_release.guess_debian_release.Didier Raboud2012-05-23
| | | | | | This includes a modification of lsb_release.py to enable an overridability with an environment variable LSB_ETC_DEBIAN_VERSION that can point to another /etc/debian_version.
* PyUT: Implement test for lsb_release.guess_release_apt.Didier Raboud2012-05-22
|
* PyUT: Bugfix environment left-overs.Didier Raboud2012-05-22
| | | | Git-Dch: None
* PyUT: Implement test for lsb_release.get_lsb_information.Didier Raboud2012-05-22
| | | | | | This includes a modification of lsb_release.py to enable an overridability with an environment variable LSB_ETC_LSB_RELEASE that can point to another /etc/lsb-release
* PyUT: Implement test for lsb_release.check_modules_installed.Didier Raboud2012-05-22
|
* PyUT: Implement test for lsb_release.parse_apt_policy.Didier Raboud2012-05-22
|
* PyUT: Fix a minor typo.Didier Raboud2012-05-22
| | | | Git-Dch: None
* PyUT: Add a fake apt-cache for testing purposes.Didier Raboud2012-05-22
|
* PyUT: Implement test for lsb_release.compare_release.Didier Raboud2012-05-22
|
* PyUT: Add rnd_string function for the creation of random strings.Didier Raboud2012-05-21
| | | | Git-Dch: None
* PyUT: Implement test for lsb_release.parse_policy_line.Didier Raboud2012-05-21
|
* PyUT: Add template tests for initdutils.pyDidier Raboud2012-05-07
|
* PyUT: Skip not implemented tests.Didier Raboud2012-05-07
|
* PyUT: Implement a unittest for valid_lsb_versions.Didier Raboud2012-05-07
| | | | Take the opportunity to fix its output for cxx in 3.1.
* PyUT: Add all the lsb_release.py functions as NotImplemented tests.Didier Raboud2012-05-07
|
* PyUT: Add a unittest for lookup_codename.Didier Raboud2012-05-07
|
* PyUT: Add initial unittest framework, limit possible python versions to >= 2.7.Didier Raboud2012-05-07
| | | | | | | | | | | | | | Limiting the supported python versions to >= 2.6 permits to avoid unneccessary code to permit the use of unittest in all python 2 and 3 versions such as: import sys if sys.version_info[0] >= 3: import unittest else: import unittest2 as unittest python2.7 is the default version in Debian unstable since Sep 2011.
* lsb 3.2-19 Debian release.Chris Lawrence2008-08-04
|
* lsb 3.2-18 Debian release.Chris Lawrence2008-08-04
|
* lsb 3.2-17 Debian release.Chris Lawrence2008-08-03
|
* lsb 3.2-16 Debian release.Chris Lawrence2008-08-01
|
* lsb 3.1-12 Debian release.Chris Lawrence2006-08-07