]> Cypherpunks repositories - gostls13.git/commit
log/syslog: skip tests that depend on daemon on builders
authorAlberto Donizetti <alb.donizetti@gmail.com>
Mon, 21 May 2018 11:21:26 +0000 (13:21 +0200)
committerBrad Fitzpatrick <bradfitz@golang.org>
Tue, 22 May 2018 18:26:03 +0000 (18:26 +0000)
commit37c11dc0aab72d212e222c44ac1853cefb5f7126
tree11450b220fa3eb8c2a0af9aa81e83dc6500cc367
parentfaa69b906f59bfbe53c079f284fa452e82426c57
log/syslog: skip tests that depend on daemon on builders

Some functions in log/syslog depend on syslogd running. Instead of
treating errors caused by the daemon not running as test failures,
ignore them and skip the test.

Fixes the longtest builder.

Change-Id: I628fe4aab5f1a505edfc0748861bb976ed5917ea
Reviewed-on: https://go-review.googlesource.com/113838
Run-TryBot: Alberto Donizetti <alb.donizetti@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/log/syslog/syslog_test.go