From 18b0ea3e9aa5ba075e415288b66387243dc5c365 Mon Sep 17 00:00:00 2001 From: Martin Schwenke Date: Wed, 4 Sep 2024 20:10:43 +1000 Subject: [PATCH] ctdb-tests: Add missing quotes in test output These should have caused test failure since commit ef921bdbdbacecf39ee2a1851f16dbba62175fcc. However, the test failure occurred in a sub-shell, which covered the failure. So, add an error exit if the sub-shell fails. While here, add an error exit for another potential uncaught sub-shell-related failure in a related test. Signed-off-by: Martin Schwenke Reviewed-by: Anoop C S --- ctdb/tests/UNIT/eventscripts/13.per_ip_routing.015.sh | 6 +++--- ctdb/tests/UNIT/eventscripts/13.per_ip_routing.024.sh | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ctdb/tests/UNIT/eventscripts/13.per_ip_routing.015.sh b/ctdb/tests/UNIT/eventscripts/13.per_ip_routing.015.sh index 742cfd436d7..e1d0c3050a4 100755 --- a/ctdb/tests/UNIT/eventscripts/13.per_ip_routing.015.sh +++ b/ctdb/tests/UNIT/eventscripts/13.per_ip_routing.015.sh @@ -17,12 +17,12 @@ ctdb_get_1_public_address | ok <