Changes

Jump to navigation Jump to search
1,582 bytes added ,  16:01, 13 September 2018
→‎All zdtm tests: document currently available options
Line 21: Line 21:     
;--nocr
 
;--nocr
: start tests and check results, omitting checkpoint/restore steps. Used to check that the tests themselves are working.
+
: Start tests and check results, omitting checkpoint/restore steps. Used to check that the tests themselves are working.
    
;--norst
 
;--norst
: start the test, then checkpoint it leaving the tests running, then check the results. Used to check that checkpoint itself is not destructive.
+
: Start the test, then checkpoint it leaving the tests running, then check the results. Used to check that checkpoint itself is not destructive.
    
;--iter <number>
 
;--iter <number>
: start the test, then checkpoint and restore it the <number> of times. Used to check that after restore tests are in checkpoint-able state.
+
: Start the test, then checkpoint and restore it the <number> of times. Used to check that after restore tests are in checkpoint-able state.
    
;--pre <number>
 
;--pre <number>
: start the test, then do a <number> of pre-dumps, then checkpoint, restore and check results. Used to check that pre-dumps work.
+
: Start the test, then do a <number> of pre-dumps, then checkpoint, restore and check results. Used to check that pre-dumps work.
    
;--page-server
 
;--page-server
: run tests, but dumps (and pre-dumps) will go through the [[page server]].
+
: Run tests, but dumps (and pre-dumps) will go through the [[page server]].
    
;--sibling
 
;--sibling
: run tests, but restore in a so-called ''sibling'' mode. Used by LXC and Docker.
+
: Run tests, but restore in a so-called ''sibling'' mode. Used by LXC and Docker.
    
;--snaps (in conjunction with --pre)
 
;--snaps (in conjunction with --pre)
: instead of pre-dumps do full dumps
+
: Instead of pre-dumps do full dumps.
    
;--user (only works with --norst)
 
;--user (only works with --norst)
: check how criu works when run from non-root.
+
: Check how criu works when run from non-root.
 +
 
 +
;--join-ns
 +
: Restore tests and join existing namespace.
 +
 
 +
;--empty-ns
 +
: Restore tests in empty net namespace.
 +
 
 +
;--snaps
 +
: Instead of pre-dumps do full dumps.
 +
 
 +
;--dedup
 +
: Auto-deduplicate images on iterations.
 +
 
 +
;--noauto-dedup
 +
: Manual deduplicate images on iterations.
 +
 
 +
;--stop
 +
: Check that --leave-stopped option stops process tree.
 +
 
 +
;--fault
 +
: Test fault injection.
 +
 
 +
;--sat
 +
: Generate CRIU strace-s for sat tool (restore is fake, images are kept).
 +
 
 +
;--sbs
 +
: Do step-by-step execution, asking user for keypress to continue.
 +
 
 +
;--freezecg
 +
: Use freeze cgroup (path:state).
 +
 
 +
;--rpc
 +
: Run CRIU via RPC rather than CLI.
 +
 
 +
;--remote
 +
: Use [[Image_cache/proxy_TODO|automatic images transfer]].
 +
 
 +
;--parallel
 +
: Run test in parallel.
 +
 
 +
;--dry-run
 +
: Don't run tests, just pretend to.
 +
 
 +
;--script
 +
: Add script to be notified by CRIU.
 +
 
 +
;--keep-img
 +
: Whether or not to keep images after test. Possible values: <code>always</code>, <code>never</code>, <code>failed</code> (default).
 +
 
 +
;--report
 +
: Generate summary report in directory.
 +
 
 +
;--keep-going
 +
: Keep running tests in spite of failures.
 +
 
 +
;--ignore-taint
 +
: Don't care about a non-zero kernel taint flag.
 +
 
 +
;--lazy-pages
 +
: Restore pages on demand.
 +
 
 +
;--lazy-migrate
 +
: Allows testing of lazy migration when running ns or uns flavor.
 +
 
 +
;--remote-lazy-pages
 +
: Simulate lazy migration with page server that can send pages.
 +
 
 +
;--title
 +
: Specify a test suite title.
 +
 
 +
;--show-stats
 +
: Show CRIU [[Statistics]].
 +
 
 +
;--criu-bin
 +
: Path to CRIU binary (default: <code>../criu/criu</code>).
 +
 
 +
;--crit-bin
 +
: Path to crit binary (default: <code>../crit/crit</code>).
    
=== Flavors ===
 
=== Flavors ===
332

edits

Navigation menu