summaryrefslogtreecommitdiff
path: root/t/test-custodian-parser.rb
diff options
context:
space:
mode:
Diffstat (limited to 't/test-custodian-parser.rb')
-rwxr-xr-xt/test-custodian-parser.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/t/test-custodian-parser.rb b/t/test-custodian-parser.rb
index 5676d5b..811cbb5 100755
--- a/t/test-custodian-parser.rb
+++ b/t/test-custodian-parser.rb
@@ -49,6 +49,13 @@ class TestCustodianParser < Test::Unit::TestCase
end
+ def test_period
+ parser = Custodian::Parser.new()
+ result = parser.parse_line( "example.vm.bytemark.co.uk must run ping except between 00-24" )
+ assert( result.nil? )
+ end
+
+
#
# Test the different kinds of parsing: