From 9279a913aa91108c93d86da328246745672a7251 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Fri, 25 Dec 2020 14:34:19 +0100 Subject: [PATCH] Update lib/tests.sh Co-authored-by: Kayou --- lib/tests.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/tests.sh b/lib/tests.sh index 0f2d4e1..4db3612 100644 --- a/lib/tests.sh +++ b/lib/tests.sh @@ -488,7 +488,7 @@ TEST_BACKUP_RESTORE () { ret=$? fi - [ $ret -eq 0 ] || main_result=1 + [ $ret -eq 0 ] || { main_result=1; break_before_continue; continue; } # Grab the backup archive into the LXC container, and keep a copy lxc file pull -r $LXC_NAME/home/yunohost.backup/archives $TEST_CONTEXT/ynh_backups @@ -903,4 +903,3 @@ ACTIONS_CONFIG_PANEL () { return $main_result } -