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.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/test_syslog.rb b/test/test_syslog.rb
index fe865bd..b84d236 100644
--- a/test/test_syslog.rb
+++ b/test/test_syslog.rb
@@ -48,10 +48,11 @@ class TestSyslog < Test::Unit::TestCase
Syslog.close
# given parameters
- Syslog.open("foo", Syslog::LOG_NDELAY | Syslog::LOG_PERROR, Syslog::LOG_DAEMON)
+ options = Syslog::LOG_NDELAY | Syslog::LOG_PID
+ Syslog.open("foo", options, Syslog::LOG_DAEMON)
assert_equal('foo', Syslog.ident)
- assert_equal(Syslog::LOG_NDELAY | Syslog::LOG_PERROR, Syslog.options)
+ assert_equal(options, Syslog.options)
assert_equal(Syslog::LOG_DAEMON, Syslog.facility)
Syslog.close