summaryrefslogtreecommitdiffstats
path: root/test/data/reports
diff options
context:
space:
mode:
authorluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2007-01-30 08:17:31 +0000
committerluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2007-01-30 08:17:31 +0000
commit049d79c56656469cdd832dea69a1cdf220f3c43e (patch)
treedc42db35f8ec6301f34b784554c0edfe59aac4fe /test/data/reports
parent727672fbfb1099fea1e3d6eb8ea8ad5f8f5b6e58 (diff)
downloadpuppet-049d79c56656469cdd832dea69a1cdf220f3c43e.tar.gz
puppet-049d79c56656469cdd832dea69a1cdf220f3c43e.tar.xz
puppet-049d79c56656469cdd832dea69a1cdf220f3c43e.zip
splitting the tagmail report into multiple methods and adding test code
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2122 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'test/data/reports')
-rw-r--r--test/data/reports/tagmail_failers.conf3
-rw-r--r--test/data/reports/tagmail_passers.conf30
2 files changed, 33 insertions, 0 deletions
diff --git a/test/data/reports/tagmail_failers.conf b/test/data/reports/tagmail_failers.conf
new file mode 100644
index 000000000..d116b5fc7
--- /dev/null
+++ b/test/data/reports/tagmail_failers.conf
@@ -0,0 +1,3 @@
+tag:
+: abuse@domain.com
+invalid!tag: abuse@domain.com
diff --git a/test/data/reports/tagmail_passers.conf b/test/data/reports/tagmail_passers.conf
new file mode 100644
index 000000000..6cadf03f8
--- /dev/null
+++ b/test/data/reports/tagmail_passers.conf
@@ -0,0 +1,30 @@
+# A comment
+# or maybe two
+# plus some blank lines
+ # with some blanks plus a comment
+
+# a simple tag report
+one: abuse@domain.com
+
+# with weird spacing
+ one : abuse@domain.com
+
+# with multiple tags
+one, two: abuse@domain.com
+
+# again with the weird syntax
+ one , two : abuse@domain.com
+
+# Some negations
+one, !two: abuse@domain.com
+
+# some oddly-formatted tags
+one, two-three, !four-five, !six: abuse@domain.com
+
+# multiple addresses
+one, two: abuse@domain.com, testing@domain.com
+
+# and with weird spacing
+one, two: abuse@domain.com , testing@domain.com
+
+# and a trailing comment