From 32c4ed3977cc25bbda59e4ee71a7ecbe285d6921 Mon Sep 17 00:00:00 2001 From: Daniel Shahaf Date: Thu, 26 Mar 2020 06:56:18 +0000 Subject: 45591 (Cf. 45587, 45620): In the test suite, centralize testing that compiled modules can be loaded successfully. Have V01zmodload.ztst check that all modules enabled in config.modules load successfully. With this change, the test files for individual modules may assume that if 'zmodload' fails that must be because the module hadn't been compiled in, and mark themselves as skipped in that case. --- Test/V01zmodload.ztst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Test/V01zmodload.ztst') diff --git a/Test/V01zmodload.ztst b/Test/V01zmodload.ztst index 0a7fbb651..daf49cd72 100644 --- a/Test/V01zmodload.ztst +++ b/Test/V01zmodload.ztst @@ -64,7 +64,7 @@ for m in $mods do - zmodload $m || mods[(r)$m]=() + zmodload $m || return $? done 0d:Test loading of all compiled modules -- cgit 1.4.1