This website requires JavaScript.
Explore
Help
Sign In
Sakurai
/
cgit
Watch
1
Star
0
Fork
0
You've already forked cgit
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
caf557a2ba
cgit
/
tests
/
filters
/
capitalize-stdin.sh
5 lines
74 B
Bash
Raw
Normal View
History
Unescape
Escape
tests/: Add t0111-filter.sh This adds basic tests for all types of exec filters. Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de>
2014-01-14 20:01:06 +09:00
#!/bin/sh
t0111: Add basic tests for Lua filters * Validate the email filter by manipulating stdin. Additional checks for all the arguments can be added in a later patch. * Add the exec prefix to all informational messages. * Rename the filter repository to filter-exec. The Git repository itself is not renamed since it can be shared amongst all filter types. * In the filter checks, check whether all arguments are passed properly instead of validating the buffer/stdin only. Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de>
2014-01-15 06:25:45 +09:00
[
"
$#
"
-gt
0
]
&&
printf
"%s "
"
$*
"
tests/: Add t0111-filter.sh This adds basic tests for all types of exec filters. Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de>
2014-01-14 20:01:06 +09:00
tr
'[:lower:]'
'[:upper:]'
Reference in New Issue
Copy Permalink