Hello community,
here is the log from the commit of package yast2-online-update for openSUSE:Factory checked in at 2014-12-05 21:02:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-online-update (Old)
and /work/SRC/openSUSE:Factory/.yast2-online-update.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-online-update"
Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-online-update/yast2-online-update.changes 2014-09-07 11:09:50.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.yast2-online-update.new/yast2-online-update.changes 2014-12-05 21:02:49.000000000 +0100
@@ -1,0 +2,5 @@
+Thu Dec 4 09:50:39 UTC 2014 - jreidinger@suse.com
+
+- remove X-KDE-Library from desktop file (bnc#899104)
+
+-------------------------------------------------------------------
Old:
----
yast2-online-update-3.1.7.tar.bz2
New:
----
yast2-online-update-3.1.8.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-online-update.spec ++++++
--- /var/tmp/diff_new_pack.RvEQm0/_old 2014-12-05 21:02:50.000000000 +0100
+++ /var/tmp/diff_new_pack.RvEQm0/_new 2014-12-05 21:02:50.000000000 +0100
@@ -17,19 +17,17 @@
Name: yast2-online-update
-Version: 3.1.7
+Version: 3.1.8
Release: 0
Url: https://github.com/yast/yast-online-update
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: %{name}-%{version}.tar.bz2
-BuildRequires: gcc-c++
-BuildRequires: libtool
-BuildRequires: update-desktop-files
BuildRequires: yast2-devtools >= 3.1.10
BuildRequires: yast2-packager
BuildRequires: rubygem(rspec)
+BuildRequires: rubygem(yast-rake)
# Product EOL tag
Requires: yast2-pkg-bindings >= 3.1.6
# Kernel::InformAboutKernelChange
@@ -67,11 +65,13 @@
%prep
%setup -n %{name}-%{version}
+%check
+rake test:unit
+
%build
-%yast_build
%install
-%yast_install
+rake install DESTDIR="%{buildroot}"
%files
%defattr(-,root,root)
++++++ yast2-online-update-3.1.7.tar.bz2 -> yast2-online-update-3.1.8.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-online-update-3.1.7/.travis.yml new/yast2-online-update-3.1.8/.travis.yml
--- old/yast2-online-update-3.1.7/.travis.yml 1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-online-update-3.1.8/.travis.yml 2014-12-04 11:00:35.000000000 +0100
@@ -0,0 +1,15 @@
+language: cpp
+compiler:
+ - gcc
+before_install:
+ # disable rvm, use system Ruby
+ - rvm reset
+ - wget https://raw.githubusercontent.com/yast/yast-devtools/master/travis-tools/tra...
+ - sh ./travis_setup.sh -p "rake yast2-devtools yast2-packager" -g "rspec:2.14.1 yast-rake yard gettext"
+script:
+ - rake check:syntax
+ - rake check:pot
+ - yardoc
+ - rake test:unit
+ - sudo rake install
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-online-update-3.1.7/MAINTAINER new/yast2-online-update-3.1.8/MAINTAINER
--- old/yast2-online-update-3.1.7/MAINTAINER 2014-09-04 16:28:12.000000000 +0200
+++ new/yast2-online-update-3.1.8/MAINTAINER 2014-12-04 11:00:35.000000000 +0100
@@ -1 +1 @@
-YaST2 Maintainers
+Deprecated file. Use `osc maintainer yast2-online-update` instead.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-online-update-3.1.7/Makefile.cvs new/yast2-online-update-3.1.8/Makefile.cvs
--- old/yast2-online-update-3.1.7/Makefile.cvs 2014-09-04 16:28:12.000000000 +0200
+++ new/yast2-online-update-3.1.8/Makefile.cvs 1970-01-01 01:00:00.000000000 +0100
@@ -1,23 +0,0 @@
-#
-# Makefile.cvs
-#
-
-LIB = $(shell y2tool get-lib)
-
-PREFIX = /usr
-
-configure: all
- ./configure --prefix=$(PREFIX) --libdir=$(PREFIX)/$(LIB)
-
-all:
- y2tool y2autoconf
- y2tool y2automake
- autoreconf --force --install
-
-install: configure
- make
- make install
-
-reconf: all
- ./config.status --recheck
- ./config.status
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-online-update-3.1.7/README.md new/yast2-online-update-3.1.8/README.md
--- old/yast2-online-update-3.1.7/README.md 1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-online-update-3.1.8/README.md 2014-12-04 11:00:35.000000000 +0100
@@ -0,0 +1,5 @@
+# YaST - The Online Update Module #
+
+[![Travis Build](https://travis-ci.org/yast/yast-online-update.svg?branch=master)](https://travis-ci.org/yast/yast-online-update)
+[![Jenkins Build](http://img.shields.io/jenkins/s/https/ci.opensuse.org/yast-online-update-master.svg)](https://ci.opensuse.org/view/Yast/job/yast-online-update-master/)
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-online-update-3.1.7/SUBDIRS new/yast2-online-update-3.1.8/SUBDIRS
--- old/yast2-online-update-3.1.7/SUBDIRS 2014-09-04 16:28:12.000000000 +0200
+++ new/yast2-online-update-3.1.8/SUBDIRS 1970-01-01 01:00:00.000000000 +0100
@@ -1 +0,0 @@
-conf doc src testsuite test
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-online-update-3.1.7/conf/Makefile.am new/yast2-online-update-3.1.8/conf/Makefile.am
--- old/yast2-online-update-3.1.7/conf/Makefile.am 2014-09-04 16:28:12.000000000 +0200
+++ new/yast2-online-update-3.1.8/conf/Makefile.am 1970-01-01 01:00:00.000000000 +0100
@@ -1,7 +0,0 @@
-#
-# Makefile.am for y2c_online_update/conf
-#
-
-scrconf_DATA = $(wildcard $(srcdir)/*.scr)
-
-EXTRA_DIST = $(scrconf_DATA)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-online-update-3.1.7/conf/cfg_onlineupdate.scr new/yast2-online-update-3.1.8/conf/cfg_onlineupdate.scr
--- old/yast2-online-update-3.1.7/conf/cfg_onlineupdate.scr 2014-09-04 16:28:12.000000000 +0200
+++ new/yast2-online-update-3.1.8/conf/cfg_onlineupdate.scr 1970-01-01 01:00:00.000000000 +0100
@@ -1,25 +0,0 @@
-/**
- * File:
- * cfg_onlineupdate.scr
- * Summary:
- * SCR Agent for reading/writing /etc/sysconfig/onlineupdate
- * using the sysconfig-agent
- * Access:
- * read/write
- * Authors:
- * Unknown
- *
- * Example:
- *
- * Read(.sysconfig.onlineupdate.YAST2_LOADFTPSERVER)
- *
- * $Id$
- *
- * Read/Sets the values defined in <tt>/etc/sysconfig/onlineupdate</tt>
- * in an easy manner.
- */
-.sysconfig.onlineupdate
-
-`ag_ini(
- `SysConfigFile("/etc/sysconfig/onlineupdate")
-)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-online-update-3.1.7/conf/you_config.scr new/yast2-online-update-3.1.8/conf/you_config.scr
--- old/yast2-online-update-3.1.7/conf/you_config.scr 2014-09-04 16:28:12.000000000 +0200
+++ new/yast2-online-update-3.1.8/conf/you_config.scr 1970-01-01 01:00:00.000000000 +0100
@@ -1,23 +0,0 @@
-/**
- * File:
- * you_config.scr
- * Summary:
- * SCR Agent for reading/writing /var/lib/YaST2/you/config
- * using the sysconfig-agent
- * Access:
- * read/write
- * Authors:
- * Cornelius Schumacher
- *
- * Example:
- *
- * Read(.you.password.ServerLastSync)
- *
- * Read/Sets the values defined in <tt>/var/lib/YaST2/you/config</tt>
- * in an easy manner.
- */
-.you.config
-
-`ag_ini(
- `SysConfigFile("/var/lib/YaST2/you/config")
-)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-online-update-3.1.7/conf/you_password.scr new/yast2-online-update-3.1.8/conf/you_password.scr
--- old/yast2-online-update-3.1.7/conf/you_password.scr 2014-09-04 16:28:12.000000000 +0200
+++ new/yast2-online-update-3.1.8/conf/you_password.scr 1970-01-01 01:00:00.000000000 +0100
@@ -1,25 +0,0 @@
-/**
- * File:
- * you_password.scr
- * Summary:
- * SCR Agent for reading/writing /var/lib/YaST2/you/password
- * using the sysconfig-agent
- * Access:
- * read/write
- * Authors:
- * Unknown
- *
- * Example:
- *
- * Read(.you.password.REG_PASSWORD)
- *
- * $Id$
- *
- * Read/Sets the values defined in <tt>/var/lib/YaST2/you/password</tt>
- * in an easy manner.
- */
-.you.password
-
-`ag_ini(
- `SysConfigFile("/var/lib/YaST2/you/password")
-)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-online-update-3.1.7/configure.in.in new/yast2-online-update-3.1.8/configure.in.in
--- old/yast2-online-update-3.1.7/configure.in.in 2014-09-04 16:28:12.000000000 +0200
+++ new/yast2-online-update-3.1.8/configure.in.in 1970-01-01 01:00:00.000000000 +0100
@@ -1,14 +0,0 @@
-## YCP module configure.in.in
-
-## Initialize
-@YAST2-INIT-COMMON@
-@YAST2-INIT-PROGRAM@
-@YAST2-INIT-YCP@
-
-## some common checks
-@YAST2-CHECKS-COMMON@
-@YAST2-CHECKS-PROGRAM@
-@YAST2-CHECKS-YCP@
-
-## and generate the output...
-@YAST2-OUTPUT@
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-online-update-3.1.7/doc/Makefile.am new/yast2-online-update-3.1.8/doc/Makefile.am
--- old/yast2-online-update-3.1.7/doc/Makefile.am 2014-09-04 16:28:12.000000000 +0200
+++ new/yast2-online-update-3.1.8/doc/Makefile.am 1970-01-01 01:00:00.000000000 +0100
@@ -1,11 +0,0 @@
-#
-# Makefile.am for y2c_online_update/doc
-#
-
-SUBDIRS = autodocs
-
-htmldir = @docdir@
-
-html_DATA = y2c_online_update.html
-
-EXTRA_DIST = $(html_DATA)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-online-update-3.1.7/doc/autodocs/Makefile.am new/yast2-online-update-3.1.8/doc/autodocs/Makefile.am
--- old/yast2-online-update-3.1.7/doc/autodocs/Makefile.am 2014-09-04 16:28:12.000000000 +0200
+++ new/yast2-online-update-3.1.8/doc/autodocs/Makefile.am 1970-01-01 01:00:00.000000000 +0100
@@ -1,3 +0,0 @@
-# Makefile.am for YCP module .../doc/autodocs
-
-include $(top_srcdir)/autodocs-ycp.ami
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-online-update-3.1.7/package/yast2-online-update.changes new/yast2-online-update-3.1.8/package/yast2-online-update.changes
--- old/yast2-online-update-3.1.7/package/yast2-online-update.changes 2014-09-04 16:28:12.000000000 +0200
+++ new/yast2-online-update-3.1.8/package/yast2-online-update.changes 2014-12-04 11:00:35.000000000 +0100
@@ -1,4 +1,9 @@
-------------------------------------------------------------------
+Thu Dec 4 09:50:39 UTC 2014 - jreidinger@suse.com
+
+- remove X-KDE-Library from desktop file (bnc#899104)
+
+-------------------------------------------------------------------
Thu Sep 4 12:24:10 UTC 2014 - mvidner@suse.com
- Use a more flexible rubygem requirement syntax (bnc#895069)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-online-update-3.1.7/package/yast2-online-update.spec new/yast2-online-update-3.1.8/package/yast2-online-update.spec
--- old/yast2-online-update-3.1.7/package/yast2-online-update.spec 2014-09-04 16:28:12.000000000 +0200
+++ new/yast2-online-update-3.1.8/package/yast2-online-update.spec 2014-12-04 11:00:35.000000000 +0100
@@ -17,7 +17,7 @@
Name: yast2-online-update
-Version: 3.1.7
+Version: 3.1.8
Release: 0
Url: https://github.com/yast/yast-online-update
@@ -26,9 +26,10 @@
Group: System/YaST
License: GPL-2.0
-BuildRequires: gcc-c++ libtool update-desktop-files yast2-packager
+BuildRequires: yast2-packager
BuildRequires: yast2-devtools >= 3.1.10
BuildRequires: rubygem(rspec)
+BuildRequires: rubygem(yast-rake)
# Product EOL tag
Requires: yast2-pkg-bindings >= 3.1.6
# Kernel::InformAboutKernelChange
@@ -40,7 +41,7 @@
Obsoletes: y2c_online_update yast2-config-online-update
Provides: yast2-trans-online-update y2t_online_update
Obsoletes: yast2-trans-online-update y2t_online_update
-BuildArchitectures: noarch
+BuildArch: noarch
# Added Logger (replacement for y2error, y2milestone, ...)
Requires: yast2-ruby-bindings >= 3.1.7
@@ -60,12 +61,13 @@
%prep
%setup -n %{name}-%{version}
+%check
+rake test:unit
+
%build
-%yast_build
%install
-%yast_install
-
+rake install DESTDIR="%{buildroot}"
%files
%defattr(-,root,root)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-online-update-3.1.7/src/Makefile.am new/yast2-online-update-3.1.8/src/Makefile.am
--- old/yast2-online-update-3.1.7/src/Makefile.am 2014-09-04 16:28:12.000000000 +0200
+++ new/yast2-online-update-3.1.8/src/Makefile.am 1970-01-01 01:00:00.000000000 +0100
@@ -1,21 +0,0 @@
-# Sources for online-update
-
-module_DATA = \
- modules/OnlineUpdateCallbacks.rb \
- modules/OnlineUpdateDialogs.rb \
- modules/OnlineUpdate.rb
-
-client_DATA = \
- clients/inst_you.rb \
- clients/online_update.rb \
- clients/do_online_update_auto.rb \
- clients/online_update_select.rb \
- clients/online_update_install.rb \
- clients/cd_update.rb
-
-desktop_DATA = \
- desktop/online_update.desktop
-
-EXTRA_DIST = $(module_DATA) $(client_DATA) $(desktop_DATA)
-
-include $(top_srcdir)/Makefile.am.common
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-online-update-3.1.7/src/desktop/online_update.desktop new/yast2-online-update-3.1.8/src/desktop/online_update.desktop
--- old/yast2-online-update-3.1.7/src/desktop/online_update.desktop 2014-09-04 16:28:12.000000000 +0200
+++ new/yast2-online-update-3.1.8/src/desktop/online_update.desktop 2014-12-04 11:00:35.000000000 +0100
@@ -4,7 +4,6 @@
X-KDE-ModuleType=Library
X-KDE-HasReadOnlyMode=true
-X-KDE-Library=yast2
X-SuSE-YaST-Call=online_update
X-SuSE-YaST-Group=Software
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-online-update-3.1.7/src/scrconf/cfg_onlineupdate.scr new/yast2-online-update-3.1.8/src/scrconf/cfg_onlineupdate.scr
--- old/yast2-online-update-3.1.7/src/scrconf/cfg_onlineupdate.scr 1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-online-update-3.1.8/src/scrconf/cfg_onlineupdate.scr 2014-12-04 11:00:35.000000000 +0100
@@ -0,0 +1,25 @@
+/**
+ * File:
+ * cfg_onlineupdate.scr
+ * Summary:
+ * SCR Agent for reading/writing /etc/sysconfig/onlineupdate
+ * using the sysconfig-agent
+ * Access:
+ * read/write
+ * Authors:
+ * Unknown
+ *
+ * Example:
+ *
+ * Read(.sysconfig.onlineupdate.YAST2_LOADFTPSERVER)
+ *
+ * $Id$
+ *
+ * Read/Sets the values defined in <tt>/etc/sysconfig/onlineupdate</tt>
+ * in an easy manner.
+ */
+.sysconfig.onlineupdate
+
+`ag_ini(
+ `SysConfigFile("/etc/sysconfig/onlineupdate")
+)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-online-update-3.1.7/src/scrconf/you_config.scr new/yast2-online-update-3.1.8/src/scrconf/you_config.scr
--- old/yast2-online-update-3.1.7/src/scrconf/you_config.scr 1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-online-update-3.1.8/src/scrconf/you_config.scr 2014-12-04 11:00:35.000000000 +0100
@@ -0,0 +1,23 @@
+/**
+ * File:
+ * you_config.scr
+ * Summary:
+ * SCR Agent for reading/writing /var/lib/YaST2/you/config
+ * using the sysconfig-agent
+ * Access:
+ * read/write
+ * Authors:
+ * Cornelius Schumacher
+ *
+ * Example:
+ *
+ * Read(.you.password.ServerLastSync)
+ *
+ * Read/Sets the values defined in <tt>/var/lib/YaST2/you/config</tt>
+ * in an easy manner.
+ */
+.you.config
+
+`ag_ini(
+ `SysConfigFile("/var/lib/YaST2/you/config")
+)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-online-update-3.1.7/src/scrconf/you_password.scr new/yast2-online-update-3.1.8/src/scrconf/you_password.scr
--- old/yast2-online-update-3.1.7/src/scrconf/you_password.scr 1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-online-update-3.1.8/src/scrconf/you_password.scr 2014-12-04 11:00:35.000000000 +0100
@@ -0,0 +1,25 @@
+/**
+ * File:
+ * you_password.scr
+ * Summary:
+ * SCR Agent for reading/writing /var/lib/YaST2/you/password
+ * using the sysconfig-agent
+ * Access:
+ * read/write
+ * Authors:
+ * Unknown
+ *
+ * Example:
+ *
+ * Read(.you.password.REG_PASSWORD)
+ *
+ * $Id$
+ *
+ * Read/Sets the values defined in <tt>/var/lib/YaST2/you/password</tt>
+ * in an easy manner.
+ */
+.you.password
+
+`ag_ini(
+ `SysConfigFile("/var/lib/YaST2/you/password")
+)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-online-update-3.1.7/test/Makefile.am new/yast2-online-update-3.1.8/test/Makefile.am
--- old/yast2-online-update-3.1.7/test/Makefile.am 2014-09-04 16:28:12.000000000 +0200
+++ new/yast2-online-update-3.1.8/test/Makefile.am 1970-01-01 01:00:00.000000000 +0100
@@ -1,7 +0,0 @@
-TESTS = \
- online_update_dialogs_test.rb
-
-TEST_EXTENSIONS = .rb
-RB_LOG_COMPILER = rspec
-VERBOSE = 1
-EXTRA_DIST = $(TESTS)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-online-update-3.1.7/testsuite/Makefile.am new/yast2-online-update-3.1.8/testsuite/Makefile.am
--- old/yast2-online-update-3.1.7/testsuite/Makefile.am 2014-09-04 16:28:12.000000000 +0200
+++ new/yast2-online-update-3.1.8/testsuite/Makefile.am 1970-01-01 01:00:00.000000000 +0100
@@ -1,7 +0,0 @@
-#
-# Makefile.am for test/testsuite
-#
-
-AUTOMAKE_OPTIONS = dejagnu
-
-PACKAGE = test
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-online-update-3.1.7/testsuite/config/default.exp new/yast2-online-update-3.1.8/testsuite/config/default.exp
--- old/yast2-online-update-3.1.7/testsuite/config/default.exp 2014-09-04 16:28:12.000000000 +0200
+++ new/yast2-online-update-3.1.8/testsuite/config/default.exp 1970-01-01 01:00:00.000000000 +0100
@@ -1,2 +0,0 @@
-# default.exp -- empty
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-online-update-3.1.7/testsuite/config/unix.exp new/yast2-online-update-3.1.8/testsuite/config/unix.exp
--- old/yast2-online-update-3.1.7/testsuite/config/unix.exp 2014-09-04 16:28:12.000000000 +0200
+++ new/yast2-online-update-3.1.8/testsuite/config/unix.exp 1970-01-01 01:00:00.000000000 +0100
@@ -1,5 +0,0 @@
-load_lib "test_init.exp"
-
-proc test_exit {} {}
-proc test_version {} {}
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-online-update-3.1.7/testsuite/config/unknown.exp new/yast2-online-update-3.1.8/testsuite/config/unknown.exp
--- old/yast2-online-update-3.1.7/testsuite/config/unknown.exp 2014-09-04 16:28:12.000000000 +0200
+++ new/yast2-online-update-3.1.8/testsuite/config/unknown.exp 1970-01-01 01:00:00.000000000 +0100
@@ -1,2 +0,0 @@
-perror "No setup for current configuration"
-exit 1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-online-update-3.1.7/testsuite/lib/test.exp new/yast2-online-update-3.1.8/testsuite/lib/test.exp
--- old/yast2-online-update-3.1.7/testsuite/lib/test.exp 2014-09-04 16:28:12.000000000 +0200
+++ new/yast2-online-update-3.1.8/testsuite/lib/test.exp 1970-01-01 01:00:00.000000000 +0100
@@ -1 +0,0 @@
-# anyagent.exp -- empty
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-online-update-3.1.7/testsuite/lib/test_init.exp new/yast2-online-update-3.1.8/testsuite/lib/test_init.exp
--- old/yast2-online-update-3.1.7/testsuite/lib/test_init.exp 2014-09-04 16:28:12.000000000 +0200
+++ new/yast2-online-update-3.1.8/testsuite/lib/test_init.exp 1970-01-01 01:00:00.000000000 +0100
@@ -1,68 +0,0 @@
-#
-# run a anyagent file
-#
-proc anyagent-run { src } {
-
- set path [split $src "/"]
- set filename [lindex $path [expr [llength $path]-1]]
-
- # extract basename and check extension
-
- set fname [split $filename "."]
-
- if {[llength $fname] < 2} {
- fail "Bad filename syntax '$src'"
- return
- }
- if {[lindex $fname [expr [llength $fname]-1]] != "anyagent"} {
- fail "Not .anyagent extension '$src'"
- return
- }
-
- # setup filenames
-
- set base_name [lindex $fname 0]
-
- set stdout_name "tests/$base_name.out"
- set stderr_name "tests/$base_name.err"
- set tmpout_name "tmp.out.$base_name"
- set tmperr_name "tmp.err.$base_name"
- # run the test
-
- puts "Running $base_name..."
-
- set result ""
- set oops [catch { set result [exec "../anyagent" "stdio" "anyagent" "<$src" ">$tmpout_name" "2>$tmperr_name"] } catched]
-
- if {$oops != 0} {
- fail "y2anyagent failed: $catched"
- return
- }
-
- # check return code from y2anyagent
-
- if {$result != ""} {
- warning "Compilation of $base_name results in '$result'"
- return
- }
-
- # check stdout
-
- if {[diff $stdout_name $tmpout_name] != 1} {
- fail "Wrong stdout for $base_name"
- return
- }
-
- # check stderr
-# D I S A B L E D
-# if {[diff $stderr_name $tmperr_name] != 1} {
-# fail "Wrong stderr for $base_name"
-# return
-# }
-#
- # ok, all is fine
-
- pass $base_name
-
- return
-}
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org