debian/tests/acceptance: set -o pipefail
so failures aren't masked by ts
.
This commit is contained in:
parent
8b99f7607a
commit
8e4a470fe9
2
debian/changelog
vendored
2
debian/changelog
vendored
|
@ -5,6 +5,8 @@ patroni (2.1.2-2) UNRELEASED; urgency=medium
|
|||
* debian/py3dist-overrides: Tell dh_python3 to find "ipaddress" in python3
|
||||
>= 3.3.
|
||||
* debian/tests/control: Mark zookeeper test as skip-not-installable.
|
||||
* debian/tests/acceptance: `set -o pipefail` so failures aren't masked by
|
||||
`ts`.
|
||||
|
||||
-- Debian PostgreSQL Maintainers <team+postgresql@tracker.debian.org> Fri, 03 Dec 2021 17:13:32 +0100
|
||||
|
||||
|
|
2
debian/tests/acceptance
vendored
2
debian/tests/acceptance
vendored
|
@ -48,7 +48,7 @@ esac
|
|||
|
||||
set -x
|
||||
for PG_VERSION in /usr/lib/postgresql/*; do
|
||||
$SU "ETCD_UNSUPPORTED_ARCH=$ETCD_ARCH DCS=$DCS PATH=/usr/lib/postgresql/$(basename \
|
||||
$SU "set -o pipefail; ETCD_UNSUPPORTED_ARCH=$ETCD_ARCH DCS=$DCS PATH=/usr/lib/postgresql/$(basename \
|
||||
${PG_VERSION})/bin:$PATH behave | ts" || \
|
||||
(for file in $(ls features/output/*_failed/*); do echo "$file:"; cat $file; done && exit 1)
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue