diff options
author | Tim Potter <tpot@samba.org> | 2000-05-12 06:55:09 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2000-05-12 06:55:09 +0000 |
commit | 75ebfc6f7a7692d772b729b2d83038a9054b4f90 (patch) | |
tree | 031b445348b62fdf40489fb2526c46506ee2c3ba /testsuite/config | |
parent | 053322d0ca6b68be638c2d5f4caa9909a19c1646 (diff) | |
download | samba-75ebfc6f7a7692d772b729b2d83038a9054b4f90.tar.gz samba-75ebfc6f7a7692d772b729b2d83038a9054b4f90.tar.bz2 samba-75ebfc6f7a7692d772b729b2d83038a9054b4f90.zip |
Merge from TNG.
(This used to be commit af5ded9f17addb4bc89ecb762b9b99d2f99463ab)
Diffstat (limited to 'testsuite/config')
-rw-r--r-- | testsuite/config/default-nt-names.exp | 17 | ||||
-rw-r--r-- | testsuite/config/env.exp | 26 | ||||
-rw-r--r-- | testsuite/config/unix.exp | 27 |
3 files changed, 70 insertions, 0 deletions
diff --git a/testsuite/config/default-nt-names.exp b/testsuite/config/default-nt-names.exp new file mode 100644 index 0000000000..4a868e71bc --- /dev/null +++ b/testsuite/config/default-nt-names.exp @@ -0,0 +1,17 @@ +# +# A list of default domain/local users/groups +# + +# Domain users and groups + +set domain_users [list "$domain/Administrator" "$domain/Guest"] + +set domain_groups [list "$domain/Domain Admins" "$domain/Domain Guests" \ + "$domain/Domain Users"] + +# Local groups + +set local_groups [list "BUILTIN/Replicator" "BUILTIN/Server Operators" \ + "BUILTIN/Account Operators" "BUILTIN/Backup Operators" \ + "BUILTIN/Print Operators" "BUILTIN/Guests" "BUILTIN/Users" \ + "BUILTIN/Administrators"] diff --git a/testsuite/config/env.exp b/testsuite/config/env.exp new file mode 100644 index 0000000000..503d058c3f --- /dev/null +++ b/testsuite/config/env.exp @@ -0,0 +1,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" +} + diff --git a/testsuite/config/unix.exp b/testsuite/config/unix.exp new file mode 100644 index 0000000000..c8b3b28779 --- /dev/null +++ b/testsuite/config/unix.exp @@ -0,0 +1,27 @@ +# Copyright (C) 1988, 1990, 1991, 1992, 1994, 1997 Free Software Foundation, Inc. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +# Please email any bugs, comments, and/or additions to this file to: +# bug-gdb@prep.ai.mit.edu + +# This file was written by Rob Savoye. (rob@cygnus.com) + +# Set a default timeout to be used for the tests under UNIX, rather than +# accepting whatever default dejagnu gives us (apparently 10 seconds). +# When running the tests over NFS, under somewhat heavy load, 10 seconds +# does not seem to be enough. Try starting with 60. +set timeout 60 +verbose "Timeout is now $timeout seconds" 2 |