DescriptionAt 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.
Patch Set 1 #Patch Set 2 : patch 1. #Messages
Total messages: 3 (0 generated)
|