Accepting request 590622 from home:RBrownSUSE:branches:devel:openSUSE:Factory

- Make broken fail consistantly regardless of product

OBS-URL: https://build.opensuse.org/request/show/590622
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory/update-test-trivial?expand=0&rev=8
This commit is contained in:
Benjamin Brunner 2018-03-23 11:33:28 +00:00 committed by Git OBS Bridge
parent 48a89c30f3
commit 03f0429788
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Mar 23 11:03:55 UTC 2018 - rbrown@suse.com
- Make broken fail consistantly regardless of product
-------------------------------------------------------------------
Thu Feb 8 15:37:23 UTC 2018 - mkravec@suse.com

View File

@ -20,7 +20,7 @@ Name: update-test-trivial
Version: 5
Release: 0
Summary: Package for testing the update stack during product development
License: GPL-2.0+
License: GPL-2.0-or-later
Group: System/YaST
Source0: %{name}.tar.bz2
Source1: baselibs.conf
@ -134,7 +134,7 @@ An update for this package should fail.
%pre -n update-test-broken
if [ $1 -ne 1 ]; then
if [[ "$(cat /etc/YaST2/build)" =~ -(CaaS-Platform|Tumbleweed-Kubic)- ]]; then
if [ ! -f /.buildenv ]; then
sed -i -e 's,foo\t,bar\t,g' /some/none/existing/file
fi
fi