about summary refs log tree commit diff stats
path: root/tests/setup.sh
diff options
context:
space:
mode:
authorLukas Fleischer2014-01-15 23:11:19 +0100
committerJason A. Donenfeld2014-01-16 00:53:18 +0100
commit3741254a6989b2837cd8d20480f152f0096bcb9a (patch)
tree5997134d4aaff3ccade061c8cce6de85cbf3ed88 /tests/setup.sh
parentparsing.c: Remove leading space from committer (diff)
downloadcgit-3741254a6989b2837cd8d20480f152f0096bcb9a.tar.gz
cgit-3741254a6989b2837cd8d20480f152f0096bcb9a.zip
t0111: Additions and fixes
* Rename the capitalize-* filters to dump.* since they also dump the
  arguments.

* Add full argument validation to the email filters.

Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de>
Diffstat (limited to 'tests/setup.sh')
-rwxr-xr-xtests/setup.sh16
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/setup.sh b/tests/setup.sh index 12c97f5..785edd7 100755 --- a/tests/setup.sh +++ b/tests/setup.sh
@@ -128,19 +128,19 @@ repo.desc=spaced repo
128repo.url=filter-exec 128repo.url=filter-exec
129repo.path=$PWD/repos/filter/.git 129repo.path=$PWD/repos/filter/.git
130repo.desc=filtered repo 130repo.desc=filtered repo
131repo.about-filter=exec:$FILTER_DIRECTORY/capitalize-stdin.sh 131repo.about-filter=exec:$FILTER_DIRECTORY/dump.sh
132repo.commit-filter=exec:$FILTER_DIRECTORY/capitalize-stdin.sh 132repo.commit-filter=exec:$FILTER_DIRECTORY/dump.sh
133repo.email-filter=exec:$FILTER_DIRECTORY/capitalize-stdin.sh 133repo.email-filter=exec:$FILTER_DIRECTORY/dump.sh
134repo.source-filter=exec:$FILTER_DIRECTORY/capitalize-stdin.sh 134repo.source-filter=exec:$FILTER_DIRECTORY/dump.sh
135repo.readme=master:a+b 135repo.readme=master:a+b
136 136
137repo.url=filter-lua 137repo.url=filter-lua
138repo.path=$PWD/repos/filter/.git 138repo.path=$PWD/repos/filter/.git
139repo.desc=filtered repo 139repo.desc=filtered repo
140repo.about-filter=lua:$FILTER_DIRECTORY/capitalize-buffer.lua 140repo.about-filter=lua:$FILTER_DIRECTORY/dump.lua
141repo.commit-filter=lua:$FILTER_DIRECTORY/capitalize-buffer.lua 141repo.commit-filter=lua:$FILTER_DIRECTORY/dump.lua
142repo.email-filter=lua:$FILTER_DIRECTORY/capitalize-buffer.lua 142repo.email-filter=lua:$FILTER_DIRECTORY/dump.lua
143repo.source-filter=lua:$FILTER_DIRECTORY/capitalize-buffer.lua 143repo.source-filter=lua:$FILTER_DIRECTORY/dump.lua
144repo.readme=master:a+b 144repo.readme=master:a+b
145EOF 145EOF
146} 146}