mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +00:00
zdtm: add support for LD_PRELOAD tests
This commit adds a `--preload-libfault` option to ZDTM's run command. This option runs CRIU with LD_PRELOAD to intercept libc functions such as pread(). This method allows to simulate special cases, for example, when a successful call to pread() transfers fewer bytes than requested. Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
This commit is contained in:
parent
e7276cf63b
commit
1da29f27f6
5 changed files with 77 additions and 2 deletions
|
|
@ -262,6 +262,9 @@ make -C test/others/rpc/ run
|
|||
|
||||
./test/zdtm.py run -t zdtm/static/env00 --sibling
|
||||
|
||||
./test/zdtm.py run -t zdtm/static/maps00 --preload-libfault
|
||||
./test/zdtm.py run -t zdtm/static/maps02 --preload-libfault
|
||||
|
||||
./test/zdtm.py run -t zdtm/transition/maps007 --pre 2 --dedup
|
||||
./test/zdtm.py run -t zdtm/transition/maps007 --pre 2 --noauto-dedup
|
||||
./test/zdtm.py run -t zdtm/transition/maps007 --pre 2 --page-server
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue