summaryrefslogtreecommitdiffstats
path: root/pts/test-resources/hdparm-read/install.sh
diff options
context:
space:
mode:
authorMichael Larabel <michael@phx-laptop.(none)>2008-04-29 11:23:21 -0400
committerMichael Larabel <michael@phx-laptop.(none)>2008-04-29 11:23:21 -0400
commitd2993872f1e7598e90e22cada8d58fabcb6443c1 (patch)
treee104a8cca259dcce012c95f3a7d311c1f9981fdd /pts/test-resources/hdparm-read/install.sh
parentd8f940cde35c8423043bd37c58f00f57e901e66b (diff)
downloadphoronix-test-suite-upstream-d2993872f1e7598e90e22cada8d58fabcb6443c1.tar.gz
phoronix-test-suite-upstream-d2993872f1e7598e90e22cada8d58fabcb6443c1.tar.xz
phoronix-test-suite-upstream-d2993872f1e7598e90e22cada8d58fabcb6443c1.zip
Change benchmark-profiles/, benchmark-resources/, and benchmark-suites/ to test-profiles/, test-resources/, and test-suites/
Diffstat (limited to 'pts/test-resources/hdparm-read/install.sh')
-rwxr-xr-xpts/test-resources/hdparm-read/install.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/pts/test-resources/hdparm-read/install.sh b/pts/test-resources/hdparm-read/install.sh
new file mode 100755
index 0000000..44c90f1
--- /dev/null
+++ b/pts/test-resources/hdparm-read/install.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+cd $1
+
+echo "#!/bin/sh
+echo \"Root permission needed to run hdparm benchmark.\"
+gksudo -w hdparm \$@" > hdparm-su
+chmod +x hdparm-su
+