summaryrefslogtreecommitdiffstats
path: root/tests/test-drac4.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-drac4.py')
-rwxr-xr-xtests/test-drac4.py15
1 files changed, 15 insertions, 0 deletions
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