diff options
author | 2014-01-16 07:11:19 (JST) | |
---|---|---|
committer | 2014-01-16 08:53:18 (JST) | |
commit | 3741254a6989b2837cd8d20480f152f0096bcb9a (patch) | |
tree | 5997134d4aaff3ccade061c8cce6de85cbf3ed88 /tests/filters/dump.sh | |
parent | 2a7dd4bf67edeff2c6c4f6d6d39d2d7f954d978a (diff) | |
download | cgit-3741254a6989b2837cd8d20480f152f0096bcb9a.zip cgit-3741254a6989b2837cd8d20480f152f0096bcb9a.tar.gz |
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/filters/dump.sh')
-rwxr-xr-x | tests/filters/dump.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/filters/dump.sh b/tests/filters/dump.sh new file mode 100755 index 0000000..da6f7a1 --- /dev/null +++ b/tests/filters/dump.sh | |||
@@ -0,0 +1,4 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | [ "$#" -gt 0 ] && printf "%s " "$*" | ||
4 | tr '[:lower:]' '[:upper:]' | ||