Fix bug #Bug 8304 - Uninitialized variable referenced in error path.
[Samba.git] / testsuite / lib / nsswitch-config.exp
blob38342685dfa5c93ffa345b50afb96bd8e8b7e4ae
2 # Load environment variables
5 global tool
7 if { [file exists "deja-$tool.tcl"] } {
8 source "deja-$tool.tcl"
11 # Required options
13 if { ![info exists WORKGROUP] } {
14 error "\$WORKGROUP not set in config file"
17 if { ![info exists PDC] } {
18 error "\$PDC not set in config file"
21 set domain $WORKGROUP