xtreemfs/tests/test_scripts/fsx.sh
2020-09-22 02:25:22 +02:00

13 lines
289 B
Bash
Executable File

#!/bin/bash
XTREEMFS_DIR=$1
if [ ! -e ${XTREEMFS_DIR}/tests/utils/fsx.bin ]
then
echo "Compiling fsx.bin..."
current_dir=`pwd`
cd ${XTREEMFS_DIR}/tests/utils
gcc -o fsx.bin ltp-fsx.c
cd $current_dir
fi
${XTREEMFS_DIR}/tests/utils/fsx.bin -R -W -N 100000 ./fsx.tmpfile