From 794eb4777ae72651e7d20a12ac8131b7b7b25c3b Mon Sep 17 00:00:00 2001 From: Robert McLay Date: Thu, 15 Apr 2021 15:15:22 -0500 Subject: [PATCH] Change all messages and gold files to use --ignore_cache --- messageDir/de.lua | 2 +- messageDir/es.lua | 2 +- messageDir/fr.lua | 2 +- rt/cached_loads/err.txt | 2 +- rt/depends_on/err.txt | 2 +- rt/empty/err.txt | 2 +- rt/i18n/err.txt | 2 +- rt/inaccessible/err.txt | 2 +- rt/load/err.txt | 12 ++++++------ rt/slepc/err.txt | 2 +- rt/swap/err.txt | 2 +- 11 files changed, 16 insertions(+), 16 deletions(-) diff --git a/messageDir/de.lua b/messageDir/de.lua index 3a1b4c672..c51b13011 100644 --- a/messageDir/de.lua +++ b/messageDir/de.lua @@ -94,7 +94,7 @@ Die korrekte Syntax ist: e_Failed_Load = [==[Die folgenden Module konnten nicht gefunden werden: %{module_list} Bitte überprüfen Sie die Schreibweise oder Versionsnummer. Sie können auch "module spider ..." versuchen. Es ist auch möglich, dass Ihr Cache veraltet ist. Versuchen Sie: - $ module --ignore-cache load %{module_list} + $ module --ignore_cache load %{module_list} ]==], e_Failed_Load_2 = [==[Diese Module existieren, aber können nicht wie gewünscht geladen werden: %{kA} Versuchen Sie: "module spider %{kB}" um anzuzeigen, wie die Module geladen werden. diff --git a/messageDir/es.lua b/messageDir/es.lua index c1cd12348..87b4de692 100644 --- a/messageDir/es.lua +++ b/messageDir/es.lua @@ -72,7 +72,7 @@ La sintaxis es: Por favor compruebe la ortografía, así como mayúsculas y minúsculas o número de versión. También intente "module spider ..." También es posible que su archivo de cache estea desactualizado. Intente: - $ module --ignore-cache load %{module_list} + $ module --ignore_cache load %{module_list} ]==], e_Failed_Load_2 = [==[Estos módulos existen pero no pueden ser cargados como ha solicitado: %{kA} Intente: "module spider %{kB}" para ver como cargar los módulos. diff --git a/messageDir/fr.lua b/messageDir/fr.lua index 1fc528b0b..4f53e9461 100644 --- a/messageDir/fr.lua +++ b/messageDir/fr.lua @@ -99,7 +99,7 @@ La syntaxe est : Veuillez vérifier l'orthographe ou le numéro de version. Vous pouvez aussi essayer "module spider ..." Il est aussi possible que votre cache soit désuète. Essayez : - $ module --ignore-cache load %{module_list} + $ module --ignore_cache load %{module_list} ]==], e_Failed_Load_2 = [==[Ce ou ces module(s) existent, mais ne peuvent pas être chargés tel que demandé: %{kA} Utilisez: "module spider %{kB}" pour voir la façon de les charger. diff --git a/rt/cached_loads/err.txt b/rt/cached_loads/err.txt index 223a470cb..821374682 100644 --- a/rt/cached_loads/err.txt +++ b/rt/cached_loads/err.txt @@ -37,7 +37,7 @@ lua ProjectDIR/src/lmod.in.lua bash --regression_testing load B Lmod has detected the following error: The following module(s) are unknown: "B" Please check the spelling or version number. Also try "module spider ..." It is also possible your cache file is out-of-date; it may help to try: - $ module --ignore-cache load "B" + $ module --ignore_cache load "B" Also make sure that all modulefiles written in TCL start with the string #%Module =========================== step 9 diff --git a/rt/depends_on/err.txt b/rt/depends_on/err.txt index f77c99ece..9e1fddd63 100644 --- a/rt/depends_on/err.txt +++ b/rt/depends_on/err.txt @@ -127,7 +127,7 @@ lua ProjectDIR/src/lmod.in.lua bash --regression_testing load Z Lmod has detected the following error: The following module(s) are unknown: "Non_existant" Please check the spelling or version number. Also try "module spider ..." It is also possible your cache file is out-of-date; it may help to try: - $ module --ignore-cache load "Non_existant" + $ module --ignore_cache load "Non_existant" Also make sure that all modulefiles written in TCL start with the string #%Module =========================== step 26 diff --git a/rt/empty/err.txt b/rt/empty/err.txt index 492b94f77..5f9e5795c 100644 --- a/rt/empty/err.txt +++ b/rt/empty/err.txt @@ -12,5 +12,5 @@ Lmod Warning: MODULEPATH is undefined. Lmod has detected the following error: The following module(s) are unknown: "a" Please check the spelling or version number. Also try "module spider ..." It is also possible your cache file is out-of-date; it may help to try: - $ module --ignore-cache load "a" + $ module --ignore_cache load "a" Also make sure that all modulefiles written in TCL start with the string #%Module diff --git a/rt/i18n/err.txt b/rt/i18n/err.txt index 454ecdbba..843db403e 100644 --- a/rt/i18n/err.txt +++ b/rt/i18n/err.txt @@ -45,7 +45,7 @@ lua ProjectDIR/src/lmod.in.lua bash --regression_testing load unknown Lmod a détecté l'erreur suivante : Le ou les module(s) suivants sont inconnus: "unknown" Veuillez vérifier l'orthographe ou le numéro de version. Vous pouvez aussi essayer "module spider ..." Il est aussi possible que votre cache soit désuète. Essayez : - $ module --ignore-cache load "unknown" + $ module --ignore_cache load "unknown" =========================== step 10 lua ProjectDIR/src/lmod.in.lua bash --regression_testing --help diff --git a/rt/inaccessible/err.txt b/rt/inaccessible/err.txt index a7730a951..0b1a3c13e 100644 --- a/rt/inaccessible/err.txt +++ b/rt/inaccessible/err.txt @@ -45,7 +45,7 @@ lua ProjectDIR/src/lmod.in.lua bash --regression_testing load extend Lmod has detected the following error: The following module(s) are unknown: "extend" Please check the spelling or version number. Also try "module spider ..." It is also possible your cache file is out-of-date; it may help to try: - $ module --ignore-cache load "extend" + $ module --ignore_cache load "extend" Also make sure that all modulefiles written in TCL start with the string #%Module =========================== step 8 diff --git a/rt/load/err.txt b/rt/load/err.txt index a05cc5e58..539d5f08b 100644 --- a/rt/load/err.txt +++ b/rt/load/err.txt @@ -122,7 +122,7 @@ lua ProjectDIR/src/lmod.in.lua bash --regression_testing load boost/1.33.0 Lmod has detected the following error: The following module(s) are unknown: "boost/1.33.0" Please check the spelling or version number. Also try "module spider ..." It is also possible your cache file is out-of-date; it may help to try: - $ module --ignore-cache load "boost/1.33.0" + $ module --ignore_cache load "boost/1.33.0" Also make sure that all modulefiles written in TCL start with the string #%Module =========================== step 19 @@ -131,7 +131,7 @@ lua ProjectDIR/src/lmod.in.lua bash --regression_testing load boost/1.57.0 Lmod has detected the following error: The following module(s) are unknown: "boost/1.57.0" Please check the spelling or version number. Also try "module spider ..." It is also possible your cache file is out-of-date; it may help to try: - $ module --ignore-cache load "boost/1.57.0" + $ module --ignore_cache load "boost/1.57.0" Also make sure that all modulefiles written in TCL start with the string #%Module =========================== step 20 @@ -207,7 +207,7 @@ lua ProjectDIR/src/lmod.in.lua bash --regression_testing load DoesNotExist Lmod has detected the following error: The following module(s) are unknown: "DoesNotExist" Please check the spelling or version number. Also try "module spider ..." It is also possible your cache file is out-of-date; it may help to try: - $ module --ignore-cache load "DoesNotExist" + $ module --ignore_cache load "DoesNotExist" Also make sure that all modulefiles written in TCL start with the string #%Module =========================== step 31 @@ -322,7 +322,7 @@ lua ProjectDIR/src/lmod.in.lua bash --regression_testing load bad_symlink Lmod has detected the following error: The following module(s) are unknown: "bad_symlink" Please check the spelling or version number. Also try "module spider ..." It is also possible your cache file is out-of-date; it may help to try: - $ module --ignore-cache load "bad_symlink" + $ module --ignore_cache load "bad_symlink" Also make sure that all modulefiles written in TCL start with the string #%Module =========================== step 40 @@ -331,7 +331,7 @@ lua ProjectDIR/src/lmod.in.lua bash --regression_testing load empty Lmod has detected the following error: The following module(s) are unknown: "empty" Please check the spelling or version number. Also try "module spider ..." It is also possible your cache file is out-of-date; it may help to try: - $ module --ignore-cache load "empty" + $ module --ignore_cache load "empty" Also make sure that all modulefiles written in TCL start with the string #%Module =========================== step 41 @@ -340,7 +340,7 @@ lua ProjectDIR/src/lmod.in.lua bash --regression_testing load version_only Lmod has detected the following error: The following module(s) are unknown: "version_only" Please check the spelling or version number. Also try "module spider ..." It is also possible your cache file is out-of-date; it may help to try: - $ module --ignore-cache load "version_only" + $ module --ignore_cache load "version_only" Also make sure that all modulefiles written in TCL start with the string #%Module =========================== step 42 diff --git a/rt/slepc/err.txt b/rt/slepc/err.txt index bdd2bf218..658382a36 100644 --- a/rt/slepc/err.txt +++ b/rt/slepc/err.txt @@ -11,7 +11,7 @@ lua ProjectDIR/src/lmod.in.lua bash --regression_testing load petsc slepc Lmod has detected the following error: The following module(s) are unknown: "petsc" Please check the spelling or version number. Also try "module spider ..." It is also possible your cache file is out-of-date; it may help to try: - $ module --ignore-cache load "petsc" + $ module --ignore_cache load "petsc" Also make sure that all modulefiles written in TCL start with the string #%Module While processing the following module(s): Module fullname Module Filename diff --git a/rt/swap/err.txt b/rt/swap/err.txt index 3f165186a..d9bde0379 100644 --- a/rt/swap/err.txt +++ b/rt/swap/err.txt @@ -254,5 +254,5 @@ Lmod is automatically replacing "gcc/4.2.3" with "intel/intel". Lmod has detected the following error: The following module(s) are unknown: "unknown" Please check the spelling or version number. Also try "module spider ..." It is also possible your cache file is out-of-date; it may help to try: - $ module --ignore-cache load "unknown" + $ module --ignore_cache load "unknown" Also make sure that all modulefiles written in TCL start with the string #%Module