From: Sage Weil Date: Wed, 31 Mar 2010 04:24:45 +0000 (-0700) Subject: qa: drop numeric prefix from workunits X-Git-Tag: v0.20~148 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=4abb47a24c7a670975df456d2b5da73db7665944;p=ceph.git qa: drop numeric prefix from workunits --- diff --git a/qa/workunits/1.sh b/qa/workunits/1.sh deleted file mode 100755 index de5878b001dd..000000000000 --- a/qa/workunits/1.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash - -mkdir foo -echo foo > bar -sync \ No newline at end of file diff --git a/qa/workunits/10_iozone.sh b/qa/workunits/10_iozone.sh deleted file mode 100755 index 311d07ed37bc..000000000000 --- a/qa/workunits/10_iozone.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash - -iozone -c -e -s 1024M -r 16K -t 1 -F f1 -i 0 -i 1 -iozone -c -e -s 1024M -r 1M -t 1 -F f2 -i 0 -i 1 -iozone -c -e -s 10240M -r 1M -t 1 -F f3 -i 0 -i 1 diff --git a/qa/workunits/11_kernel_untar_build.sh b/qa/workunits/11_kernel_untar_build.sh deleted file mode 100755 index defb5b89abc9..000000000000 --- a/qa/workunits/11_kernel_untar_build.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash - -wget http://ceph.newdream.net/qa/linux-2.6.33.tar.bz2 -mkdir t -cd t -tar jxvf ../linux* -cd linux* -make defconfig -make -j`grep -c processor /proc/cpuinfo` -cd .. -rm -r linux* -cd .. -rm -r t linux* diff --git a/qa/workunits/20_pjd.sh b/qa/workunits/20_pjd.sh deleted file mode 100755 index 6f2ad46913aa..000000000000 --- a/qa/workunits/20_pjd.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/bash -wget http://ceph.newdream.net/qa/pjd.tgz -tar zxvf pjd*.tgz -cd pjd* -make -cd .. -mkdir tmp -cd tmp -prove -r ../pjd*/tests diff --git a/qa/workunits/30_dbench.sh b/qa/workunits/30_dbench.sh deleted file mode 100755 index 07e04e053d40..000000000000 --- a/qa/workunits/30_dbench.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash -dbench 1 -dbench 10 diff --git a/qa/workunits/40_bonnie.sh b/qa/workunits/40_bonnie.sh deleted file mode 100755 index 9b860e00a2a1..000000000000 --- a/qa/workunits/40_bonnie.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/bash - -bonnie_bin=`which bonnie++` -[ $? -eq 1 ] && bonnie_bin=/usr/sbin/bonnie++ - -uid_flags="" -[ "`id -u`" == "0" ] && uid_flags="-u root" - -$bonnie_bin $uid_flags -n 100 diff --git a/qa/workunits/bonnie.sh b/qa/workunits/bonnie.sh new file mode 100755 index 000000000000..9b860e00a2a1 --- /dev/null +++ b/qa/workunits/bonnie.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +bonnie_bin=`which bonnie++` +[ $? -eq 1 ] && bonnie_bin=/usr/sbin/bonnie++ + +uid_flags="" +[ "`id -u`" == "0" ] && uid_flags="-u root" + +$bonnie_bin $uid_flags -n 100 diff --git a/qa/workunits/dbench.sh b/qa/workunits/dbench.sh new file mode 100755 index 000000000000..07e04e053d40 --- /dev/null +++ b/qa/workunits/dbench.sh @@ -0,0 +1,3 @@ +#!/bin/bash +dbench 1 +dbench 10 diff --git a/qa/workunits/iozone.sh b/qa/workunits/iozone.sh new file mode 100755 index 000000000000..311d07ed37bc --- /dev/null +++ b/qa/workunits/iozone.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +iozone -c -e -s 1024M -r 16K -t 1 -F f1 -i 0 -i 1 +iozone -c -e -s 1024M -r 1M -t 1 -F f2 -i 0 -i 1 +iozone -c -e -s 10240M -r 1M -t 1 -F f3 -i 0 -i 1 diff --git a/qa/workunits/kernel_untar_build.sh b/qa/workunits/kernel_untar_build.sh new file mode 100755 index 000000000000..defb5b89abc9 --- /dev/null +++ b/qa/workunits/kernel_untar_build.sh @@ -0,0 +1,13 @@ +#!/bin/bash + +wget http://ceph.newdream.net/qa/linux-2.6.33.tar.bz2 +mkdir t +cd t +tar jxvf ../linux* +cd linux* +make defconfig +make -j`grep -c processor /proc/cpuinfo` +cd .. +rm -r linux* +cd .. +rm -r t linux* diff --git a/qa/workunits/pjd.sh b/qa/workunits/pjd.sh new file mode 100755 index 000000000000..6f2ad46913aa --- /dev/null +++ b/qa/workunits/pjd.sh @@ -0,0 +1,9 @@ +#!/bin/bash +wget http://ceph.newdream.net/qa/pjd.tgz +tar zxvf pjd*.tgz +cd pjd* +make +cd .. +mkdir tmp +cd tmp +prove -r ../pjd*/tests diff --git a/qa/workunits/trivial_sync.sh b/qa/workunits/trivial_sync.sh new file mode 100755 index 000000000000..de5878b001dd --- /dev/null +++ b/qa/workunits/trivial_sync.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +mkdir foo +echo foo > bar +sync \ No newline at end of file