Select Git revision
-
ballen4705 authored
enables/disables Automatic Offline Testing. The -s Directive enables/disables Attribute Autosave. Documentation and example configuration file updated to agree. Some revision of documentation to clarify the different between offline testing and self-testing. git-svn-id: https://smartmontools.svn.sourceforge.net/svnroot/smartmontools/trunk@310 4ea69e1a-61f1-4043-bf83-b5c94c648137
ballen4705 authoredenables/disables Automatic Offline Testing. The -s Directive enables/disables Attribute Autosave. Documentation and example configuration file updated to agree. Some revision of documentation to clarify the different between offline testing and self-testing. git-svn-id: https://smartmontools.svn.sourceforge.net/svnroot/smartmontools/trunk@310 4ea69e1a-61f1-4043-bf83-b5c94c648137
test_dump.py 582 B
import pykat
kat = pykat.finesse.kat()
kat.parseCommands("""
bs bs1 0.5 0.5 0 0 n1 dump n3 dump
""")
print "BEFORE"
print "".join(kat.generateKatScript())
kat.nodes.replaceNode(kat.bs1, kat.bs1.nodes[3], kat.nodes.createNode("test4"))
kat.nodes.replaceNode(kat.bs1, kat.bs1.nodes[1], kat.nodes.createNode("test2"))
kat.nodes.replaceNode(kat.bs1, "n1", kat.nodes.createNode("test1"))
kat.nodes.replaceNode(kat.bs1, "n3", kat.nodes.createNode("dump"))
kat.nodes.replaceNode(kat.bs1, "test1", kat.nodes.createNode("dump"))
print "AFTER"
print "".join(kat.generateKatScript())