mirror of
https://git.zx2c4.com/cgit
synced 2025-08-04 10:04:32 +02:00
tests/: Add t0111-filter.sh
This adds basic tests for all types of exec filters. Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de>
This commit is contained in:
parent
1167dbb95b
commit
ce56d89a26
4 changed files with 57 additions and 0 deletions
3
tests/filters/capitalize-argv1.sh
Executable file
3
tests/filters/capitalize-argv1.sh
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
echo "$1" | tr '[:lower:]' '[:upper:]'
|
3
tests/filters/capitalize-stdin.sh
Executable file
3
tests/filters/capitalize-stdin.sh
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
tr '[:lower:]' '[:upper:]'
|
Loading…
Add table
Add a link
Reference in a new issue