Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
ZDTM API
(edit)
Revision as of 16:04, 23 January 2015
349 bytes added
,
16:04, 23 January 2015
no edit summary
Line 13:
Line 13:
;Checks
;Checks
: After restore test should verify whether everything is OK or not
: After restore test should verify whether everything is OK or not
+
+
This is achieved by using the following API calls:
+
+
;<code>test_init()</code>
+
:Just initializes the test subsystem.
+
+
;<code>test_daemon()</code>
+
:This one says that we finished preparations and ready to get dumped at any time.
+
+
;<code>test_waitsig()</code>
+
:Calling this blocks the task till it's restored. After this the ''checks'' stage starts.
From the code perspective this looks like this:
From the code perspective this looks like this:
Line 34:
Line 45:
}
}
</pre>
</pre>
+
== Adding test to automatic suite ==
== Adding test to automatic suite ==
[[Category: Development]]
[[Category: Development]]
Xemul
Bureaucrats
,
Administrators
2,257
edits
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Request account
Log in
Namespaces
Page
Discussion
Variants
Views
Read
Edit
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help
Tools
Special pages
Printable version
News
Twitter
YouTube
External resources
Github / source code
Issues / bugs
Mr. Jenkins
Open Hub
OpenVZ