summaryrefslogtreecommitdiffstats
path: root/pts/test-resources
diff options
context:
space:
mode:
authorMichael Larabel <michael@phx-laptop.(none)>2008-10-20 16:20:17 -0400
committerMichael Larabel <michael@phx-laptop.(none)>2008-10-20 16:20:17 -0400
commitdfff231200ca588f5832cc6ff09bac604651654e (patch)
tree8dae6ba11f0fc6b9357e73bea618f341e1ad7d33 /pts/test-resources
parenta55c4d43c33f112d86962b76bc7a7b95bdb278b9 (diff)
downloadphoronix-test-suite-upstream-dfff231200ca588f5832cc6ff09bac604651654e.tar.gz
phoronix-test-suite-upstream-dfff231200ca588f5832cc6ff09bac604651654e.tar.xz
phoronix-test-suite-upstream-dfff231200ca588f5832cc6ff09bac604651654e.zip
pts: Add bork test profile for Java Bork File Encrypter test
Diffstat (limited to 'pts/test-resources')
-rw-r--r--pts/test-resources/bork/downloads.xml9
-rwxr-xr-xpts/test-resources/bork/install.sh11
-rwxr-xr-xpts/test-resources/bork/post.sh3
-rwxr-xr-xpts/test-resources/bork/pre.sh4
4 files changed, 27 insertions, 0 deletions
diff --git a/pts/test-resources/bork/downloads.xml b/pts/test-resources/bork/downloads.xml
new file mode 100644
index 0000000..c742eea
--- /dev/null
+++ b/pts/test-resources/bork/downloads.xml
@@ -0,0 +1,9 @@
+<PhoronixTestSuite>
+ <Downloads>
+ <Package>
+ <URL>http://internap.dl.sourceforge.net/sourceforge/bork/bork-1.4.zip, http://voxel.dl.sourceforge.net/sourceforge/bork/bork-1.4.zip, http://puzzle.dl.sourceforge.net/sourceforge/bork/bork-1.4.zip, http://surfnet.dl.sourceforge.net/sourceforge/bork/bork-1.4.zip</URL>
+ <MD5>8bbef446b89084142108888423310c72</MD5>
+ <FileSize>743599</FileSize>
+ </Package>
+ </Downloads>
+</PhoronixTestSuite>
diff --git a/pts/test-resources/bork/install.sh b/pts/test-resources/bork/install.sh
new file mode 100755
index 0000000..7bdaff7
--- /dev/null
+++ b/pts/test-resources/bork/install.sh
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+unzip -o bork-1.4.zip
+
+echo "#!/bin/sh
+cd bork-1.4/
+\$TIMER_START
+BORK_PASSWORD=phoronixtestsuite123 ./bork.sh ../encryptfile > \$LOG_FILE
+\$TIMER_STOP
+rm -f ../encryptfile.bork" > bork
+chmod +x bork
diff --git a/pts/test-resources/bork/post.sh b/pts/test-resources/bork/post.sh
new file mode 100755
index 0000000..2a5885d
--- /dev/null
+++ b/pts/test-resources/bork/post.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+rm -f encryptfile
diff --git a/pts/test-resources/bork/pre.sh b/pts/test-resources/bork/pre.sh
new file mode 100755
index 0000000..7c5f393
--- /dev/null
+++ b/pts/test-resources/bork/pre.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+dd if=/dev/urandom of=encryptfile bs=2048 count=1048576
+