#%Module

if {[info exists env(TESTSUITE_INFO_USER_IN_RC)]} {
    module-virtual info/[module-info username] ./username
}
if {[info exists env(TESTSUITE_INFO_GROUP_IN_RC)]} {
    foreach grp [module-info usergroups] {
        module-virtual info/$grp ./usergroups
    }
}
