mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-17 16:47:50 +00:00
zdtm/scm: add scm09 test with closed sender fd
Signed-off-by: Pavel Tikhomirov <ptikhomirov@virtuozzo.com>
This commit is contained in:
parent
5cd7092fda
commit
b117b211ab
3 changed files with 6 additions and 0 deletions
|
|
@ -199,6 +199,7 @@ TST_NOFILE := \
|
|||
scm04 \
|
||||
scm05 \
|
||||
scm06 \
|
||||
scm09 \
|
||||
aio00 \
|
||||
aio01 \
|
||||
fd \
|
||||
|
|
@ -593,6 +594,7 @@ vdso01: LDLIBS += -lrt
|
|||
scm01: CFLAGS += -DKEEP_SENT_FD
|
||||
scm02: CFLAGS += -DSEND_BOTH
|
||||
scm04: CFLAGS += -DSEPARATE
|
||||
scm09: CFLAGS += -DCLOSE_SENDER_FD
|
||||
mntns_link_remap: CFLAGS += -DZDTM_LINK_REMAP
|
||||
mntns_shared_bind02: CFLAGS += -DSHARED_BIND02
|
||||
mntns_root_bind02: CFLAGS += -DROOT_BIND02
|
||||
|
|
|
|||
|
|
@ -105,6 +105,9 @@ int main(int argc, char **argv)
|
|||
p[1] = p[0];
|
||||
p[0] = -1;
|
||||
#endif
|
||||
#endif
|
||||
#ifdef CLOSE_SENDER_FD
|
||||
close(sk[0]);
|
||||
#endif
|
||||
|
||||
test_daemon();
|
||||
|
|
|
|||
1
test/zdtm/static/scm09.c
Symbolic link
1
test/zdtm/static/scm09.c
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
scm00.c
|
||||
Loading…
Add table
Add a link
Reference in a new issue