diff options
author | Lukas Fleischer | 2014-01-14 12:01:06 +0100 |
---|---|---|
committer | Jason A. Donenfeld | 2014-01-14 13:55:53 +0100 |
commit | ce56d89a2662549acd178292450798f5ffcd4bc6 (patch) | |
tree | 273b423beda8ced8cec3228f02dbf2554ebb26a8 /tests/filters | |
parent | email-gravatar: fix html syntax issues (diff) | |
download | cgit-ce56d89a2662549acd178292450798f5ffcd4bc6.tar.gz cgit-ce56d89a2662549acd178292450798f5ffcd4bc6.zip |
tests/: Add t0111-filter.sh
This adds basic tests for all types of exec filters. Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de>
Diffstat (limited to 'tests/filters')
-rwxr-xr-x | tests/filters/capitalize-argv1.sh | 3 | ||||
-rwxr-xr-x | tests/filters/capitalize-stdin.sh | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/tests/filters/capitalize-argv1.sh b/tests/filters/capitalize-argv1.sh new file mode 100755 index 0000000..2ea0098 --- /dev/null +++ b/tests/filters/capitalize-argv1.sh | |||
@@ -0,0 +1,3 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | echo "$1" | tr '[:lower:]' '[:upper:]' | ||
diff --git a/tests/filters/capitalize-stdin.sh b/tests/filters/capitalize-stdin.sh new file mode 100755 index 0000000..c9f4719 --- /dev/null +++ b/tests/filters/capitalize-stdin.sh | |||
@@ -0,0 +1,3 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | tr '[:lower:]' '[:upper:]' | ||