Gitweb: http://git.fedorahosted.org/git/?p=fence-agents.git;a=commitdiff;h=81dfafdf9... Commit: 81dfafdf982309ded440c1806c28da82aff49ba0 Parent: d98df955e17fa6e85e0ea51997e55387389803a5 Author: Marek 'marx' Grac mgrac@redhat.com AuthorDate: Mon Feb 11 15:45:59 2013 +0100 Committer: Marek 'marx' Grac mgrac@redhat.com CommitterDate: Mon Feb 11 15:45:59 2013 +0100
testing: Add test suite for fence_drac on Dell DRAC IV
--- .gitignore | 1 + tests/test-drac4.py | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 0 deletions(-)
diff --git a/.gitignore b/.gitignore index c1b028c..245592f 100644 --- a/.gitignore +++ b/.gitignore @@ -81,3 +81,4 @@ fence/agents/zvm/fence_zvm .fence*.tmp fence-agents* .version +tests/devices.d/* diff --git a/tests/test-drac4.py b/tests/test-drac4.py new file mode 100755 index 0000000..75c24c5 --- /dev/null +++ b/tests/test-drac4.py @@ -0,0 +1,15 @@ +#!/usr/bin/python + +from fence_testing import test_action + +def main(): + DRAC4 = "devices.d/dell-drac-4I.cfg" + + ACT_STATUS = "actions.d/status.cfg" + ACT_ONOFF = "actions.d/power-on-off.cfg" + + test_action(DRAC4, ACT_STATUS, "getopt") + test_action(DRAC4, ACT_ONOFF, "stdin") + +if __name__ == "__main__": + main() \ No newline at end of file
cluster-commits@lists.fedorahosted.org