[Bug 481369] New: testing autoyast schema is hard
https://bugzilla.novell.com/show_bug.cgi?id=481369 Summary: testing autoyast schema is hard Classification: openSUSE Product: openSUSE 11.2 Version: Factory Platform: Other OS/Version: Other Status: ASSIGNED Severity: Minor Priority: P5 - None Component: AutoYaST AssignedTo: mvidner@novell.com ReportedBy: mvidner@novell.com QAContact: qa@suse.de CC: ug@novell.com Found By: --- As seen in bug 480466, it is easy to have outdated schema for AutoYaST. That is probably because testing it is hard, as I have witnessed while helping Miso fix his part of that bug. In particular it is currently not possible to validate from a source tree. The developer must mimic building yast2-schema.rpm by doing $ trang networking.rnc networking.rng $ sudo cp networking.rng /usr/share/YaST2/schema/autoyast/rng (Using /usr/share/YaST2/schema/autoyast/rnc/profile.rnc does not work because it references *.rnc from packages that my not be installed) How it should work instead: $ vi networking.rnc $ cat test1.xml <?xml ...> <profile> <networking> ... </networking> </profile> $ ay-test-validate ./networking.rnc ./test1.xml Once this works, the next step is to include the validation test in the testsuite. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=481369 Martin Vidner <mvidner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com