Ignore:
Timestamp:
Nov 24, 2016, 1:14:11 PM (9 years ago)
Author:
Silvan Scherrer
Message:

Samba Server: update vendor to version 4.4.3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vendor/current/selftest/README

    r740 r988  
    22
    33This directory contains test scripts that are useful for running a
    4 bunch of tests all at once. 
     4bunch of tests all at once.
    55
    6 There are two parts to this: 
     6There are two parts to this:
    77
    88 * The test runner (selftest/selftest.pl)
    99 * The test formatter
    1010
    11 selftest.pl simply outputs subunit, which can then be formatted or analyzed 
    12 by tools that understand the subunit protocol. One of these tools is 
     11selftest.pl simply outputs subunit, which can then be formatted or analyzed
     12by tools that understand the subunit protocol. One of these tools is
    1313format-subunit, which is used by default as part of "make test".
    1414
    1515Available testsuites
    1616====================
    17 The available testsuites are obtained from a script, usually 
    18 source{3,4}/selftest/tests.sh. This script should for each testsuite output
    19 the name of the test, the command to run and the environment that should be 
     17The available testsuites are obtained from a script, usually
     18source{3,4}/selftest/tests.py. This script should for each testsuite output
     19the name of the test, the command to run and the environment that should be
    2020provided. Use the included "plantest" function to generate the required output.
    2121
     
    2525Exit code
    2626------------
    27 The testsuites should exit with a non-zero exit code if at least one 
     27The testsuites should exit with a non-zero exit code if at least one
    2828test failed. Skipped tests should not influence the exit code.
    2929
    3030Output format
    3131-------------
    32 Testsuites can simply use the exit code to indicate whether all of their 
    33 tests have succeeded or one or more have failed. It is also possible to 
    34 provide more granular information using the Subunit protocol. 
     32Testsuites can simply use the exit code to indicate whether all of their
     33tests have succeeded or one or more have failed. It is also possible to
     34provide more granular information using the Subunit protocol.
    3535
    36 This protocol works by writing simple messages to standard output. Any 
    37 messages that can not be interpreted by this protocol are considered comments 
     36This protocol works by writing simple messages to standard output. Any
     37messages that can not be interpreted by this protocol are considered comments
    3838for the last announced test.
    3939
    40 For a full description of the subunit protocol, see ../lib/subunit/README.
     40For a full description of the subunit protocol, see the README file in the subunit
     41repository at http://github.com/testing-cabal/subunit.
    4142
    4243The following commands are Samba extensions to Subunit:
    43 
    44 testsuite-count
    45 ~~~~~~~~~~~~~~~
    46 testsuite-count: number
    47 
    48 Announce the number of tests that is going to be run.
    4944
    5045start-testsuite
     
    7469Environments
    7570============
    76 Tests often need to run against a server with particular things set up, 
    77 a "environment". This environment is provided by the test "target": Samba 3, 
     71Tests often need to run against a server with particular things set up,
     72a "environment". This environment is provided by the test "target": Samba 3,
    7873Samba 4 or Windows.
    7974
    80 The following environments are currently available:
     75The environments are currently available include
    8176
    8277 - none: No server set up, no variables set.
    83  - dc: Domain controller set up. The following environment variables will
     78 - dc,s3dc: Domain controller set up. The following environment variables will
    8479   be set:
    8580
    8681     * USERNAME: Administrator user name
    87          * PASSWORD: Administrator password
    88          * DOMAIN: Domain name
    89          * REALM: Realm name
    90          * SERVER: DC host name
    91          * SERVER_IP: DC IPv4 address
    92          * NETBIOSNAME: DC NetBIOS name
    93          * NETIOSALIAS: DC NetBIOS alias
     82     * PASSWORD: Administrator password
     83     * DOMAIN: Domain name
     84     * REALM: Realm name
     85     * SERVER: DC host name
     86     * SERVER_IP: DC IPv4 address
     87     * SERVER_IPV6: DC IPv6 address
     88     * NETBIOSNAME: DC NetBIOS name
     89     * NETIOSALIAS: DC NetBIOS alias
    9490
    95  - member: Domain controller and member server that is joined to it set up. The
     91 - member,s4member,s3member: Domain controller and member server that is joined to it set up. The
    9692   following environment variables will be set:
    9793
    9894     * USERNAME: Domain administrator user name
    99         * PASSWORD: Domain administrator password
    100         * DOMAIN: Domain name
    101         * REALM: Realm name
    102         * SERVER: Name of the member server
     95    * PASSWORD: Domain administrator password
     96    * DOMAIN: Domain name
     97    * REALM: Realm name
     98    * SERVER: Name of the member server
    10399
     100See Samba.pm, Samba3.pm and Samba4.pm for the full list.
    104101
    105102Running tests
     
    110107   make test
    111108
    112 To run a quick subset (aiming for about 1 minute of testing) run::
     109To run a quicker subset run::
    113110
    114111   make quicktest
Note: See TracChangeset for help on using the changeset viewer.