pistepirkko/tests/config-warnings.conf
Juhani Krekelä 4c868cbbd3 Make error handling more generic
Instead of per-scope bespoke onerror and onwarning functions, thread a
generic diagnostic callback, and allow wrappers to more declaratively
modify or add information as the diagnostic makes its way out of the
systems.
2026-03-22 19:05:49 +02:00

27 lines
1,019 B
Text

#stderr: pistepirkko: warning: under redefined
#stderr: tests/config-warnings.conf:5: [under ~/foo]
#stderr: tests/config-warnings.conf:6: [under ~]
#stderr:
under ~/foo
under ~
#stderr: pistepirkko: warning: Redundant "for"
#stderr: tests/config-warnings.conf:11: for testhost [for testhost] exclude *
#stderr:
for testhost for testhost exclude *
#stderr: pistepirkko: warning: Impossible combination of "for"s
#stderr: tests/config-warnings.conf:15: for testhost [for otherhost] exclude *
#stderr:
for testhost for otherhost exclude *
#stderr: pistepirkko: warning: "~" has no special meaning in patterns
#stderr: tests/config-warnings.conf:20: include [~]/.*
#stderr:
include ~/.*
#stderr: pistepirkko: error: The location of the dotfile repository is not defined
#stderr: note: Use --repo or set "repo" in the configuration file.
#stderr:
#stderr: pistepirkko: error: No categories selected for testhost
#stderr: note: Use --categories or set "categories" in the configuration file.
#stderr: