(/usr/bin/perl /home/douglas/src/samba/selftest/selftest.pl --target=samba --prefix=./st --srcdir=/home/douglas/src/samba --exclude=/home/douglas/src/samba/selftest/skip --testlist="/usr/bin/python /home/douglas/src/samba/selftest/tests.py|" --testlist="/usr/bin/python /home/douglas/src/samba/source3/selftest/tests.py|" --testlist="/usr/bin/python /home/douglas/src/samba/source4/selftest/tests.py|" --exclude=/home/douglas/src/samba/selftest/slow --nss_wrapper_so_path=/home/douglas/src/samba/bin/default/lib/nss_wrapper/libnss-wrapper.so --resolv_wrapper_so_path=/home/douglas/src/samba/bin/default/lib/resolv_wrapper/libresolv-wrapper.so --socket_wrapper_so_path=/home/douglas/src/samba/bin/default/lib/socket_wrapper/libsocket-wrapper.so --uid_wrapper_so_path=/home/douglas/src/samba/bin/default/lib/uid_wrapper/libuid-wrapper.so --use-dns-faking --socket-wrapper foo && touch ./st/st_done) | /usr/bin/python -u /home/douglas/src/samba/selftest/filter-subunit --expected-failures=/home/douglas/src/samba/selftest/knownfail --flapping=/home/douglas/src/samba/selftest/flapping | tee ./st/subunit | /usr/bin/python -u /home/douglas/src/samba/selftest/format-subunit --prefix=./st --immediate`


    

Explaining --testlist

  --testlist="a-list-of-tests.txt"

  --testlist="a-script-that-generates-a-list-of-tests.sh|"  

test list format


-- TEST --
samba3.blackbox.smbclient_posix_large -e NTLM(nt4_dc:local)
nt4_dc:local
/home/douglas/src/samba/source3/script/tests/test_smbclient_posix_large.sh none bin/smbclient $SERVER $PREFIX -e -U$USERNAME%$PASS
WORD --configfile=$SMB_CONF_PATH 2>&1  | /home/douglas/src/samba/selftest/filter-subunit --fail-on-empty --prefix="samba3.blackbox
.smbclient_posix_large -e NTLM." --suffix="(nt4_dc:local)"
-- TEST --
samba3.blackbox.smbclient_netbios_aliases [foo](ad_member:local)
ad_member:local
/home/douglas/src/samba/source3/script/tests/test_smbclient_netbios_aliases.sh \
  bin/smbclient foo $DC_USERNAME $DC_PASSWORD $PREFIX -e --configfile=$SMB_CONF_PATH 2>&1 \
  | /home/douglas/src/samba/selftest/filter-subunit --fail-on-empty \
  --prefix="samba3.blackbox.smbclient_netbios_aliases [foo]." --suffix="(ad_member:local)"
-- TEST --
samba3.blackbox.smbclient_netbios_aliases [bar](ad_member:local)
ad_member:local
/home/douglas/src/samba/source3/script/tests/test_smbclient_netbios_aliases.sh bin/smbclient bar $DC_US

what happens with each test

expanded command: /home/douglas/src/samba/source3/script/tests/test_smbclient_netbios_aliases.sh /home/douglas/src/samba/bin/smbclient foo Administrator locDCpass1 ./st -e --configfile=/home/douglas/src/samba/st/ad_member/lib/server.conf 2>&1 | /home/douglas/src/samba/selftest/filter-subunit --fail-on-empty --prefix="samba3.blackbox.smbclient_netbios_aliases [foo]." --suffix="(ad_member:local)"
  ./source3/script/tests/test_smbclient_netbios_aliases.sh \
    ./bin/smbclient \
    foo \
    Administrator \
    locDCpass1 \
    ./st \
    -e \
    --configfile=./st/ad_member/lib/server.conf \
    2>&1 | \
  ./selftest/filter-subunit \
    --fail-on-empty \
    --prefix="samba3.blackbox.smbclient_netbios_aliases [foo]." \
    --suffix="(ad_member:local)"