![](https://seccdn.libravatar.org/avatar/e2145bc5cf53dda95c308a3c75e8fef3.jpg?s=120&d=mm&r=g)
Hello community, here is the log from the commit of package yast2-network checked in at Tue Sep 16 16:56:56 CEST 2008. -------- --- yast2-network/yast2-network.changes 2008-09-15 16:40:27.000000000 +0200 +++ /mounts/work_src_done/STABLE/yast2-network/yast2-network.changes 2008-09-16 16:14:43.000000000 +0200 @@ -1,0 +2,5 @@ +Tue Sep 16 15:59:54 CEST 2008 - mzugec@suse.de + +- testsuite adapted to new changes (call yast2::XML) + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-network.spec ++++++ --- /var/tmp/diff_new_pack.y26530/_old 2008-09-16 16:56:49.000000000 +0200 +++ /var/tmp/diff_new_pack.y26530/_new 2008-09-16 16:56:49.000000000 +0200 @@ -20,7 +20,7 @@ Name: yast2-network Version: 2.17.26 -Release: 2 +Release: 3 License: GPL v2 or later Group: System/YaST BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -142,8 +142,9 @@ %doc %{prefix}/share/doc/packages/yast2-network %exclude %{prefix}/share/doc/packages/yast2-network/COPYING %exclude %{prefix}/share/doc/packages/yast2-network/README - %changelog +* Tue Sep 16 2008 mzugec@suse.de +- testsuite adapted to new changes (call yast2::XML) * Mon Sep 15 2008 mzugec@suse.de - fixed testsuite * Fri Sep 12 2008 mzugec@suse.cz ++++++ yast2-network-2.17.26.tar.bz2 ++++++ ++++ 9464 lines of diff (skipped) ++++ retrying with extended exclude list diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-network-2.17.26/configure.in new/yast2-network-2.17.26/configure.in --- old/yast2-network-2.17.26/configure.in 2008-09-12 15:39:02.000000000 +0200 +++ new/yast2-network-2.17.26/configure.in 2008-09-15 16:31:25.000000000 +0200 @@ -1,6 +1,6 @@ dnl configure.in for yast2-network dnl -dnl -- This file is generated by y2autoconf 2.17.0 - DO NOT EDIT! -- +dnl -- This file is generated by y2autoconf 2.17.6 - DO NOT EDIT! -- dnl (edit configure.in.in instead) AC_INIT(yast2-network, 2.17.26, http://bugs.opensuse.org/, yast2-network) diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-network-2.17.26/testsuite/tests/complex.ycp new/yast2-network-2.17.26/testsuite/tests/complex.ycp --- old/yast2-network-2.17.26/testsuite/tests/complex.ycp 2008-01-24 14:41:27.000000000 +0100 +++ new/yast2-network-2.17.26/testsuite/tests/complex.ycp 2008-09-15 18:22:57.000000000 +0200 @@ -1,16 +1,22 @@ { // testedfiles: complex.ycp Testsuite.ycp - -include "testsuite.ycp"; + import "Testsuite"; + map READ = $[ + "target" : $[ + "tmpdir" : "/tmp", + "stat" : $[], + ], + ]; + Testsuite::Init ([READ], 0); map Devs = $[]; include "network/complex.ycp"; list<map> Hardware = [ $["bus":"pci", "busid":"1234", "name":"hwtest"] ]; -DUMP("HardwareName"); -TEST(``(HardwareName(Hardware, "")), [], nil); -TEST(``(HardwareName(Hardware, "bus-pci-1234")), [], nil); +Testsuite::Dump("HardwareName"); +Testsuite::Test(``(HardwareName(Hardware, "")), [], nil); +Testsuite::Test(``(HardwareName(Hardware, "bus-pci-1234")), [], nil); } diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-network-2.17.26/testsuite/tests/hardware.ycp new/yast2-network-2.17.26/testsuite/tests/hardware.ycp --- old/yast2-network-2.17.26/testsuite/tests/hardware.ycp 2008-01-24 14:41:27.000000000 +0100 +++ new/yast2-network-2.17.26/testsuite/tests/hardware.ycp 2008-09-15 18:22:54.000000000 +0200 @@ -1,10 +1,15 @@ { // testedfiles: hardware.ycp Testsuite.ycp + import "Testsuite"; + map READ = $[ + "target" : $[ + "tmpdir" : "/tmp", + "stat" : $[], + ], + ]; + Testsuite::Init ([READ], 0); -include "testsuite.ycp"; - -TESTSUITE_INIT([], nil); string description = ""; string type = ""; @@ -13,9 +18,9 @@ list<string> Requires = []; include "network/hardware.ycp"; -DUMP("DeviceName"); -TEST(``(DeviceName($[])), [], nil); -TEST(``(DeviceName($["model":"hwmodel"])), [], nil); -TEST(``(DeviceName($["sub_vendor":"hwvendor", "sub_device":"hwdevice"])), [], nil); +Testsuite::Dump("DeviceName"); +Testsuite::Test(``(DeviceName($[])), [], nil); +Testsuite::Test(``(DeviceName($["model":"hwmodel"])), [], nil); +Testsuite::Test(``(DeviceName($["sub_vendor":"hwvendor", "sub_device":"hwdevice"])), [], nil); } diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-network-2.17.26/testsuite/tests/Proxy.out new/yast2-network-2.17.26/testsuite/tests/Proxy.out --- old/yast2-network-2.17.26/testsuite/tests/Proxy.out 2008-01-24 14:41:27.000000000 +0100 +++ new/yast2-network-2.17.26/testsuite/tests/Proxy.out 2008-09-15 18:05:15.000000000 +0200 @@ -1,4 +1,7 @@ Read .target.tmpdir "/tmp" +Read .target.stat "/y2update/control.xml" nil +Read .target.size "/y2update/control.xml" 1 +Read .xml "/y2update/control.xml" nil Dump Read Read .sysconfig.proxy.HTTP_PROXY "h" Read .sysconfig.proxy.HTTPS_PROXY "h" diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-network-2.17.26/testsuite/tests/routines.out new/yast2-network-2.17.26/testsuite/tests/routines.out --- old/yast2-network-2.17.26/testsuite/tests/routines.out 2008-01-24 14:41:27.000000000 +0100 +++ new/yast2-network-2.17.26/testsuite/tests/routines.out 2008-09-15 18:26:31.000000000 +0200 @@ -1,4 +1,10 @@ Read .target.tmpdir "/tmp" +Read .target.stat "/y2update/control.xml" $[] +Read .target.stat "/control.xml" $[] +Read .target.stat "/etc/YaST2/control.xml" $[] +Read .target.stat "/usr/share/YaST2/control/control.xml" $[] +Log No control file found +Log control file missing Dump list2items Return [`item (`id (0), "x", true), `item (`id (1), "y", false)] Dump hwlist2items diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-network-2.17.26/testsuite/tests/routines.ycp new/yast2-network-2.17.26/testsuite/tests/routines.ycp --- old/yast2-network-2.17.26/testsuite/tests/routines.ycp 2008-01-24 14:41:27.000000000 +0100 +++ new/yast2-network-2.17.26/testsuite/tests/routines.ycp 2008-09-15 18:25:41.000000000 +0200 @@ -1,19 +1,20 @@ { + import "Testsuite"; + map READ = $[ + "target" : $[ + "tmpdir" : "/tmp", + "stat" : $[], + ], + ]; + Testsuite::Init ([READ], 0); include "testsuite.ycp"; -map READ = $[ - "target" : $[ - "tmpdir" : "/tmp", - ], -]; - -TESTSUITE_INIT([READ], nil); include "network/routines.ycp"; -DUMP("list2items"); -TEST(``(list2items(["x","y"], 0)), [], nil); +Testsuite::Dump("list2items"); +Testsuite::Test(``(list2items(["x","y"], 0)), [], nil); -DUMP("hwlist2items"); -TEST(``(hwlist2items([$["name":"x"],$["name":"y"]], 0)), [], nil); +Testsuite::Dump("hwlist2items"); +Testsuite::Test(``(hwlist2items([$["name":"x"],$["name":"y"]], 0)), [], nil); } ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org