summaryrefslogtreecommitdiff
path: root/test/test_syslog.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_syslog.rb')
-rw-r--r--test/test_syslog.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test_syslog.rb b/test/test_syslog.rb
index c66e5f5fb2..5327814f7a 100644
--- a/test/test_syslog.rb
+++ b/test/test_syslog.rb
@@ -143,6 +143,8 @@ class TestSyslog < Test::Unit::TestCase
# LOG_PERROR is not implemented on Cygwin or Solaris. Only test
# these on systems that define it.
return unless Syslog.const_defined?(:LOG_PERROR)
+ # LOG_PERROR is defined but not supported yet on Android.
+ return if RUBY_PLATFORM =~ /android/
2.times {
re = syslog_line_regex("syslog_test", "test1 - hello, world!")