Mailinglist Archive: yast-devel (121 mails)

< Previous Next >
Re: [yast-devel] testing functions using Pkg calls
Dne Út 21. června 2011 16:43:06 Stanislav Visnovsky napsal(a):
On Ut 21. Jún 2011 16:36:01 Ladislav Slezak wrote:
Dne 21.6.2011 16:21, Jiri Suchomel napsal(a):
Would it make sense to revive this? Or to even enable real mocking of
Pkg? Or is it waste of the effort, which we should rather invest into
the new YaST++ project?

This still should be possible. Did you try to use y2base -M option
(namespace overloading)?


Thanks, this works (with -n, not -M):

/usr/lib/YaST2/bin/y2base -l - -n Pkg=WFM -M . tests/ProductProfile.ycp

where Pkg.y* exists in current directory ("-M .")

Jiri Suchomel

SUSE LINUX, s.r.o. e-mail: jsuchome@xxxxxxx
Lihovarská 1060/12 tel: +420 284 028 960
190 00 Praha 9, Czech Republic
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-devel+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups