...
Archived nodes can be restored manually with a user command or automatically via autorestore attribute in the definition.
The automatic restore is only applied when node containing the autorestore attribute completes.
Restore will fail if:
- Node has not been archived. Also autorestore on self is meaningless.
- Node has children, i.e as a part of replace
- If the file ECF_HOME/ECF_NAME.check does not exist
...
| Code Block |
|---|
extern /s4
extern /s4/f1
extern /s4/f2
suite s
family f1
autorestore ./f1 ./f2 ./f3 ./f4 # autorestore
task t1 # when t1 completes, and hence f1, apply restore
endfamily
family f2
autorestore /s/f1 /s/f3 /s/f4 # autorestore
task t1 # when t1 completes, and hence f2, apply restore
endfamily
family f3
autorestore /s/f1 # autorestore
task t1
endfamily
family f4
autorestore /s
# taskwhen t1 completes, and hence f3, apply restore
endfamily
family f5f4
autorestore /s4 /s4/f1 /s4/f2 # this is an extern so allow
task t1 # when t1 completes, and hence f4, apply restore
endfamily
endsuite |