mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-28 12:57:57 +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
@ -199,6 +199,7 @@ TST_NOFILE := \
|
|||||||
scm04 \
|
scm04 \
|
||||||
scm05 \
|
scm05 \
|
||||||
scm06 \
|
scm06 \
|
||||||
|
scm09 \
|
||||||
aio00 \
|
aio00 \
|
||||||
aio01 \
|
aio01 \
|
||||||
fd \
|
fd \
|
||||||
@ -593,6 +594,7 @@ vdso01: LDLIBS += -lrt
|
|||||||
scm01: CFLAGS += -DKEEP_SENT_FD
|
scm01: CFLAGS += -DKEEP_SENT_FD
|
||||||
scm02: CFLAGS += -DSEND_BOTH
|
scm02: CFLAGS += -DSEND_BOTH
|
||||||
scm04: CFLAGS += -DSEPARATE
|
scm04: CFLAGS += -DSEPARATE
|
||||||
|
scm09: CFLAGS += -DCLOSE_SENDER_FD
|
||||||
mntns_link_remap: CFLAGS += -DZDTM_LINK_REMAP
|
mntns_link_remap: CFLAGS += -DZDTM_LINK_REMAP
|
||||||
mntns_shared_bind02: CFLAGS += -DSHARED_BIND02
|
mntns_shared_bind02: CFLAGS += -DSHARED_BIND02
|
||||||
mntns_root_bind02: CFLAGS += -DROOT_BIND02
|
mntns_root_bind02: CFLAGS += -DROOT_BIND02
|
||||||
|
@ -105,6 +105,9 @@ int main(int argc, char **argv)
|
|||||||
p[1] = p[0];
|
p[1] = p[0];
|
||||||
p[0] = -1;
|
p[0] = -1;
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
#ifdef CLOSE_SENDER_FD
|
||||||
|
close(sk[0]);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
test_daemon();
|
test_daemon();
|
||||||
|
1
test/zdtm/static/scm09.c
Symbolic link
1
test/zdtm/static/scm09.c
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
scm00.c
|
Loading…
x
Reference in New Issue
Block a user