summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Peck <bpeck@redhat.com>2013-09-10 15:06:46 -0400
committerBill Peck <bpeck@redhat.com>2013-09-10 15:06:46 -0400
commite40c2b5833172e90355c43b227a58a4fd6c753ae (patch)
treeecceef4360388e335afc1c10c82553e53c1b9c24
parent4b159e5098e6f186ceda058375374c030b1a583a (diff)
downloadtests-e40c2b5833172e90355c43b227a58a4fd6c753ae.tar.gz
tests-e40c2b5833172e90355c43b227a58a4fd6c753ae.tar.xz
tests-e40c2b5833172e90355c43b227a58a4fd6c753ae.zip
dummy test to verify watchdog in restraint.
-rw-r--r--restraint/sleep/metadata16
-rw-r--r--restraint/sleep/runtest.sh5
2 files changed, 21 insertions, 0 deletions
diff --git a/restraint/sleep/metadata b/restraint/sleep/metadata
new file mode 100644
index 0000000..be2aafb
--- /dev/null
+++ b/restraint/sleep/metadata
@@ -0,0 +1,16 @@
+[General]
+name=/restraint/sleep
+owner=Bill Peck <bpeck@redhat.com>
+description=just sleeps beyond our watchdog
+license=GPLv2
+confidential=no
+destructive=no
+
+[restraint]
+#entry_point=make run
+entry_point=./runtest.sh
+#entry_point=autotest-local control-file
+dependencies=lib-virt;httpd;postgresql;nfs-utils;net-tools;net-snmp;ethereal;wireshark;tcpdump;rusers;bzip2;gcc
+dependencies[RedHatEnterpriseLinuxServer5]=apache;mysql
+max_time=1h
+repoRequires=restraint/sanity/common
diff --git a/restraint/sleep/runtest.sh b/restraint/sleep/runtest.sh
new file mode 100644
index 0000000..3206663
--- /dev/null
+++ b/restraint/sleep/runtest.sh
@@ -0,0 +1,5 @@
+#!/bin/bash -x
+
+env
+
+sleep 7200