blob: 503d058c3f3567e54602621ac32cf7f4755539e8 (
plain)
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
|
#
# Load environment variables
#
# Domain set through environment variable
catch {set domain "$env(TEST_WORKGROUP)"} tmp
if {[regexp "^can't read" $tmp]} {
error "Environment variable \$TEST_WORKGROUP not set"
}
# NT user and server
catch {set ntserver "$env(TEST_NTSERVER)"} tmp
if {[regexp "^can't read" $tmp]} {
error "Environment variable \$TEST_NTSERVER not set"
}
catch {set ntuser "$env(TEST_NTUSER)"} tmp
if {[regexp "^can't read" $tmp]} {
error "Environment variable \$TEST_NTUSER not set"
}
|