summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/conffiles/legacy-etcfiles/eval
diff options
context:
space:
mode:
Diffstat (limited to 't/recipes/checks/conffiles/legacy-etcfiles/eval')
-rw-r--r--t/recipes/checks/conffiles/legacy-etcfiles/eval/desc2
-rw-r--r--t/recipes/checks/conffiles/legacy-etcfiles/eval/hints3
-rw-r--r--t/recipes/checks/conffiles/legacy-etcfiles/eval/post-test1
3 files changed, 6 insertions, 0 deletions
diff --git a/t/recipes/checks/conffiles/legacy-etcfiles/eval/desc b/t/recipes/checks/conffiles/legacy-etcfiles/eval/desc
new file mode 100644
index 0000000..0c3423e
--- /dev/null
+++ b/t/recipes/checks/conffiles/legacy-etcfiles/eval/desc
@@ -0,0 +1,2 @@
+Testname: legacy-etcfiles
+Check: conffiles
diff --git a/t/recipes/checks/conffiles/legacy-etcfiles/eval/hints b/t/recipes/checks/conffiles/legacy-etcfiles/eval/hints
new file mode 100644
index 0000000..b5286d9
--- /dev/null
+++ b/t/recipes/checks/conffiles/legacy-etcfiles/eval/hints
@@ -0,0 +1,3 @@
+etcfiles (binary): non-etc-file-marked-as-conffile var/lib/foo [conffiles:2]
+etcfiles (binary): file-in-etc-not-marked-as-conffile [etc/improper]
+etcfiles (binary): file-in-etc-not-marked-as-conffile [etc/improper-link]
diff --git a/t/recipes/checks/conffiles/legacy-etcfiles/eval/post-test b/t/recipes/checks/conffiles/legacy-etcfiles/eval/post-test
new file mode 100644
index 0000000..faeef0b
--- /dev/null
+++ b/t/recipes/checks/conffiles/legacy-etcfiles/eval/post-test
@@ -0,0 +1 @@
+s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/