Hello community, here is the log from the commit of package yast2-network for openSUSE:Factory checked in at 2020-01-11 14:47:35 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/yast2-network (Old) and /work/SRC/openSUSE:Factory/.yast2-network.new.6675 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-network" Sat Jan 11 14:47:35 2020 rev:416 rq:762747 version:4.2.43 Changes: -------- --- /work/SRC/openSUSE:Factory/yast2-network/yast2-network.changes 2020-01-04 19:21:04.393130111 +0100 +++ /work/SRC/openSUSE:Factory/.yast2-network.new.6675/yast2-network.changes 2020-01-11 14:47:43.469366874 +0100 @@ -1,0 +2,6 @@ +Mon Jan 6 11:54:00 UTC 2020 - Martin Vidner <mvid...@suse.com> + +- Add a sanity test for CLI error code reporting (bsc#1144351) +- 4.2.43 + +------------------------------------------------------------------- Old: ---- yast2-network-4.2.42.tar.bz2 New: ---- yast2-network-4.2.43.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-network.spec ++++++ --- /var/tmp/diff_new_pack.gpAqfS/_old 2020-01-11 14:47:44.049367100 +0100 +++ /var/tmp/diff_new_pack.gpAqfS/_new 2020-01-11 14:47:44.053367101 +0100 @@ -17,7 +17,7 @@ Name: yast2-network -Version: 4.2.42 +Version: 4.2.43 Release: 0 Summary: YaST2 - Network Configuration License: GPL-2.0-only ++++++ yast2-network-4.2.42.tar.bz2 -> yast2-network-4.2.43.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-network-4.2.42/package/yast2-network.changes new/yast2-network-4.2.43/package/yast2-network.changes --- old/yast2-network-4.2.42/package/yast2-network.changes 2020-01-03 13:43:29.000000000 +0100 +++ new/yast2-network-4.2.43/package/yast2-network.changes 2020-01-10 11:27:21.000000000 +0100 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Mon Jan 6 11:54:00 UTC 2020 - Martin Vidner <mvid...@suse.com> + +- Add a sanity test for CLI error code reporting (bsc#1144351) +- 4.2.43 + +------------------------------------------------------------------- Fri Jan 3 10:11:52 UTC 2020 - Michal Filka <mfi...@suse.com> - bnc#1159970 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-network-4.2.42/package/yast2-network.spec new/yast2-network-4.2.43/package/yast2-network.spec --- old/yast2-network-4.2.42/package/yast2-network.spec 2020-01-03 13:43:29.000000000 +0100 +++ new/yast2-network-4.2.43/package/yast2-network.spec 2020-01-10 11:27:21.000000000 +0100 @@ -17,7 +17,7 @@ Name: yast2-network -Version: 4.2.42 +Version: 4.2.43 Release: 0 Summary: YaST2 - Network Configuration License: GPL-2.0-only diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-network-4.2.42/t/exit-codes.t new/yast2-network-4.2.43/t/exit-codes.t --- old/yast2-network-4.2.42/t/exit-codes.t 1970-01-01 01:00:00.000000000 +0100 +++ new/yast2-network-4.2.43/t/exit-codes.t 2020-01-10 11:27:21.000000000 +0100 @@ -0,0 +1,43 @@ +#!/bin/sh + +# Copyright (c) [2020] SUSE LLC +# +# All Rights Reserved. +# +# This program is free software; you can redistribute it and/or modify it +# under the terms of version 2 of the GNU General Public License as published +# by the Free Software Foundation. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for +# more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, contact SUSE LLC. +# +# To contact SUSE LLC about this file by physical or electronic mail, you may +# find current contact information at www.suse.com. + +# a TAP compatible test + +# quick and dirty: fail early +set -eu + +# test plan +echo 1..1 + +# usage: +# foo || tapfail +# echo "ok" +# this will tell TAP "not ok" IF foo has failed +tapfail() { + echo -n "not " +} + +YAST=/usr/sbin/yast + +TEST="1 An unknown command produces an error exit code" +echo "# $TEST" +! $YAST lan nosuchcommand || tapfail +echo "ok $TEST"