commit 52add44eb8cdf0af28de9b758ed7149e0f592f37
parent 5cd44434058ae5cc9eacc7af89308fbfd2c30782
Author: kyle <kyle@0x30.net>
Date: Sat, 19 Nov 2016 13:02:00 -0700
t/utils.subr: use () instead of the function keyword
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/t/utils.subr b/t/utils.subr
@@ -3,13 +3,13 @@
set -o nounset
export CITRUN_TOOLS="`pwd`/src"
-function strip_preamble
+strip_preamble()
{
file="${1}"
tail -n +35 $file.citrun > $file.citrun_nohdr
}
-function strip_log
+strip_log()
{
sed -e "s,^.*: ,," \
-e "s,'.*',''," \
@@ -18,7 +18,7 @@ function strip_log
< ${1} > ${1}.stripped
}
-function strip_millis
+strip_millis()
{
ok "stripping milliseconds" sed -i -e "/Milliseconds spent/d" $1
}