File: 1.0

package info (click to toggle)
modules 5.6.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 23,036 kB
  • sloc: exp: 79,659; sh: 6,142; tcl: 5,900; makefile: 1,493; ansic: 474; python: 265; csh: 202; perl: 47; ruby: 44; lisp: 13
file content (343 lines) | stat: -rw-r--r-- 8,563 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
#%Module
if {[info exists env(TESTSUITE_EXTRA)]} {
    switch -- $env(TESTSUITE_EXTRA) {
        vr1 {
            variant xtfoo val1 val2 val3
            variant xtbar val1 val2 val3
            module-whatis [module-info name]
        }
        vr2 {
            variant xtbar val1 val2 val3
            module-whatis [module-info name]
        }
        setenv1 {
            setenv XTFOO value
        }
        setenv2 {
            setenv XTFOO value
            setenv XTBAR value
        }
        setenv3 {
            setenv XTFOO value
            setenv XTFOO value2
        }
        append1 {
            append-path XTFOO value
        }
        prepend1 {
            prepend-path XTFOO value
        }
        remove1 {
            remove-path XTFOO value
        }
        unsetenv1 {
            unsetenv XTFOO
        }
        pushenv1 {
            pushenv XTFOO value
        }
        envvarmix1 - envvarmix2 {
            setenv XTFOO value
            append-path XTBAR value
        }
        envvarmix3 {
            setenv XTFOO value
            append-path XTFOO value
        }
        complete1 {
            complete bash xtfoo value
        }
        uncomplete1 {
            uncomplete xtfoo
        }
        alias1 {
            set-alias xtfoo value
        }
        unalias1 {
            unset-alias xtfoo
        }
        function1 {
            set-function xtfoo value
        }
        unfunction1 {
            unset-function xtfoo
        }
        chdir1 {
            chdir /xtfoo
        }
        err1 {
            setenv {} value
        }
        err2 {
            complete bash {} value
        }
        err3 {
            append-path --unkopt XTFOO value
        }
        err4 {
            set-alias
        }
        source1 {
            source-sh bash testsuite/example/sh-to-mod.sh
        }
        family1 {
            family xtfoo
        }
        family2 {
            family {}
        }
        family3 {
            family xtfoo extraarg
        }
        prereq1 - prereqalt1 {
            prereq xtfoo
        }
        prereq2 - prereqalt2 - prereqalt3 {
            prereq xtfoo/1.0
        }
        prereq3 {
            prereq xtunk
        }
        prereq4 {
            prereq xtunk/1.0
        }
        prereqalt4 {
            prereq alxtfoo
        }
        prereqalt5 {
            prereq xtfoo/1.1
        }
        prereq5 {
            prereq xtfoo/1.0 variant/1.0
        }
        prereq6 {
            prereq xtfoo variant info
        }
        prereq7 {
            prereq xtbar@1.1:2
        }
        prereq8 {
            prereq xtbar@:1.1
        }
        prereq9 {
            prereq xtbar @0.9: bar=val1
        }
        prereq10 {
            prereq xtbar@0.9: bar=val1 xtfoo/1.0
        }
        prereq11 {
            prereq xtbar@0.9: bar=val1 foo=val2 xtfoo/1.0
        }
        prereq12 {
            prereq --optional xtfoo @1.0
        }
        prereq13 {
            prereq --tag footag xtfoo @1.0
        }
        prereq14 {
            prereq
        }
        prereq-any1 {
            prereq-any xtfoo
        }
        prereq-all1 {
            prereq-all xtfoo@0.7: xtbar/1.0
        }
        depends-on1 {
            depends-on xtfoo xtbar bar=val1
        }
        always-load1 {
            always-load xtfoo@0.9: foo=val2 xtbar bar=val1
        }
        load1 {
            module load xtfoo@0.9: foo=val2 xtbar bar=val1
        }
        load2 {
            module lo xtfoo@0.7: xtbar/1.0
        }
        load3 {
            module add xtfoo xtbar bar=val1
        }
        load4 {
            module load --foo xtfoo@0.9: foo=val2 xtbar bar=val1
        }
        load5 {
            module load --tag foo xtfoo@0.9: foo=val2 xtbar bar=val1
        }
        load6 {
            module load
        }
        load7 {
            module load extra/1.0
        }
        load8 {
            module load xtfoo/1.0
        }
        module-err1 {
            module unk foo
        }
        module-err2 {
            module help foo
        }
        module-err3 {
            module --json avail
        }
        module-err4 {
            module avail --json
        }
        module-err5 {
            module avail --foo
        }
        try-load1 {
            module try-load xtfoo@0.9: foo=val2 xtbar bar=val1
        }
        load-any1 {
            module load-any xtfoo@0.9: foo=val2 xtbar bar=val1
        }
        unload1 {
            module unload xtfoo@0.7: xtbar/1.0
        }
        unload2 {
            module rm xtfoo@0.7: xtbar/1.0
        }
        conflict1 {
            conflict xtfoo@0.7:
        }
        conflict2 {
            conflict xtfoo@0.9: foo=val2 xtbar bar=val1
        }
        switch1 {
            module switch
        }
        switch2 {
            module switch foo bar qux
        }
        switch3 {
            module switch xtfoo xtbar@1.0 bar=val1
        }
        switch4 {
            module swap xtfoo @0.9: xtbar
        }
        switch5 {
            module switch xtfoo @0.9:1.1
        }
        switch6 {
            module switch --tag foo xtbar
        }
        switch7 {
            module switch --tag foo xtfoo xtbar@1.0 bar=val1
        }
        uncomplete2 {
            uncomplete {}
        }
        load9 {
            module load --not-req xtfoo/1.0
        }
        unload3 {
            module unload --not-req xtfoo@0.7: xtbar/1.0
        }
        switch8 {
            module switch --not-req xtfoo xtbar
        }
        try-load2 {
            module try-load --not-req xtfoo@0.9: foo=val2 xtbar bar=val1
        }
        load-any2 {
            module load-any --not-req xtfoo@0.9: foo=val2 xtbar bar=val1
        }
        tag1 - tag2 - tag3 {
            setenv XTFOO value
        }
        tag5 {
            variant xtfoo val1 val2 val3
        }
        use1 {
            module use /path/to/dir1
        }
        use2 {
            module use {}
        }
        use3 {
            module use /path/to/dir1 /path/to/dir2
        }
        use_opt1 {
            module use -a /path/to/dir1 /path/to/dir2
        }
        use_opt2 {
            module use /path/to/dir1 --append /path/to/dir2
        }
        use_opt3 {
            module use --other /path/to/dir1 /path/to/dir2
        }
        use_append1 {
            append-path MODULEPATH /path/to/dir1
        }
        use_append2 {
            append-path OTHERPATH /path/to/dir1
        }
        use_append3 {
            append-path MODULEPATH /path/to/dir1 /path/to/dir2
        }
        use_append_opt1 {
            append-path -d : MODULEPATH /path/to/dir1 /path/to/dir2
        }
        use_append_opt2 {
            append-path MODULEPATH /path/to/dir1 --duplicates /path/to/dir2
        }
        use_append_opt3 {
            append-path --other MODULEPATH /path/to/dir1 /path/to/dir2
        }
        use_prepend1 {
            prepend-path MODULEPATH /path/to/dir1
        }
        use_prepend2 {
            prepend-path OTHERPATH /path/to/dir1
        }
        use_prepend3 {
            prepend-path MODULEPATH /path/to/dir1 /path/to/dir2
        }
        use_prepend_opt1 {
            prepend-path -d : MODULEPATH /path/to/dir1 /path/to/dir2
        }
        use_prepend_opt2 {
            prepend-path MODULEPATH /path/to/dir1 --duplicates /path/to/dir2
        }
        use_prepend_opt3 {
            prepend-path --other MODULEPATH /path/to/dir1 /path/to/dir2
        }
        depends-on-any1 {
            depends-on-any xtfoo
        }
        use_extref1 {
            module use /path/to/d\$TESTSUITE_EXTRA_EXTREF
        }
        use_inref1 {
            setenv TESTSUITE_EXTRA_INREF unk
            module use /path/to/d\$TESTSUITE_EXTRA_INREF
        }
        use_inref2 {
            setenv TESTSUITE_EXTRA_INREF ir2
            module use /path/to/d\$TESTSUITE_EXTRA_INREF
        }
        use_append_extref1 {
            append-path MODULEPATH /path/to/d\$TESTSUITE_EXTRA_EXTREF
        }
        use_append_inref1 {
            setenv TESTSUITE_EXTRA_INREF unk
            append-path MODULEPATH /path/to/d\$TESTSUITE_EXTRA_INREF
        }
        use_append_inref2 {
            setenv TESTSUITE_EXTRA_INREF ir2
            append-path MODULEPATH /path/to/d\$TESTSUITE_EXTRA_INREF
        }
        tag5 {
            module-tag xtfoo [module-info name]
        }
        tag6 {
            add-property name xtfoo
        }
        tag8 {
            module-warn --message {warning text} extra/1.0
        }
    }
}