Commit Graph

143 Commits

Author SHA1 Message Date
Xavier Delaruelle
98af688203 Catch collection dir error and report correct msg
Fixes #482
2023-01-16 19:43:04 +01:00
Xavier Delaruelle
1cdd5d319c ts: add helper procs for collection list header msgs 2022-10-04 07:41:37 +02:00
Xavier Delaruelle
a868cc6d85 ts: move unsatisfied constraint msg to init section 2022-09-28 06:42:59 +02:00
Xavier Delaruelle
e14db4d995 ts: move nothing to save err msg in init section 2022-09-28 06:42:59 +02:00
Xavier Delaruelle
1b672576cd ts: put coll not valid msg in a proc 2022-09-28 06:42:59 +02:00
Xavier Delaruelle
525c7cb629 ts: put coll not found msg in a proc 2022-09-28 06:42:59 +02:00
Xavier Delaruelle
ec835353b2 ts/doc: add stash test/doc on 'module-info command' 2022-09-28 06:42:59 +02:00
Xavier Delaruelle
1d3f764b21 doc: desc module saveshow when no default in NEWS/man/changes 2022-08-25 08:10:01 +02:00
Xavier Delaruelle
3989a2bdd8 ts: update/add tests for 'module saveshow' behavior 2022-08-25 08:10:01 +02:00
Xavier Delaruelle
beb007e085 ts: update/add tests for 'module restore' behavior 2022-08-25 08:10:01 +02:00
Xavier Delaruelle
1ddc1238bd ts: add savelist --all tests 2022-08-05 03:53:32 +02:00
Xavier Delaruelle
a4a5daba3c ts: test pattern search on savelist sub-cmd 2022-08-04 08:59:07 +02:00
Xavier Delaruelle
5b3a92f006 ts: adapt existing tests now savelist accepts args 2022-08-03 20:55:01 +02:00
Xavier Delaruelle
1dd62eb1b0 ts: adapt existing tests to try-load prereq record change 2022-06-01 07:43:17 +02:00
Xavier Delaruelle
b7bd5aa56c Release of version 5.1.0 2022-04-30 08:13:22 +02:00
Xavier Delaruelle
b6e176524c ts: tests tagging messages on verbose/verbose2 modes 2022-04-29 18:56:24 +02:00
Xavier Delaruelle
678b4028af ts: adapt existing restore tests to the Tagging msg 2022-04-28 15:16:07 +02:00
Xavier Delaruelle
8a68787ef1 ts: update tests with tags reported in msg block 2022-04-28 07:32:46 +02:00
Xavier Delaruelle
29970a1844 ts: add restore tests with tags set or not 2022-04-25 11:13:20 +02:00
Xavier Delaruelle
0717eb2027 ts: update restore tests now extra tags are cleared 2022-04-25 08:15:46 +02:00
Xavier Delaruelle
514bf4f707 ts: verify coll compat on all coll subcmds 2022-04-07 06:36:54 +02:00
Xavier Delaruelle
a83f80db7d ts: adapt existing tests now coll compat is verified 2022-04-07 06:36:54 +02:00
Xavier Delaruelle
4db43390c5 ts: update tag saved in collection tests
Set temporarily file signature to 5.0 version. Will move to 5.1 version
with the release commit of 5.1.0.
2022-04-02 15:02:08 +02:00
Xavier Delaruelle
a511724671 ts: test saving nearly-forbidden tag in collection 2022-04-02 09:29:18 +02:00
Xavier Delaruelle
4e3d3c49fc ts: test restore colls with invalid tags saved 2022-04-02 09:29:18 +02:00
Xavier Delaruelle
6e9260c759 ts: test save/restore with collection_pin_tag enabled 2022-04-01 06:58:35 +02:00
Xavier Delaruelle
ac081ee462 ts: add collection tests for extra tag record 2022-04-01 06:58:35 +02:00
Xavier Delaruelle
266fb45c62 ts: adapt --tag option collection tests 2022-04-01 06:57:57 +02:00
Xavier Delaruelle
60edac304f Fix stickiness typos
Fixes #442.
2022-02-18 06:41:25 +01:00
Dimitri Papadopoulos
e9a6678eec Fix typos found by codespell 2022-02-15 05:54:03 +01:00
Xavier Delaruelle
b6a9b4fccc ts: test mcookie_check set to eval in 20/130 2022-01-09 09:46:27 +01:00
Xavier Delaruelle
9e5bed7f9a Ensure no duplicate in tags set to module
Update setModuleTag procedure to avoid adding a tag to module which is
already set to avoid duplicate entries. Adapt existing tests.
2021-12-24 16:04:16 +01:00
Xavier Delaruelle
a9b1b865d0 ts: add collection tests for --tag option 2021-12-18 10:05:17 +01:00
Xavier Delaruelle
02708fea4e ts: adapt existing collection tests for --tag record 2021-12-18 10:02:57 +01:00
Xavier Delaruelle
bc92293b15 ts: fix auto-loaded module restore tests in 61/040 2021-12-18 09:29:54 +01:00
Xavier Delaruelle
7783d4e67b Fix module load/unload msg of restore/source subcmds
Report the modules loading and unloading during the `module` command
initialization (i.e., during the evaluation of the `initrc` configuration
file). These report messages are disabled when the `verbosity`
configuration option is set to `concise` or `silent`.

During a module `restore` or `source`, only report the module load and
unload directly triggered by these sub-commands. Load and unload
triggered by other modules are reported through the automated module
handling messages of the main modules.

Register the cmdModuleSource call made by cmdModuleAutoinit as a
`source` command call to benefit from the message report mechanism. Do
not apply the same for the cmdModuleSource call made by runModulerc as
those calls will be changed to execute-modulerc in the future.
2021-08-21 14:31:09 +02:00
Xavier Delaruelle
3acb1a4d34 ts: update tests for ref cnt change for elt added once 2021-08-09 12:28:24 +02:00
Xavier Delaruelle
c22294f0f2 ts: update reference to renamed __MODULES_SHARE_* vars 2021-08-08 13:27:53 +02:00
Xavier Delaruelle
8aea89634a ts: no ref count on most Modules-specific env var 2021-08-07 13:34:53 +02:00
Xavier Delaruelle
155a3194cc ts: adapt tests for __MODULES_LMNOTUASKED removal 2021-08-07 13:34:21 +02:00
Xavier Delaruelle
5172deb49e ts: update tests after LM env var renaming 2021-07-25 10:17:04 +02:00
Xavier Delaruelle
1f75963064 ts: update reference to renamed __MODULES_LM* vars 2021-07-24 14:06:09 +02:00
Xavier Delaruelle
6e925e9c6f ts: add skip_if_quick_mode in 60/61/80 suites 2021-07-24 14:06:09 +02:00
Xavier Delaruelle
d158921e9d ts: adapt full path tests when + sign is found in modpath
Plus sign in full path modulefile designation is understood as a variant
specification when advanced_version_spec config option is enabled. So
disable the option for the full path tests.
2021-07-24 14:06:06 +02:00
Xavier Delaruelle
7c0a930d27 ts: test collection with variant_shortcut in 61 2021-06-28 20:44:24 +02:00
Xavier Delaruelle
198bbf8833 ts: bool variant and collection in 61/{030,040} 2021-06-21 20:44:06 +02:00
Xavier Delaruelle
4a24636a61 ts: add isbool flag to persistency in existing vr tests 2021-06-21 20:44:06 +02:00
Xavier Delaruelle
2c646531fc ts: variant redefinition with default value in 61/030 & 50/470 2021-06-21 20:43:48 +02:00
Xavier Delaruelle
ba1e4ad17d ts: add icase/ext_dfl & variant tests on restore 2021-06-21 20:43:48 +02:00
Xavier Delaruelle
19288c6296 ts: adapt tests with auto set variants 2021-06-21 20:43:48 +02:00