packages/net/l7-protocols/patches/102-testing-doallspeeds.patch
florian f03952cf7e [package] update l7-protocols to 2009-05-28 (#5416)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@16598 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-28 05:57:34 +00:00

17 lines
563 B
Diff

--- a/testing/doallspeeds.sh
+++ b/testing/doallspeeds.sh
@@ -25,11 +25,11 @@ for f in ../*/*.pat; do
printf `basename $f .pat`
if [ $userspace ]; then
- gtime=`./timeit.sh $f userspace real | grep Total | cut -d\ -f 2`
+ gtime=`./timeit.sh $f userspace real | grep Total | cut -d\ -f 2 | awk '{print $1}'`
printf \\t$gtime
fi
if [ $kernel ]; then
- htime=`./timeit.sh $f kernel real | grep Total | cut -d\ -f 2`
+ htime=`./timeit.sh $f kernel real | grep Total | cut -d\ -f 2 | awk '{print $1}'`
printf \\t$htime
fi
printf \\n