Age | Commit message (Collapse) | Author | Files | Lines |
|
containing the VM path from the command line.
wintest_2k3_dc.sh is a new script which will run a group of tests against a Windows 2003 DC.
The group of tests to run should be passed in on the command line.
These tests were taken from the source/script/tests/test_win2k3.sh script.
tests_win2k3_dc.sh is a new script intended to be called by 'make wintest_dc' (patch to source/main.mk forthcoming).
This is intended to provide the basis for Windows 2003 DC testing in the build farm.
In order to use these tests, you should have a DC setup as a VM in VMware server.
This process is not automated yet, but can be done by following a few steps:
1. Prepare a Windows 2003 VM in VMware Server by downloading and extracting:
svn://svn.samba.org/home/svn/samba/branches/SOC/bnh/vm_setup.tar.gz
and following the instructions in the README file.
2. Copying the following file onto the filesystem of the VM configured in step 1:
svn://svn.samba.org/home/svn/samba/branches/SOC/bnh/dcpromo_2k3dc_newdomain.answerfile.txt
and use it to promote the VM.
For example: "dcpromo /answer:<path to answerfile>"
3. On the system you are testing from, set the environment variable WINTESTCONF, and SRCDIR.
WINTESTCONF should point to the path of a test_win.conf file modified for your environment.
There's a default copy in source/script/tests/win/test_win.conf.
SRCDIR should point to the base of your Samba 4 source tree.
At that point, you should be able to run wintest_2k3_dc.sh by passing a group of tests at the command line.
For example: source/script/tests/win/wintest_2k3_dc.sh RPC-DRSUAPI
Sorry for the long-winded commit message!
(This used to be commit a0d1c690de2e58eddf5517eb974e09c2bba23605)
|
|
Made the restore_snapshot() routine in wintest_functions.sh more robust.
This change would have broken the existing windows tests, if they weren't already broken.
Will fix those once the windows DC tests are committed and working in the build farm.
(This used to be commit 76c6c5b8de58618ac013f5b26a6aafc98e15f57c)
|
|
(This used to be commit f2df3a90f1f3b85bc3c847ebfc1d01e2fa9e9ee7)
|
|
(This used to be commit 908b483ed096497e1604b67ea797c223c3e34adf)
|
|
'make test' does.
Comment those tests which don't pass.
(This used to be commit 7d382b175b548ae32b4c7c1b728dcd02e20cbbfa)
|
|
test' does.
Comment those tests that don't pass.
(This used to be commit 046b38817ad30df14214c5d66ae10999699bdb08)
|
|
tests as 'make test' does, at least for those that pass.
Comment the tests that don't pass.
(This used to be commit 33760cfe94f8a4a0e4441dd8fb5089cf8c26487f)
|
|
wintest_functions.sh, and remove them from the main windows test script.
(This used to be commit 587196092846dbab009be9063b1680ad73ae9c14)
|
|
automatically remove any subdirs and files of the directory to be deleted.
(This used to be commit a41eefaaa738177f55d93b227f341f903a902939)
|
|
Windows VM for testing using this framework.
Let me know if there's anything that looks strange or could use clarification.
vm_setup.tar.gz is currently located at the root of my SVN branch, svn://svnanon.samba.org/samba/branches/SOC/bnh.
(This used to be commit 849fe757bb908842844ab482b8669694157550cd)
|
|
framework patch. There are some issues with the patch that I will
discuss in a separate email to the list, but given the low (zero?)
impact of the patch as it is, I think its better to integrate it now,
then let Brad send some minor update patches later
(This used to be commit 7232da0436ff1d84e419d268fee31a095bbb88b7)
|