Univention Bugzilla – Attachment 8614 Details for
Bug 43901
RequiredUCSVersion check does not compare correctly
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
09_install_app-RequiredUCSVersion
09_install_app-RequiredUCSVersion (text/plain), 990 bytes, created by
Stefan Gohmann
on 2017-03-22 15:44:08 CET
(
hide
)
Description:
09_install_app-RequiredUCSVersion
Filename:
MIME Type:
Creator:
Stefan Gohmann
Created:
2017-03-22 15:44:08 CET
Size:
990 bytes
patch
obsolete
>#!/usr/share/ucs-test/runner python >## desc: Test RequiredUCSVersion >## tags: [docker] >## exposure: dangerous >## packages: >## - docker.io > >from dockertest import * >from univention.config_registry import ConfigRegistry >from univention.testing.utils import get_ldap_connection >if __name__ == '__main__': > with Appcenter() as appcenter: > app_name = get_app_name() > app_version = get_app_version() > > try: > app_nondocker = App(name=get_app_name(), version=get_app_version(), build_package=False) > app_nondocker.set_ini_parameter(Code='ND') > > # app_nondocker.set_ini_parameter(RequiredUCSVersion='4.2-0 errata1') > app_nondocker.set_ini_parameter(RequiredUCSVersion='4.2-0 errata0') > # app_nondocker.set_ini_parameter(RequiredUCSVersion='4.2-1') > > app_nondocker.add_to_local_appcenter() > > appcenter.update() > > app_nondocker.install() > subprocess.call(['univention-add-app', '-la', app_nondocker.app_name]) > > > finally: > app_nondocker.uninstall() > app_nondocker.remove()
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 43901
: 8614