blob: bb5aefd8763c24e0aa8c3e3d00a31b5269aea4cc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#!/usr/bin/python
from fence_testing import test_action
def main():
DEVICE = "devices.d/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()
|