mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
7d04778c82
Also add tests. Update testparm stub to fake error and timeout. Add timeout stub. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
17 lines
247 B
Bash
Executable File
17 lines
247 B
Bash
Executable File
#!/bin/sh
|
|
|
|
. "${TEST_SCRIPTS_DIR}/unit.sh"
|
|
|
|
define_test "testparm times out on 2nd time through"
|
|
|
|
setup_samba
|
|
|
|
ok_null
|
|
simple_test
|
|
|
|
export FAKE_TIMEOUT="yes"
|
|
ok <<EOF
|
|
WARNING: smb.conf cache update timed out - using old cache file
|
|
EOF
|
|
simple_test
|