commit:     318f4a2e9b59083194ac34389a1ca29fce3c969b
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 14 17:20:39 2022 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Mon Feb 14 17:24:57 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=318f4a2e

eclass/tests/savedconfig.sh: abort when source tests-common.sh fails

Closes: https://bugs.gentoo.org/833342
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>

 eclass/tests/savedconfig.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/tests/savedconfig.sh b/eclass/tests/savedconfig.sh
index 7643cf4cc823..16645fc05854 100755
--- a/eclass/tests/savedconfig.sh
+++ b/eclass/tests/savedconfig.sh
@@ -4,7 +4,7 @@
 
 EAPI=7
 
-source tests-common.sh
+source tests-common.sh || exit
 
 inherit savedconfig
 

Reply via email to