diff options
Diffstat (limited to 'tests/functional/common/vars-and-functions.sh.in')
-rw-r--r-- | tests/functional/common/vars-and-functions.sh.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/functional/common/vars-and-functions.sh.in b/tests/functional/common/vars-and-functions.sh.in index bfc4fbc44..eda15308d 100644 --- a/tests/functional/common/vars-and-functions.sh.in +++ b/tests/functional/common/vars-and-functions.sh.in @@ -274,6 +274,11 @@ grepQuietInverse() { ! grep "$@" > /dev/null } +# Return the number of arguments +count() { + echo $# +} + trap onError ERR fi # COMMON_VARS_AND_FUNCTIONS_SH_SOURCED |