Απαιτείται JavaScript για να εμφανιστεί αυτή η ιστοσελίδα.
Εξερεύνηση
Βοήθεια
Είσοδος
crtxcr
/
cgitsb
Παρακολούθηση
1
Αστέρι
0
Fork
0
Έχετε ήδη κάνει fork το cgitsb
Κώδικας
Ζητήματα
Pull Requests
Κυκλοφορίες
Wiki
Δραστηριότητα
2d59e6a64e
cgitsb
/
tests
/
filters
/
dump.sh
5 γραμμές
74 B
Bash
Ακατέργαστο
Κανονική Προβολή
Ιστορικό
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 12:01:06 +01: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-14 22:25:45 +01: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 12:01:06 +01:00
tr
'[:lower:]'
'[:upper:]'
Αναφορά σε νέο ζήτημα
Αντιγραφή Permalink