summaryrefslogtreecommitdiff
path: root/testsuite/lib/nsswitch-config.exp
blob: 38342685dfa5c93ffa345b50afb96bd8e8b7e4ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#
# Load environment variables
#

global tool

if { [file exists "deja-$tool.tcl"] } {
    source "deja-$tool.tcl"
}

# Required options

if { ![info exists WORKGROUP] } {
    error "\$WORKGROUP not set in config file"
}

if { ![info exists PDC] } {
    error "\$PDC not set in config file"
}

set domain $WORKGROUP