At the beginning of UnixBench Run script, it used the following logic to decide what flavor of unix it is running.

if [ -z "${FLAVOR-}" ]; then
        # determine flavor of UNIX from number of lines generated by "time"
        Fcount=`/usr/bin/time date 2>&1 | wc -l | sed 's/ //g'`
        case "$Fcount" in
        2) FLAVOR=BSD ;;
        3) FLAVOR=Linux ;;
        5) FLAVOR=SysV ;;
        *) echo "Flavor of UNIX is not known."
           echo "Please define FLAVOR in Run script"
           exit;;
        esac
fi
export FLAVOR

Unfortunately the new chromeos does not have /usr/bin/time installed and it will fail since it could no longer figure out the flavor itself.

This CL intend to teach UnixBench which unix flavor it is.

Review URL: http://codereview.chromium.org/667002
diff --git a/client/tests/unixbench/unixbench.py b/client/tests/unixbench/unixbench.py
index 5df9b98..b3fe920 100644
--- a/client/tests/unixbench/unixbench.py
+++ b/client/tests/unixbench/unixbench.py
@@ -24,7 +24,7 @@
 
 
     def run_once(self, args='', stepsecs=0):
-        vars = ('TMPDIR=\"%s\" RESULTDIR=\"%s\"' %
+        vars = ('TMPDIR=\"%s\" RESULTDIR=\"%s\" FLAVOR=Linux' %
                (self.tmpdir, self.resultsdir))
         if stepsecs:
             # change time per subtest from unixbench's defaults of