mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-30 13:58:34 +00:00
test/zdtm: check that locks are not dumped if --file-locks isn't set
If criu finds a file lock and the --file-locks option isn't set, it stops dumping processes, resumes them and exits with an error. Signed-off-by: Andrei Vagin <avagin@gmail.com>
This commit is contained in:
@@ -302,6 +302,7 @@ TST_FILE = \
|
||||
file_lease03 \
|
||||
file_lease04 \
|
||||
file_locks00 \
|
||||
file_locks00_fail \
|
||||
file_locks01 \
|
||||
file_locks02 \
|
||||
file_locks03 \
|
||||
|
1
test/zdtm/static/file_locks00_fail.c
Symbolic link
1
test/zdtm/static/file_locks00_fail.c
Symbolic link
@@ -0,0 +1 @@
|
||||
file_locks00.c
|
1
test/zdtm/static/file_locks00_fail.desc
Normal file
1
test/zdtm/static/file_locks00_fail.desc
Normal file
@@ -0,0 +1 @@
|
||||
{'flags': 'excl crfail'}
|
Reference in New Issue
Block a user