From 86ed03f8adee56c050c73018537371c230a664a6 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 08:50:17 +0200 Subject: Adding upstream version 4.12.1. Signed-off-by: Daniel Baumann --- tests/test-multi-apc2.py | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 tests/test-multi-apc2.py (limited to 'tests/test-multi-apc2.py') diff --git a/tests/test-multi-apc2.py b/tests/test-multi-apc2.py new file mode 100755 index 0000000..7ab9754 --- /dev/null +++ b/tests/test-multi-apc2.py @@ -0,0 +1,17 @@ +#!/usr/bin/python + +from fence_testing import test_action + +def main(): + DEVICE = "devices.d/multi-apc-v2.cfg" + + ACT_STATUS = "actions.d/status.cfg" + ACT_ONOFF = "actions.d/power-on-off.cfg" + ACT_LIST = "actions.d/list.cfg" + + test_action(DEVICE, ACT_STATUS, "getopt") + test_action(DEVICE, ACT_ONOFF, "stdin") + test_action(DEVICE, ACT_LIST, "getopt") + +if __name__ == "__main__": + main() \ No newline at end of file -- cgit v1.2.3