summaryrefslogtreecommitdiff
path: root/source4/script/tests/win
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r21528: This file gets called by testit(), so it shouldn't call testit().Brad Henry1-4/+2
NET tests against Windows weren't getting run, testit() here just created a recipe. (This used to be commit c71dee34025b152d1af209b06023e30d2539fbc0)
2007-10-10r21521: Add missing quotes around shell variables which could have spaces.Brad Henry4-12/+10
Stop passing the VM config file path to wintest_2k3_dc.sh on the command line as it is now properly passed through the environment. Windows tests, including the DC tests found in test_w2k3.sh should work properly with 'make wintest' and a configured VMware environment. These tests are executed on build-farm host bnhtest. (This used to be commit 7496a28b4388535a426ca753bc9000670f6e42e1)
2007-10-10r21498: Putting the second parameter in quotes so that we accept spaces in ↵Brad Henry1-1/+1
the config file path. (This used to be commit 7facfe9247e98421e998092482f52db05228ace6)
2007-10-10r21495: Pass the VM .vmx file path to wintest_2k3_dc.sh on the command line.Brad Henry1-0/+1
(This used to be commit 06bf94781e688c57f625161722e0a25af5a8d2e3)
2007-10-10r21494: Fix 'make wintest' to support command-line changes to 'vm-get-ip.pl' ↵Brad Henry6-43/+65
and the revertsnapshot() shell function. Restructure existing tests to work with the recent build farm changes. Added windows DC testing to 'make wintest'. Some improvements and generalization to the way errors are handled. (This used to be commit de9687404e802d7e7629c9d03f496d3c5bd30397)
2007-10-10r21475: Updated vm_get_ip.pl to read the name of the environment variable ↵Brad Henry2-1/+117
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)
2007-10-10r21473: Added new parameters to test_win.conf that apply only to the DC tests.Brad Henry2-3/+41
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)
2007-10-10r19475: fixed a couple of typos.Brad Henry1-1/+1
(This used to be commit f2df3a90f1f3b85bc3c847ebfc1d01e2fa9e9ee7)
2007-10-10r19474: Move the Samba server / Windows client test to its own script.Brad Henry1-0/+26
(This used to be commit 908b483ed096497e1604b67ea797c223c3e34adf)
2007-10-10r19473: Add NET tests in their own script. Run the same set of tests that ↵Brad Henry1-0/+60
'make test' does. Comment those tests which don't pass. (This used to be commit 7d382b175b548ae32b4c7c1b728dcd02e20cbbfa)
2007-10-10r19472: Move rpc tests to their own scripts. Run the same tests as 'make ↵Brad Henry1-0/+63
test' does. Comment those tests that don't pass. (This used to be commit 046b38817ad30df14214c5d66ae10999699bdb08)
2007-10-10r19471: Move BASE and RAW tests to their own scripts. Run the same set of ↵Brad Henry2-0/+119
tests as 'make test' does, at least for those that pass. Comment the tests that don't pass. (This used to be commit 33760cfe94f8a4a0e4441dd8fb5089cf8c26487f)
2007-10-10r19470: Move common windows test functions into their own script ↵Brad Henry1-0/+35
wintest_functions.sh, and remove them from the main windows test script. (This used to be commit 587196092846dbab009be9063b1680ad73ae9c14)
2007-10-10r19278: Change the delete_directory() expect function so that rmdir willBrad Henry1-1/+1
automatically remove any subdirs and files of the directory to be deleted. (This used to be commit a41eefaaa738177f55d93b227f341f903a902939)
2007-10-10r18414: This README file should help to explain what is needed to setup a ↵Brad Henry1-0/+121
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)
2007-10-10r17768: This merges in the current version of Brad Henry's windows testingAndrew Tridgell8-0/+1308
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)