https://bugzilla.novell.com/show_bug.cgi?id=222955
Summary: Dummy YaST (YCP) Module for Testing ZYPP Product: openSUSE 10.3 Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Enhancement Priority: P5 - None Component: YaST2 AssignedTo: mvidner@novell.com ReportedBy: locilka@novell.com QAContact: jsrain@novell.com
When I was adding a testsuite into the yast2-update to keep bug 153576 behavior controlled for future I ran into the problem with ZYPP trying to create some directories during initialization (somewhere deep in includes probably in Package.ycp).
This was impossible to fix because testsuites are running with autobuild's permissions and one needs to be root to create these directories. That's why the testsuite couldn't pass.
Please, create a dummy YCP module that would, e.g., initialize the ZYPP's Target in the /tmp directory or any other simple solution. It should be part of the yast2-testsuite package.
Thanks.
https://bugzilla.novell.com/show_bug.cgi?id=222955
mvidner@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED
------- Comment #1 from mvidner@novell.com 2006-11-22 09:22 MST ------- Right. Something like Pkg::TargetInitialize ("/tmp/(wherever)") in Testsuite().
https://bugzilla.novell.com/show_bug.cgi?id=222955
Jiri Srain jsrain@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P4 - Low