criu/test/others/rpc
Adrian Reber 9930a37b62
test: adapt RPC test for restricted socket permissions
The service socket now defaults to 0600 (owner-only). Since the
test runs the setuid criu binary as a non-root user (uid 1000),
the socket ends up owned by root. Chown the socket to the test
user after service startup so it can connect, mirroring what an
administrator would do in production.

Assisted-by: Claude Code (claude-opus-4-6):claude-opus-4-6@default

Generated with Claude Code (https://claude.ai/code)

Signed-off-by: Adrian Reber <areber@redhat.com>
2026-07-19 20:28:36 +02:00
..
.gitignore tests: move non-zdtm tests to tests/others/ 2016-02-24 13:09:17 +03:00
action-script.sh test/others/rpc: parse action-script via config 2025-11-05 15:41:34 -08:00
config_file.py test/others/rpc: show logs on error 2025-11-05 15:41:34 -08:00
errno.py test/rpc: update errno check 2025-11-05 15:41:35 -08:00
Makefile test: adapt RPC test for restricted socket permissions 2026-07-19 20:28:36 +02:00
ps_test.py test: others/rpc do not use nftables locking backend 2025-03-21 12:40:31 -07:00
read.py test/others: add tests for check() with pycriu 2025-11-05 15:41:35 -08:00
restore-loop.py make: remove checks for python 2 binary 2023-10-22 13:29:25 -07:00
rpc.proto tests: move non-zdtm tests to tests/others/ 2016-02-24 13:09:17 +03:00
run.sh test: print out logs if tests fail 2025-03-21 12:40:31 -07:00
setup_swrk.py test/others: drop setup_swrk() py2 compatibility 2023-10-22 13:29:25 -07:00
test-c.c test: others/rpc do not use nftables locking backend 2025-03-21 12:40:31 -07:00
test.py test: others/rpc do not use nftables locking backend 2025-03-21 12:40:31 -07:00
version.py make: remove checks for python 2 binary 2023-10-22 13:29:25 -07:00