mirror of
https://github.com/samba-team/samba.git
synced 2025-01-07 17:18:11 +03:00
2afb5632c7
That is, output that goes through background_with_logging() just gets "&" prepended to each line. This is cleaner than having the tests grovel through logs. Update some 49.winbind/50.samba tests to deal with this. Signed-off-by: Martin Schwenke <martin@meltin.net> (This used to be ctdb commit 3ba933d806106d12bc48b83b22d0f314d9d1e5e5)
18 lines
289 B
Bash
Executable File
18 lines
289 B
Bash
Executable File
#!/bin/sh
|
|
|
|
. "${TEST_SCRIPTS_DIR}/unit.sh"
|
|
|
|
define_test "auto-stop, simple"
|
|
|
|
setup_winbind
|
|
|
|
export CTDB_SERVICE_AUTOSTARTSTOP="yes"
|
|
export CTDB_MANAGED_SERVICES="foo"
|
|
unset CTDB_MANAGES_WINBIND
|
|
|
|
ok <<EOF
|
|
Stopping service "winbind" - no longer managed
|
|
&Stopping winbind: OK
|
|
EOF
|
|
simple_test
|