diff options
author | Michael Larabel <michael@phx-laptop.(none)> | 2008-10-20 16:20:17 -0400 |
---|---|---|
committer | Michael Larabel <michael@phx-laptop.(none)> | 2008-10-20 16:20:17 -0400 |
commit | dfff231200ca588f5832cc6ff09bac604651654e (patch) | |
tree | 8dae6ba11f0fc6b9357e73bea618f341e1ad7d33 | |
parent | a55c4d43c33f112d86962b76bc7a7b95bdb278b9 (diff) | |
download | phoronix-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
-rw-r--r-- | EXPERIMENTAL-CHANGE-LOG | 1 | ||||
-rw-r--r-- | pts/test-profiles/bork.xml | 21 | ||||
-rw-r--r-- | pts/test-resources/bork/downloads.xml | 9 | ||||
-rwxr-xr-x | pts/test-resources/bork/install.sh | 11 | ||||
-rwxr-xr-x | pts/test-resources/bork/post.sh | 3 | ||||
-rwxr-xr-x | pts/test-resources/bork/pre.sh | 4 | ||||
-rw-r--r-- | pts/test-suites/java.xml | 5 |
7 files changed, 53 insertions, 1 deletions
diff --git a/EXPERIMENTAL-CHANGE-LOG b/EXPERIMENTAL-CHANGE-LOG index 1b511f4..50dccba 100644 --- a/EXPERIMENTAL-CHANGE-LOG +++ b/EXPERIMENTAL-CHANGE-LOG @@ -37,6 +37,7 @@ Phoronix Test Suite (Git) - pts: Add java-environment base test that provides the java external dependency and reports Java version to test notes - pts: Update the location of the ExternalDependencies tag in all relevant test profiles - pts: Set TimesToRun to 5 in timed-audio-encode base test +- pts: Add bork test profile for Java Bork File Encrypter test - pts_Graph: Write Y-axis title horizontally along the top of the graph instead of vertically - pts_Graph: Round all dimensions and coordinates when using the SVG renderer diff --git a/pts/test-profiles/bork.xml b/pts/test-profiles/bork.xml new file mode 100644 index 0000000..a89f6aa --- /dev/null +++ b/pts/test-profiles/bork.xml @@ -0,0 +1,21 @@ +<PhoronixTestSuite> + <TestProfile> + <Version>1.0.0</Version> + <TestType>Processor</TestType> + <SoftwareType>Utility</SoftwareType> + <License>FREE</License> + <Status>VERIFIED</Status> + <Maintainer>Michael Larabel</Maintainer> + <EnvironmentSize>0.93</EnvironmentSize> + <ProjectURL>http://www.sourceforge.net/projects/bork</ProjectURL> + <Extends>java-environment</Extends> + </TestProfile> + <TestInformation> + <Title>Bork File Encrypter</Title> + <Version>1.4</Version> + <TimesToRun>3</TimesToRun> + <ResultScale>Seconds</ResultScale> + <Proportion>LIB</Proportion> + <Description>Bork is a very small, cross-platform file encryption utility. It is written in Java and designed to be included along with the files it encrypts for long-term storage. This test measures the amount of time it takes to encrypt a sample file.</Description> + </TestInformation> +</PhoronixTestSuite> 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 + diff --git a/pts/test-suites/java.xml b/pts/test-suites/java.xml index eb85b72..851403f 100644 --- a/pts/test-suites/java.xml +++ b/pts/test-suites/java.xml @@ -1,6 +1,6 @@ <PhoronixTestSuite> <SuiteInformation> - <Version>1.0.0</Version> + <Version>1.0.1</Version> <TestType>System</TestType> <Title>Java</Title> <Maintainer>Michael Larabel</Maintainer> @@ -10,6 +10,9 @@ <Test>sunflow</Test> </RunTest> <RunTest> + <Test>bork</Test> + </RunTest> + <RunTest> <Test>java-scimark2</Test> <Arguments>TEST_FFT</Arguments> <Description>FFT Performance</Description> |