diff options
author | Daniil Baturin <daniil@baturin.org> | 2016-12-15 09:56:07 +0600 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2016-12-15 09:56:07 +0600 |
commit | 88cca944fa1788d4f3089c9f93c59666bfcce1fb (patch) | |
tree | 4fb211c72964405f14b25317268ba67c5d995c61 /test/data | |
parent | 6f95f4191699186a14a3109f08822189d0f8331e (diff) | |
download | vyconf-88cca944fa1788d4f3089c9f93c59666bfcce1fb.tar.gz vyconf-88cca944fa1788d4f3089c9f93c59666bfcce1fb.zip |
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.
Diffstat (limited to 'test/data')
-rwxr-xr-x | test/data/validators/anything | 3 | ||||
-rwxr-xr-x | test/data/validators/nothing | 3 |
2 files changed, 6 insertions, 0 deletions
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 |