]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa: drop numeric prefix from workunits
authorSage Weil <sage@newdream.net>
Wed, 31 Mar 2010 04:24:45 +0000 (21:24 -0700)
committerSage Weil <sage@newdream.net>
Wed, 31 Mar 2010 04:24:45 +0000 (21:24 -0700)
12 files changed:
qa/workunits/1.sh [deleted file]
qa/workunits/10_iozone.sh [deleted file]
qa/workunits/11_kernel_untar_build.sh [deleted file]
qa/workunits/20_pjd.sh [deleted file]
qa/workunits/30_dbench.sh [deleted file]
qa/workunits/40_bonnie.sh [deleted file]
qa/workunits/bonnie.sh [new file with mode: 0755]
qa/workunits/dbench.sh [new file with mode: 0755]
qa/workunits/iozone.sh [new file with mode: 0755]
qa/workunits/kernel_untar_build.sh [new file with mode: 0755]
qa/workunits/pjd.sh [new file with mode: 0755]
qa/workunits/trivial_sync.sh [new file with mode: 0755]

diff --git a/qa/workunits/1.sh b/qa/workunits/1.sh
deleted file mode 100755 (executable)
index de5878b..0000000
+++ /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 (executable)
index 311d07e..0000000
+++ /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 (executable)
index defb5b8..0000000
+++ /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 (executable)
index 6f2ad46..0000000
+++ /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 (executable)
index 07e04e0..0000000
+++ /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 (executable)
index 9b860e0..0000000
+++ /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 (executable)
index 0000000..9b860e0
--- /dev/null
@@ -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 (executable)
index 0000000..07e04e0
--- /dev/null
@@ -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 (executable)
index 0000000..311d07e
--- /dev/null
@@ -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 (executable)
index 0000000..defb5b8
--- /dev/null
@@ -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 (executable)
index 0000000..6f2ad46
--- /dev/null
@@ -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 (executable)
index 0000000..de5878b
--- /dev/null
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+mkdir foo
+echo foo > bar
+sync
\ No newline at end of file