mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
s3:tests: Skip smbd error test if we do not log to stdout
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlet <abartlet@samba.org>
This commit is contained in:
parent
e01d7d9d0f
commit
c5857f1002
@ -9,6 +9,16 @@
|
||||
|
||||
. $(dirname $0)/../../../testprogs/blackbox/subunit.sh
|
||||
failed=0
|
||||
|
||||
if [ $SMBD_DONT_LOG_STDOUT -eq 1 ]; then
|
||||
subunit_start_test "check_panic_0"
|
||||
subunit_skip_test "check_panic_0" <<EOF
|
||||
logging to stdout disabled
|
||||
EOF
|
||||
|
||||
testok $0 $failed
|
||||
fi
|
||||
|
||||
error_inject_conf=$(dirname $SMB_CONF_PATH)/error_inject.conf
|
||||
|
||||
panic_count_0=$(grep -c PANIC $SMBD_TEST_LOG)
|
||||
|
Loading…
Reference in New Issue
Block a user