summaryrefslogtreecommitdiffstats
path: root/tests/test-apc5.py
blob: 6cea3b1c0a87e95a190d3661f4de391459eff003 (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-v5.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", verbose=1)
#	test_action(DEVICE, ACT_ONOFF, "stdin")
	test_action(DEVICE, ACT_LIST, "getopt")

if __name__ == "__main__":
	main()