| 1 |
#%Module |
| 2 |
if {[info exists env(TESTSUITE_STICKY_GENERIC)]} { |
| 3 |
if {![info exists env(TESTSUITE_SUPER_STICKY)]} { |
| 4 |
set tag sticky |
| 5 |
} else { |
| 6 |
set tag super-sticky |
| 7 |
} |
| 8 |
switch -- $env(TESTSUITE_STICKY_GENERIC) { |
| 9 |
1 { |
| 10 |
module-tag $tag stickysub |
| 11 |
} |
| 12 |
2 { |
| 13 |
module-tag $tag stickysub/dir1 |
| 14 |
} |
| 15 |
3 { |
| 16 |
module-tag $tag stickysub/dir1/1.0 |
| 17 |
} |
| 18 |
4 { |
| 19 |
module-tag $tag stickysub/dir1@1: |
| 20 |
} |
| 21 |
5 { |
| 22 |
module-tag $tag stickysub/[email protected],2.0 |
| 23 |
} |
| 24 |
6 { |
| 25 |
module-tag $tag stickysub/dir1 stickysub/dir1/1.0 |
| 26 |
} |
| 27 |
7 { |
| 28 |
module-tag super-sticky stickysub/dir1 |
| 29 |
module-tag sticky stickysub |
| 30 |
} |
| 31 |
8 { |
| 32 |
module-tag super-sticky stickysub |
| 33 |
module-tag sticky stickysub/dir1/1.0 |
| 34 |
} |
| 35 |
9 { |
| 36 |
module-tag sticky stickysub |
| 37 |
module-tag super-sticky stickysub/dir1/1.0 |
| 38 |
} |
| 39 |
10 { |
| 40 |
module-tag sticky stickysub/dir1 stickysub/dir1/1.0 |
| 41 |
module-version stickysub/dir1 default |
| 42 |
module-version stickysub/dir1/1.0 default |
| 43 |
} |
| 44 |
11 { |
| 45 |
module-tag sticky stickysub/dir2 stickysub/dir2/4.0 |
| 46 |
} |
| 47 |
} |
| 48 |
|
| 49 |
} |