2018-09-18 21:57:05 +00:00
|
|
|
#!/bin/bash
|
2011-03-02 23:54:43 +00:00
|
|
|
|
2018-09-18 21:57:05 +00:00
|
|
|
set -ex
|
2013-08-23 02:44:40 +00:00
|
|
|
|
2018-09-18 21:57:05 +00:00
|
|
|
mkdir -p fsstress
|
|
|
|
pushd fsstress
|
|
|
|
wget -q -O ltp-full.tgz http://download.ceph.com/qa/ltp-full-20091231.tgz
|
|
|
|
tar xzf ltp-full.tgz
|
|
|
|
pushd ltp-full-20091231/testcases/kernel/fs/fsstress
|
2015-09-23 11:58:46 +00:00
|
|
|
make
|
2018-10-11 19:17:25 +00:00
|
|
|
BIN=$(readlink -f fsstress)
|
2018-09-18 21:57:05 +00:00
|
|
|
popd
|
|
|
|
popd
|
2015-09-23 11:58:46 +00:00
|
|
|
|
2018-09-18 21:57:05 +00:00
|
|
|
T=$(mktemp -d -p .)
|
|
|
|
"$BIN" -d "$T" -l 1 -n 1000 -p 10 -v
|
|
|
|
rm -rf -- "$T"
|