Skip to contentSkip to conversation

Ceph-qa: change the fsx.sh to support hole punching test

PATCH New Li Wang 1 participant 1 message Aug 14, 2013

lore
Share & tools
lore

Li Wang

author
#0 lore raw

PATCH 1/1 Ceph-qa: change the fsx.sh to support hole punching test

This patch change the fsx.sh to pull better fsx.c from xfstests site to support hole punching test.

---
 qa/workunits/suites/fsx.sh |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
qa/workunits/suites/fsx.sh +4 -2
index 32d5b63..c48164c 100755
@@ -2,8 +2,10 @@
 
 set -e
 
-wget http://ceph.com/qa/fsx.c
-gcc fsx.c -o fsx
+apt-get install git libacl1-dev xfslibs-dev libattr1-dev -y
+git clone git://ceph.newdream.net/git/xfstests.git
+make -C xfstests
+cp xfstests/ltp/fsx .
 
 ./fsx   1MB -N 50000 -p 10000 -l 1048576
 ./fsx  10MB -N 50000 -p 10000 -l 10485760
Signature · 1 line
1.7.9.5