summaryrefslogtreecommitdiffstats
path: root/pts/test-resources
diff options
context:
space:
mode:
authorMichael Larabel <michael@phx-laptop.(none)>2008-08-20 15:19:01 -0400
committerMichael Larabel <michael@phx-laptop.(none)>2008-08-20 15:19:01 -0400
commit0f835c4e64b020ea32c01bafcc4198e028a7b67a (patch)
tree0a5d981fa06e6efc4fa2046662ca1c49a1b6da8d /pts/test-resources
parent40cacf0aa6d0780cd5e378f3738d104ec82d6077 (diff)
downloadphoronix-test-suite-upstream-0f835c4e64b020ea32c01bafcc4198e028a7b67a.tar.gz
phoronix-test-suite-upstream-0f835c4e64b020ea32c01bafcc4198e028a7b67a.tar.xz
phoronix-test-suite-upstream-0f835c4e64b020ea32c01bafcc4198e028a7b67a.zip
pts: Add idle test profile, which just idles the system for the
specified amount of time in minutes (mostly if you want to use another module for that amount of time or do system monitoring)
Diffstat (limited to 'pts/test-resources')
-rw-r--r--pts/test-resources/idle/install.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/pts/test-resources/idle/install.sh b/pts/test-resources/idle/install.sh
new file mode 100644
index 0000000..6c58225
--- /dev/null
+++ b/pts/test-resources/idle/install.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+echo "#!/bin/sh
+SLEEPTIME=\$((\$1 * 60))
+echo \"Sleeping for \$SLEEPTIME minutes.\"
+sleep \$SLEEPTIME" > idle
+chmod +x idle