1 |
|
---|
2 | # perl needs to know to look in $WINTEST_DIR for VMHost.pm.
|
---|
3 | export PERLLIB=$WINTEST_DIR
|
---|
4 |
|
---|
5 | # Command prompt that we are expecting on the windows host.
|
---|
6 | export SMBTORTURE_REMOTE_PROMPT=">"
|
---|
7 |
|
---|
8 | ##
|
---|
9 | ## The variables in this section apply to the 'make wintest_dc' set of tests.
|
---|
10 | ##
|
---|
11 |
|
---|
12 | # A username and password with admin rights to the DC we're testing against.
|
---|
13 | export WIN2K3_DC_USERNAME="tortureuser"
|
---|
14 | export WIN2K3_DC_PASSWORD="torturepass"
|
---|
15 |
|
---|
16 | # The domain and realm that the DC is configured for.
|
---|
17 | export WIN2K3_DC_DOMAIN="WINTESTDC"
|
---|
18 | export WIN2K3_DC_REALM="wintest.dc"
|
---|
19 |
|
---|
20 | # The path to the DC vmware image config file, local to the vmware server.
|
---|
21 | export WIN2K3_DC_VM_CFG_PATH="/var/lib/vmware/Virtual Machines/Windows Server 2003 DC BuildFarm/Windows 2003 DC BuildFarm.vmx"
|
---|
22 |
|
---|
23 | ##
|
---|
24 | ## The parameters in this section apply to the 'make wintest' set of tests.
|
---|
25 | ##
|
---|
26 |
|
---|
27 | # The username and password we will be testing with.
|
---|
28 | # This user will need admin rights on the remote windows host.
|
---|
29 | export SMBTORTURE_USERNAME="tortureuser"
|
---|
30 | export SMBTORTURE_PASSWORD="torturepass"
|
---|
31 |
|
---|
32 | # The name of the workgroup we will be using on the remote windows host.
|
---|
33 | export SMBTORTURE_WORKGROUP="SMBTEST"
|
---|
34 |
|
---|
35 | # The name of and path to the windows share we'll be testing against.
|
---|
36 | export SMBTORTURE_REMOTE_SHARE_NAME="smbtorture_share"
|
---|
37 | export SMBTORTURE_REMOTE_SHARE_PATH="%HOMEDRIVE%\smbtorture_shared_dir"
|
---|
38 |
|
---|
39 | # Default timeout for the expect scripts to wait for a response from the remote.
|
---|
40 | export SMBTORTURE_EXPECT_TIMEOUT=30
|
---|
41 |
|
---|
42 | # Path to the local smbtorture binary.
|
---|
43 | export SMBTORTURE_BIN_PATH="bin/smbtorture"
|
---|
44 |
|
---|
45 | # Local system hostname and ip address we'll be adding to the remote's
|
---|
46 | # hosts file.
|
---|
47 | export SMBTORTURE_LOCAL_HOSTNAME=$NETBIOSNAME
|
---|
48 | export SMBTORTURE_LOCAL_IP="192.168.100.12"
|
---|
49 |
|
---|
50 | # Filename of the windows hosts' unedited hosts file.
|
---|
51 | export REMOTE_BACKUP_HOSTS_FILENAME="hosts.smbtorture"
|
---|
52 | export REMOTE_HOSTS_FILE_PATH="%SYSTEMROOT%\\system32\\drivers\\etc"
|
---|
53 |
|
---|
54 | # These coincide with the parameters mktestsetup.sh uses to setup smbd.
|
---|
55 | export SMBTORTURE_LOCAL_USERNAME="administrator"
|
---|
56 | export SMBTORTURE_LOCAL_PASSWORD="penguin"
|
---|
57 | export SMBTORTURE_LOCAL_DOMAIN="SAMBADOMAIN"
|
---|
58 |
|
---|
59 | # This is the name of the samba share the windows vm will connect to.
|
---|
60 | export SMBTORTURE_LOCAL_SHARE_NAME="TMP"
|
---|
61 |
|
---|
62 | # This is the drive letter which will be used to mount a share on the windows vm.
|
---|
63 | export SMBTORTURE_REMOTE_DRIVE_LETTER="X:"
|
---|
64 |
|
---|
65 | # This is the name of the file which will be created on the windows vm
|
---|
66 | # and used for samba server tests.
|
---|
67 | export SMBTORTURE_TMP_FILENAME="smbtorture.tmp"
|
---|
68 |
|
---|
69 | # The path to the vmware image config file local to the vmware server.
|
---|
70 | export VM_CFG_PATH="/var/lib/vmware/Virtual Machines/Win2k3-BuildFarm/Win2k3-BuildFarm.vmx"
|
---|
71 |
|
---|
72 | # In order to copy files and execute programs on the guest vm,
|
---|
73 | # we need administrator-level credentials to log in with.
|
---|
74 | export GUEST_ADMIN_USERNAME="administrator"
|
---|
75 | export GUEST_ADMIN_PASSWORD="adminpass"
|
---|
76 |
|
---|
77 | # These parameters are optional. If not specified, the script tries to access
|
---|
78 | # a local vmware server as the executing user.
|
---|
79 | # logged-in user running the script are used.
|
---|
80 | export HOST_SERVER_NAME="vmhost"
|
---|
81 | export HOST_SERVER_PORT=902
|
---|
82 | export HOST_USERNAME="vmuser"
|
---|
83 | export HOST_PASSWORD="vmpass"
|
---|