#!/bin/sh
. $LKP_SRC/lib/common.sh

export PATH=$BENCHMARK_ROOT/filebench/bin:$PATH

task=$(cat /$TMP_RESULT_ROOT/filebench.task)
[ -n "$task" ] || {
        echo "filebench task file isn't setup properly!" >&2
        exit 1
}

. $LKP_SRC/lib/reproduce-log.sh

$task

mntpoint=${mount_points%% *}
# Remove all files/directories created by test
rm -rf $mntpoint/*
