From 40e8f59642e96f193d4b55c586c2ac05a05094b3 Mon Sep 17 00:00:00 2001 From: Christien Rioux Date: Sat, 12 Dec 2015 20:19:21 -0800 Subject: [PATCH] fix test --- tests/compare_testfiles.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/tests/compare_testfiles.sh b/tests/compare_testfiles.sh index 2ab7e6f..c8816e9 100755 --- a/tests/compare_testfiles.sh +++ b/tests/compare_testfiles.sh @@ -1,10 +1,10 @@ #!/bin/sh -lctest() +tlctest() { - OUT=`(time lc $1) 2>&1 | grep real | cut -f 2 | cut -c 3-` - echo "lc: $1 $OUT" + OUT=`(time tlc $1) 2>&1 | grep real | cut -f 2 | cut -c 3-` + echo "tlc: $1 $OUT" return 0 } @@ -23,10 +23,10 @@ pythontest() } echo Timing for 'lc' -lctest test_10MB.txt -lctest test_100MB.txt -lctest test_1GB.txt -lctest test_10GB.txt +tlctest test_10MB.txt +tlctest test_100MB.txt +tlctest test_1GB.txt +tlctest test_10GB.txt echo Timing for 'python' pythontest test_10MB.txt