1
0
mirror of synced 2026-04-03 20:02:31 +00:00

release-testing: Use "set -e" instead of "|| break"

This commit is contained in:
Axel Beckert
2017-01-17 17:42:37 +01:00
parent 5b8ef34ee6
commit 126d0ad5bc
3 changed files with 5 additions and 2 deletions

View File

@@ -45,6 +45,7 @@ Test Suite
* release-testing:
+ Use per-test-unique host names. Avoids race conditions with
immediately re-used LVs.
+ Use "set -e" instead of "|| break".
xen-tools 4.6.2 (released 23 Dec 2015)

2
debian/changelog vendored
View File

@@ -1,7 +1,7 @@
xen-tools (4.6.3~dev-1) UNRELEASED; urgency=medium
* New upstream development release
+ release-testing: Work around umount race condition between tests.
+ release-testing: Several enhancements, race condition avoidance, …
+ Fixes reported error code in case of subcommand failure (Reported
and fixed by Yuri Sakhno, thanks!)
+ Fixes typo found by lintian.

View File

@@ -1,6 +1,8 @@
#!/bin/sh
set -e
# Skip dapper and edgy due to bug #659360 in debootstrap
for dist in $(awk '!/^#|^$/ {print $1}' /etc/xen-tools/distributions.conf | egrep -v '^(dapper|edgy|buster|bullseye)$'); do
xen-create-image --dist $dist --hostname "xen-tools-release-testing-$dist" --force --verbose "$@" || break
xen-create-image --dist $dist --hostname "xen-tools-release-testing-$dist" --force --verbose "$@"
done 2>&1 | tee xen-tools-release-testing.log