]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Ceph-qa: change the fsx.sh to support hole punching test
authorLi Wang <liwang@ubuntukylin.com>
Wed, 14 Aug 2013 03:36:03 +0000 (11:36 +0800)
committerSage Weil <sage@inktank.com>
Thu, 15 Aug 2013 05:50:56 +0000 (22:50 -0700)
This patch change the fsx.sh to pull better fsx.c from xfstests site
to support hole punching test.

Signed-off-by: Yunchuan Wen <yunchuanwen@ubuntukylin.com>
Signed-off-by: Li Wang <liwang@ubuntukylin.com>
qa/workunits/suites/fsx.sh

index 32d5b63c239503081e6cfc1e7fd63601f7df3959..3a21194e0cd248a254127a0b485c40dc1c625418 100755 (executable)
@@ -2,8 +2,9 @@
 
 set -e
 
-wget http://ceph.com/qa/fsx.c
-gcc fsx.c -o fsx
+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