Hello community,
here is the log from the commit of package yast2-core
checked in at Fri Oct 24 17:20:37 CEST 2008.
--------
--- yast2-core/yast2-core.changes 2008-10-14 16:58:16.000000000 +0200
+++ /mounts/work_src_done/STABLE/yast2-core/yast2-core.changes 2008-10-24 15:57:15.877397000 +0200
@@ -1,0 +2,6 @@
+Fri Oct 24 15:54:54 CEST 2008 - visnov@suse.cz
+
+- Also print diff when agent-process testsuite fails
+- 2.17.19
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
yast2-core-2.17.18.tar.bz2
New:
----
yast2-core-2.17.19.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-core.spec ++++++
--- /var/tmp/diff_new_pack.q16445/_old 2008-10-24 17:19:53.000000000 +0200
+++ /var/tmp/diff_new_pack.q16445/_new 2008-10-24 17:19:53.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-core (Version 2.17.18)
+# spec file for package yast2-core (Version 2.17.19)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -19,12 +19,12 @@
Name: yast2-core
-Version: 2.17.18
+Version: 2.17.19
Release: 1
License: GPL v2 or later
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-core-2.17.18.tar.bz2
+Source0: yast2-core-2.17.19.tar.bz2
Prefix: /usr
# obviously
BuildRequires: gcc-c++
@@ -95,7 +95,7 @@
Stanislav Visnovsky
%prep
-%setup -n yast2-core-2.17.18
+%setup -n yast2-core-2.17.19
%build
%{prefix}/bin/y2tool y2autoconf
@@ -178,6 +178,9 @@
%doc %{_datadir}/doc/yastdoc
/usr/share/YaST2/data/devtools/bin/generateYCPWrappers
%changelog
+* Fri Oct 24 2008 visnov@suse.cz
+- Also print diff when agent-process testsuite fails
+- 2.17.19
* Tue Oct 14 2008 mvidner@suse.cz
- Avoid YCPNull reaching SCR agents to prevent crashes (bnc#406138).
- Allow make check before make install again, after libycpvalues API
++++++ yast2-core-2.17.18.tar.bz2 -> yast2-core-2.17.19.tar.bz2 ++++++
++++ 15824 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-core-2.17.18/agent-process/testsuite/lib/ag_process_init.exp new/yast2-core-2.17.19/agent-process/testsuite/lib/ag_process_init.exp
--- old/yast2-core-2.17.18/agent-process/testsuite/lib/ag_process_init.exp 2008-02-20 07:46:17.000000000 +0100
+++ new/yast2-core-2.17.19/agent-process/testsuite/lib/ag_process_init.exp 2008-10-24 15:37:29.000000000 +0200
@@ -55,14 +55,22 @@
# check stderr
if {[diff $stderr_name "tmp.err.$base_name"] != 1} {
+ puts "\nThe diff follows...\n"
+ puts [exec sh -c "diff -u $stderr_name tmp.err.$base_name || true"]
+ puts ""
fail "Wrong stderr for $base_name"
+ puts "See the diff above."
return -1
}
# check stdout
if {[diff $stdout_name "tmp.out.$base_name"] != 1} {
+ puts "\nThe diff follows...\n"
+ puts [exec sh -c "diff -u $stdout_name tmp.out.$base_name || true"]
+ puts ""
fail "Wrong stdout for $base_name"
+ puts "See the diff above."
return -1
}
@@ -70,6 +78,9 @@
if {[find . "tests/$base_name.write"] == "./tests/$base_name.write"} {
if {[diff "tests/$base_name.write" "tmp.write.$base_name"] != 1} {
+ puts "\nThe diff follows...\n"
+ puts [exec sh -c "diff -u tests/$base_name.write tmp.write.$base_name || true"]
+ puts ""
fail "Wrong write for $base_name"
return -1
}
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-core-2.17.18/agents-perl/doc/ycp-pm-pod.html new/yast2-core-2.17.19/agents-perl/doc/ycp-pm-pod.html
--- old/yast2-core-2.17.18/agents-perl/doc/ycp-pm-pod.html 2008-10-11 12:34:02.000000000 +0200
+++ new/yast2-core-2.17.19/agents-perl/doc/ycp-pm-pod.html 2008-09-09 15:36:19.000000000 +0200
@@ -4,13 +4,15 @@
<head>
<title>ycp - a Perl module for parsing and writing the YaST2 Communication Protocol</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
-<link rev="made" href="mailto:root@localhost" />
+<link rev="made" href="mailto:feedback@suse.de" />
</head>
<body style="background-color: white">
-<p><a name="__index__"></a></p>
+
<!-- INDEX BEGIN -->
+<div name="index">
+<p><a name="__index__"></a></p>
<ul>
@@ -74,9 +76,11 @@
</ul>
</ul>
+
+<hr name="index" />
+</div>
<!-- INDEX END -->
-<hr />
<p>
</p>
<h1><a name="name">NAME</a></h1>
@@ -100,31 +104,36 @@
<p>A PerlYCPValue cannot represent a term but only a term is allowed
to initialize an agent in a .scr file. Therefore <a href="#parseterm">ParseTerm</a> is provided.</p>
<dl>
-<dt><strong><a name="item_string_2c_integer_2c_boolean">string, integer, boolean</a></strong></dt>
+<dt><strong><a name="string_integer_boolean" class="item">string, integer, boolean</a></strong>
<dd>
<p>Stored as a scalar.</p>
</dd>
-<dt><strong><a name="item_list">list</a></strong></dt>
+</li>
+<dt><strong><a name="list" class="item">list</a></strong>
<dd>
<p>Stored as a reference to a list of PerlYCPValues.</p>
</dd>
-<dt><strong><a name="item_map">map</a></strong></dt>
+</li>
+<dt><strong><a name="map" class="item">map</a></strong>
<dd>
<p>Stored as a reference to a map of PerlYCPValues.</p>
</dd>
-<dt><strong><a name="item_path">path</a></strong></dt>
+</li>
+<dt><strong><a name="path" class="item">path</a></strong>
<dd>
-<p>Stored as a reference to a string (starting with a ``.'' as expected).</p>
+<p>Stored as a reference to a string (starting with a "." as expected).</p>
</dd>
-<dt><strong><a name="item_nil">nil (void)</a></strong></dt>
+</li>
+<dt><strong><a name="nil" class="item">nil (void)</a></strong>
<dd>
<p>Stored as an undef.</p>
</dd>
+</li>
</dl>
<p>
</p>
@@ -136,7 +145,7 @@
<p>ParseComand $line</p>
<p><code>($command, $path, $arg) = ParseCommand ('Write (.moria.gate, "mellon")');</code></p>
<p>Parse a SCR command of the form Command (.some.path, optional_argument)</p>
-<p>Returns a three element list (``Command'', ``.some.path'', $argument)
+<p>Returns a three element list ("Command", ".some.path", $argument)
where the argument is a <a href="#perlycpvalue">PerlYCPValue</a> and will be undef
if it was not specified.
Note that the path is converted to a string.</p>
@@ -177,12 +186,12 @@
<p><code>Return (["arbitrarily", "complex", "data"]);</code></p>
<p>Sends a <a href="#perlycpvalue">PerlYCPValue</a> to the partner YCP component.</p>
<p>If there's just one argment, scalars are interpreted this way:
-``true'' or ``false'' are sent as
+"true" or "false" are sent as
booleans, integers or strings of digits are sent as integers, otherwise as
strings.
If a second argument exists and is true, all scalars are written as strings.
If a second argument exists and is false, all scalars are written as byteblocks.</p>
-<p>To send a list, call Return(\@list), not Return(@list).
+<p>To send a list, call <code>Return(\@list)</code>, not <code>Return(@list)</code>.
Similarly for a map. You can use references to anonymous lists [] and hashes {}.</p>
<p>The difference from <a href="#ycpreturn">ycpReturn</a> is that Return can return scalars directly,
strings are properly escaped if needeed and paths can be returned.</p>
@@ -195,9 +204,9 @@
and logging just works. In such case, you should not need to use ycp.pm at all.
Instead, <code>use YaST::YCP (":LOGGING")</code>.</p>
<p>The log output can now be redirected, which will be useful for test suites.
-If the first command-line option is ``-l'', the second argument is taken as
-the log file. A hyphen ``-'' designates standard output.</p>
-<p>Otherwise, <em>/var/log/YaST2/y2log</em> and <em>$HOME/.y2log</em> are tried, in that order.</p>
+If the first command-line option is "-l", the second argument is taken as
+the log file. A hyphen "-" designates standard output.</p>
+<p>Otherwise, <em class="file">/var/log/YaST2/y2log</em> and <em class="file">$HOME/.y2log</em> are tried, in that order.</p>
<p>
</p>
<h2><a name="y2debug">y2debug</a></h2>
@@ -207,7 +216,7 @@
y2error,
y2security,
y2internal</p>
-<p>Logs debug messages to <em>/var/log/YaST2/y2log</em> or <em>$HOME/.y2log</em></p>
+<p>Logs debug messages to <em class="file">/var/log/YaST2/y2log</em> or <em class="file">$HOME/.y2log</em></p>
<p>Note a <strong>semantic change</strong> in y2debug: now the environment variable
Y2DEBUG is honored so y2debug will not produce output unless this
variable is set. This is for compatibility with the logging system in libycp.</p>
@@ -222,11 +231,11 @@
<p>
</p>
<h2><a name="ycpargismap">ycpArgIsMap</a></h2>
-<p>Obsolete. Use (ref($arg) eq ``HASH'') instead.</p>
+<p>Obsolete. Use (ref($arg) eq "HASH") instead.</p>
<p>
</p>
<h2><a name="ycpargislist">ycpArgIsList</a></h2>
-<p>Obsolete. Use (ref($arg) eq ``ARRAY'') instead.</p>
+<p>Obsolete. Use (ref($arg) eq "ARRAY") instead.</p>
<p>
</p>
<h2><a name="ycpargisinteger">ycpArgIsInteger</a></h2>
@@ -242,7 +251,7 @@
<p>
</p>
<h2><a name="ycpargisnil">ycpArgIsNil</a></h2>
-<p>Obsolete. Use (ref($arg) eq ``SCALAR'' && $$arg eq ``nil'') instead.</p>
+<p>Obsolete. Use (ref($arg) eq "SCALAR" && $$arg eq "nil") instead.</p>
<p>
</p>
<h2><a name="ycpargisnone">ycpArgIsNone</a></h2>
@@ -250,23 +259,23 @@
<p>
</p>
<h2><a name="ycpcommandisdir">ycpCommandIsDir</a></h2>
-<p>Obsolete. Use ($command eq ``Dir'')</p>
+<p>Obsolete. Use ($command eq "Dir")</p>
<p>
</p>
<h2><a name="ycpcommandisread">ycpCommandIsRead</a></h2>
-<p>Obsolete. Use ($command eq ``Read'')</p>
+<p>Obsolete. Use ($command eq "Read")</p>
<p>
</p>
<h2><a name="ycpcommandiswrite">ycpCommandIsWrite</a></h2>
-<p>Obsolete. Use ($command eq ``Write'')</p>
+<p>Obsolete. Use ($command eq "Write")</p>
<p>
</p>
<h2><a name="ycpcommandisexecute">ycpCommandIsExecute</a></h2>
-<p>Obsolete. Use ($command eq ``Execute'')</p>
+<p>Obsolete. Use ($command eq "Execute")</p>
<p>
</p>
<h2><a name="ycpcommandisresult">ycpCommandIsResult</a></h2>
-<p>Obsolete. Use ($command eq ``result''), note the lowercase 'r'.</p>
+<p>Obsolete. Use ($command eq "result"), note the lowercase 'r'.</p>
<p>
</p>
<h2><a name="ycpgetcommand">ycpGetCommand</a></h2>
@@ -304,7 +313,7 @@
<p>
</p>
<h2><a name="ycpreturnskalarasboolean">ycpReturnSkalarAsBoolean</a></h2>
-<p>Obsolete. Use <a href="#return">Return</a>(``true'' or ``false'')</p>
+<p>Obsolete. Use <a href="#return">Return</a>("true" or "false")</p>
<p>
</p>
<h2><a name="ycpreturnskalarasstring">ycpReturnSkalarAsString</a></h2>
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-core-2.17.18/configure.in new/yast2-core-2.17.19/configure.in
--- old/yast2-core-2.17.18/configure.in 2008-10-14 16:59:20.000000000 +0200
+++ new/yast2-core-2.17.19/configure.in 2008-09-29 23:01:50.000000000 +0200
@@ -3,7 +3,7 @@
dnl -- This file is generated by y2autoconf 2.17.6 - DO NOT EDIT! --
dnl (edit configure.in.in instead)
-AC_INIT(yast2-core, 2.17.18, http://bugs.opensuse.org/, yast2-core)
+AC_INIT(yast2-core, 2.17.15, http://bugs.opensuse.org/, yast2-core)
dnl Check for presence of file 'RPMNAME'
AC_CONFIG_SRCDIR([RPMNAME])
@@ -18,7 +18,7 @@
AM_INIT_AUTOMAKE(tar-ustar -Wno-portability)
dnl Important YaST2 variables
-VERSION="2.17.18"
+VERSION="2.17.15"
RPMNAME="yast2-core"
MAINTAINER="Martin Vidner "
@@ -139,7 +139,6 @@
AGENT_LIBADD='dnl
$(top_builddir)/libscr/src/libscr.la dnl
$(top_builddir)/libycp/src/libycp.la dnl
- $(top_builddir)/libycp/src/libycpvalues.la dnl
$(top_builddir)/liby2/src/liby2.la dnl
${Y2UTIL_LIBS}'
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-core-2.17.18/VERSION new/yast2-core-2.17.19/VERSION
--- old/yast2-core-2.17.18/VERSION 2008-10-14 16:57:56.000000000 +0200
+++ new/yast2-core-2.17.19/VERSION 2008-10-24 15:55:20.000000000 +0200
@@ -1 +1 @@
-2.17.18
+2.17.19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org