From 88cca944fa1788d4f3089c9f93c59666bfcce1fb Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Thu, 15 Dec 2016 09:56:07 +0600 Subject: T212: use a directory (normally $program_dir/validators) for external validators. What's bad is that right now way too many things are aware of the nature of external validators, and the validators dir (formerly validators hashtable) is passed around a lot. We'll need to think it through. --- test/data/validators/anything | 3 +++ test/data/validators/nothing | 3 +++ 2 files changed, 6 insertions(+) create mode 100755 test/data/validators/anything create mode 100755 test/data/validators/nothing (limited to 'test/data/validators') diff --git a/test/data/validators/anything b/test/data/validators/anything new file mode 100755 index 0000000..c52d3c2 --- /dev/null +++ b/test/data/validators/anything @@ -0,0 +1,3 @@ +#!/bin/sh + +exit 0 diff --git a/test/data/validators/nothing b/test/data/validators/nothing new file mode 100755 index 0000000..2bb8d86 --- /dev/null +++ b/test/data/validators/nothing @@ -0,0 +1,3 @@ +#!/bin/sh + +exit 1 -- cgit v1.2.3