criu/test/others
Pavel Tikhomirov 371d9c83d7 others/ns_ext: restore a process out of PID namespaces into the host PID namespace
It is quiet a common case to move the process from one pidns to another
existing pidns with criu (only restriction is pids should not
intersect). Let's check it works.

v2: - use pipe-s to synchronize processes
    - run the test in a pid namespace to avoid pid conflicts in the host
      pid namespace
    - grep errors in restore.log
    - add some more comments
v3: use 1000 for ns_last_pid so that test works on systems with low
pid_max; remove excess ';'s.

Co-Developed-by: Andrei Vagin <avagin@gmail.com>
Signed-off-by: Pavel Tikhomirov <ptikhomirov@virtuozzo.com>
2021-09-03 10:31:00 -07:00
..
app-emu tests: move app-emu in test/others/ 2016-02-29 11:35:26 +03:00
bers test/bers: Fix sizeof to memset 2019-09-07 15:59:49 +03:00
crit test: fix manual crit test 2016-06-28 13:04:00 +03:00
criu-coredump test: add manual test for criu-coredump 2016-06-28 13:04:00 +03:00
exec test/other: check criu exec 2016-08-01 16:51:33 +03:00
ext-links tests: move non-zdtm tests to tests/others/ 2016-02-24 13:09:17 +03:00
ext-tty style: fix typos 2020-10-20 00:18:24 -07:00
libcriu ci: use graviton2 for arm64 tests on Travis 2021-09-03 10:31:00 -07:00
make travis: add "make uninstall" test 2017-04-02 18:09:34 +03:00
mem-snap tests: remove "live" from zdtm paths 2016-02-29 11:35:30 +03:00
mnt-ext-dev others/mnt-ext-dev: Force mke2fs to create a filesystem 2016-08-01 16:51:05 +03:00
mounts test/other: Resolve Py3 compatibility issues 2019-09-07 15:59:56 +03:00
ns_ext others/ns_ext: restore a process out of PID namespaces into the host PID namespace 2021-09-03 10:31:00 -07:00
overlayfs tests: move non-zdtm tests to tests/others/ 2016-02-24 13:09:17 +03:00
pipes tests: move non-zdtm tests to tests/others/ 2016-02-24 13:09:17 +03:00
rpc python: sort imports 2020-02-16 09:15:31 -08:00
security tests: move non-zdtm tests to tests/others/ 2016-02-24 13:09:17 +03:00
shell-job test/other: Resolve Py3 compatibility issues 2019-09-07 15:59:56 +03:00
socketpairs tests/others: a few fixes of paths 2016-02-29 11:35:32 +03:00
tcp tests: move app-emu in test/others/ 2016-02-29 11:35:26 +03:00
unix-callback style: Enforce kernel style -Wstrict-prototypes 2020-02-04 12:39:42 -08:00
app-emu.sh tests: move app-emu in test/others/ 2016-02-29 11:35:26 +03:00
env.sh test: add manual test for criu-coredump 2016-06-28 13:04:00 +03:00
functions.sh tests: move app-emu in test/others/ 2016-02-29 11:35:26 +03:00