2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-22 09:58:09 +00:00

zdtm/scm: add scm09 test with closed sender fd

Signed-off-by: Pavel Tikhomirov <ptikhomirov@virtuozzo.com>
This commit is contained in:
Pavel Tikhomirov 2022-06-09 17:48:37 +03:00 committed by Andrei Vagin
parent 5cd7092fda
commit b117b211ab
3 changed files with 6 additions and 0 deletions

View File

@ -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

View File

@ -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
View File

@ -0,0 +1 @@
scm00.c