Files
modules/testsuite/modulefiles.deep/modvirt
Xavier Delaruelle 6ac49b27ad Correctly handle deep virtual modules
Fix getModules procedure to correctly handle virtual modules when the
sub-directories they refer to does not exist on the filesystem. For
instance 'modvirt/dir0/sub1/1.0' may be a virtual module defined with

 module-virtual modvirt/dir0/sub1/1.0 .common

in 'modvirt/.modulerc' where modvirt/dir0 and modvirt/dir0/sub1 do not
correspond to existing directories on the filesystem.

Now getModules will define among its result virtual directory entries to
make the deep virtual modules findable when, for instance searching a
default version.

Add non-regression tests in 20-locate and 80-deep suites for the deep
virtual module use-case.
2018-01-14 10:39:32 +01:00
..
2018-01-14 10:39:32 +01:00