mirror of
https://github.com/samba-team/samba.git
synced 2025-01-25 06:04:04 +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>
14 lines
222 B
Bash
Executable File
14 lines
222 B
Bash
Executable File
#!/bin/sh
|
|
|
|
. "${TEST_SCRIPTS_DIR}/unit.sh"
|
|
|
|
define_test "testparm times out"
|
|
|
|
setup_samba
|
|
|
|
export FAKE_TIMEOUT="yes"
|
|
required_result 1 <<EOF
|
|
ERROR: smb.conf cache create failed - testparm command timed out
|
|
EOF
|
|
simple_test
|