mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +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)
17 lines
276 B
Bash
Executable File
17 lines
276 B
Bash
Executable File
#!/bin/sh
|
|
|
|
. "${TEST_SCRIPTS_DIR}/unit.sh"
|
|
|
|
define_test "auto-start, simple"
|
|
|
|
setup_winbind "down"
|
|
|
|
export CTDB_SERVICE_AUTOSTARTSTOP="yes"
|
|
export CTDB_MANAGED_SERVICES="foo winbind bar"
|
|
|
|
ok <<EOF
|
|
Starting service "winbind" - now managed
|
|
&Starting winbind: OK
|
|
EOF
|
|
simple_test
|