aboutsummaryrefslogtreecommitdiff
path: root/tests/filters/capitalize-argv1.sh
diff options
context:
space:
mode:
authorLukas Fleischer <cgit@cryptocrack.de>2014-01-14 11:01:06 +0000
committerJason A. Donenfeld <Jason@zx2c4.com>2014-01-14 12:55:53 +0000
commitce56d89a2662549acd178292450798f5ffcd4bc6 (patch)
tree273b423beda8ced8cec3228f02dbf2554ebb26a8 /tests/filters/capitalize-argv1.sh
parent1167dbb95bcd6bb2916312a7900e360c101e7eca (diff)
downloadcgit-ce56d89a2662549acd178292450798f5ffcd4bc6.tar
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/capitalize-argv1.sh')
-rwxr-xr-xtests/filters/capitalize-argv1.sh3
1 files changed, 3 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 @@
+#!/bin/sh
+
+echo "$1" | tr '[:lower:]' '[:upper:]'