From 90c36e26defc2f56b8db1294b857a4028b197437 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Wed, 13 Mar 2019 04:03:27 -0400 Subject: tests/*.sh: set -e --- (limited to 'tests') diff --git a/tests/ob_arch_is_concerned.sh b/tests/ob_arch_is_concerned.sh index c408ef3..41c57d2 100755 --- a/tests/ob_arch_is_concerned.sh +++ b/tests/ob_arch_is_concerned.sh @@ -17,6 +17,8 @@ # You should have received a copy of the GNU General Public License # along with opkbuild. If not, see . +set -e + . "${TOP_SRCDIR}/tests/aux/tap-functions.sh" . "${TOP_BUILDDIR}/lib/libopkbuild.${SHSOEXT}.${LIBOPKBUILD_SHSOVERSION}" diff --git a/tests/ob_match_arch.sh b/tests/ob_match_arch.sh index 6d6785d..f483dc8 100755 --- a/tests/ob_match_arch.sh +++ b/tests/ob_match_arch.sh @@ -17,6 +17,8 @@ # You should have received a copy of the GNU General Public License # along with opkbuild. If not, see . +set -e + . "${TOP_SRCDIR}/tests/aux/tap-functions.sh" . "${TOP_BUILDDIR}/lib/libopkbuild.${SHSOEXT}.${LIBOPKBUILD_SHSOVERSION}" diff --git a/tests/ob_parse_changelog.sh b/tests/ob_parse_changelog.sh index d406d6c..7e7be02 100755 --- a/tests/ob_parse_changelog.sh +++ b/tests/ob_parse_changelog.sh @@ -17,6 +17,8 @@ # You should have received a copy of the GNU General Public License # along with opkbuild. If not, see . +set -e + . "${TOP_SRCDIR}/tests/aux/tap-functions.sh" . "${TOP_BUILDDIR}/lib/libopkbuild.${SHSOEXT}.${LIBOPKBUILD_SHSOVERSION}" diff --git a/tests/ob_parse_control.sh b/tests/ob_parse_control.sh index c9e4289..faa0c16 100755 --- a/tests/ob_parse_control.sh +++ b/tests/ob_parse_control.sh @@ -17,6 +17,8 @@ # You should have received a copy of the GNU General Public License # along with opkbuild. If not, see . +set -e + . "${TOP_SRCDIR}/tests/aux/tap-functions.sh" . "${TOP_BUILDDIR}/lib/libopkbuild.${SHSOEXT}.${LIBOPKBUILD_SHSOVERSION}" diff --git a/tests/ob_parse_dep.sh b/tests/ob_parse_dep.sh index 77351d0..2ee6cbf 100755 --- a/tests/ob_parse_dep.sh +++ b/tests/ob_parse_dep.sh @@ -17,6 +17,8 @@ # You should have received a copy of the GNU General Public License # along with opkbuild. If not, see . +set -e + . "${TOP_SRCDIR}/tests/aux/tap-functions.sh" . "${TOP_BUILDDIR}/lib/libopkbuild.${SHSOEXT}.${LIBOPKBUILD_SHSOVERSION}" diff --git a/tests/ob_plat_is_concerned.sh b/tests/ob_plat_is_concerned.sh index ea55ce0..1d64d95 100755 --- a/tests/ob_plat_is_concerned.sh +++ b/tests/ob_plat_is_concerned.sh @@ -17,6 +17,8 @@ # You should have received a copy of the GNU General Public License # along with opkbuild. If not, see . +set -e + . "${TOP_SRCDIR}/tests/aux/tap-functions.sh" . "${TOP_BUILDDIR}/lib/libopkbuild.${SHSOEXT}.${LIBOPKBUILD_SHSOVERSION}" diff --git a/tests/ob_reduce_deps.sh b/tests/ob_reduce_deps.sh index 5519dde..833f8de 100755 --- a/tests/ob_reduce_deps.sh +++ b/tests/ob_reduce_deps.sh @@ -17,6 +17,8 @@ # You should have received a copy of the GNU General Public License # along with opkbuild. If not, see . +set -e + . "${TOP_SRCDIR}/tests/aux/tap-functions.sh" . "${TOP_BUILDDIR}/lib/libopkbuild.${SHSOEXT}.${LIBOPKBUILD_SHSOVERSION}" -- cgit v0.9.1