1[ -e $IGT_BENCHMARKS/vgem_mmap ] || return 1 2sudo -n true || return 1 3 4for i in fault clear write read; do 5 name="vgem:mmap::$i" 6 test_name="$test_name $name" 7 eval "${name}_run() { sudo $IGT_BENCHMARKS/vgem_mmap -d $i -r \$1 ; } " 8done 9 10test_exec_time=2 11