diff options
author | Tim Potter <tpot@samba.org> | 2001-05-09 04:59:49 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2001-05-09 04:59:49 +0000 |
commit | acef477383e5739292e764c17cef87822a09f13b (patch) | |
tree | d93aafae5b5cd2f8221094c08e3c255ca8f0eec6 /testsuite/lib/nsswitch-config.exp | |
parent | 7a619ab81c07b4b50e865635eee22efd8c5656b4 (diff) | |
download | samba-acef477383e5739292e764c17cef87822a09f13b.tar.gz samba-acef477383e5739292e764c17cef87822a09f13b.tar.xz samba-acef477383e5739292e764c17cef87822a09f13b.zip |
Cleaned up bitrot in nsswitch testsuite. Merged tests across from TNG
branch.
Diffstat (limited to 'testsuite/lib/nsswitch-config.exp')
-rw-r--r-- | testsuite/lib/nsswitch-config.exp | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/testsuite/lib/nsswitch-config.exp b/testsuite/lib/nsswitch-config.exp new file mode 100644 index 00000000000..38342685dfa --- /dev/null +++ b/testsuite/lib/nsswitch-config.exp @@ -0,0 +1,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 |