Univention Bugzilla – Bug 35177
Save installed apps in a UCR variable
Last modified: 2014-07-07 07:16:46 CEST
The app center should maintain a UCR variable which contains the installed apps as comma-separated list. To make the UCR variable not to big, we should add a short char id to every app. Currently we should limit the id to 2 characters. Please also add a test case to UCS test to ensure the short id is unique.
App Center package: Fixed in univention-management-console-module-appcenter 3.0.51-20.254.201406241643 UCR Variable is named repository/app_center/installed App Center server: Updated ini files in the Test App Center Tests: TBD
Tests done. Moved initial setting of UCR variable from postinst to join script
The test script 30_ini_checks is not executable.
I would also suggest to print something like "test failed" or "test succeeded" at the very end of the script?
The test 17_app_status does not run on my system, even though I have installed the latest packages + the dependencies that are specified in the header: > root@master60:~# /usr/share/ucs-test/20_appcenter/17_app_status > /var/cache/appcenter-installed.txt does not exist > Starting 1 ucs-test at 2014-06-26 16:42:16 to /dev/null > Checks if the apps are installed............. Test skipped (missing software) (In reply to Alexander Kläser from comment #4) > I would also suggest to print something like "test failed" or "test > succeeded" at the very end of the script? I think you did not import univention.testing.udm in this script!
(In reply to Alexander Kläser from comment #3) > The test script 30_ini_checks is not executable. Fixed (In reply to Alexander Kläser from comment #4) > I would also suggest to print something like "test failed" or "test > succeeded" at the very end of the script? Fixed (In reply to Alexander Kläser from comment #5) > The test 17_app_status does not run on my system, even though I have > installed the latest packages + the dependencies that are specified in the > header: Yes. But: > > root@master60:~# /usr/share/ucs-test/20_appcenter/17_app_status > > /var/cache/appcenter-installed.txt does not exist > > Starting 1 ucs-test at 2014-06-26 16:42:16 to /dev/null > > Checks if the apps are installed............. Test skipped (missing software) /var/cache/appcenter-installed.txt does not exist -> Test does not run and exits with a special return code. I did not really change 17_app_status (just moved some code to 30_ini_checks)
(In reply to Dirk Wiesenthal from comment #6) > (In reply to Alexander Kläser from comment #3) > > The test script 30_ini_checks is not executable. > > Fixed OK. > (In reply to Alexander Kläser from comment #4) > > I would also suggest to print something like "test failed" or "test > > succeeded" at the very end of the script? > > Fixed OK. > (In reply to Alexander Kläser from comment #5) > > The test 17_app_status does not run on my system, even though I have > > installed the latest packages + the dependencies that are specified in the > > header: > ... > /var/cache/appcenter-installed.txt does not exist -> Test does not run and > exits with a special return code. I did not really change 17_app_status > (just moved some code to 30_ini_checks) OK. Otherwise behaviour is fine, UCR variable is set with App IDs, tests are OK. YAML file → OK. → VERIFIED
http://errata.univention.de/ucs/3.2/133.html