Commit Graph

5 Commits

Author SHA1 Message Date
David Anderson 081c64ec79 sample substr validator: allow multiple strings 2016-11-23 18:10:45 -08:00
Christian Beer 2c36e7246d Daemons: enhance validator framework
The validator handler can now pass unknown arguments to the project specific handler.
Projects that have there own validator need to implement the validate_handler_init() function and handle project specific arguments there. They also need to supply a validate_handler_usage() function that printf()'s a description of the custom options. For examples see sample_substr_validator.cpp or script_validator.cpp
The validator test harness was also adopted to use this new functions.

This brings the implementation of the validator framework on the same level as the assimilator framework where similar changes where made in 0038d275c and dd004404a.
2016-08-16 11:14:42 +02:00
David Anderson 57e8f8cf5d sample_substr_validator: bug fix for --reject_if_present 2015-01-31 18:30:36 -08:00
David Anderson 0fd3ea7226 sample_substr_validator: add --reject_if_present option.
See http://boinc.berkeley.edu/trac/wiki/ValidationIntro
2015-01-28 13:53:12 -08:00
David Anderson 834ac11661 server: add sample validator that checks for string in stderr 2014-03-18 19:12:13 -07:00