criu/test/others/rpc
Adrian Reber b0057d1873 test/rpc: fix file handle leak in status fd reader
Use 'with' statement instead of manual open/read/close to
ensure the file is closed if read() raises an exception.

Assisted-by: Claude Code (claude-opus-4-6)
Signed-off-by: Adrian Reber <areber@redhat.com>
2026-07-07 15:02:33 +01: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-01 23:50:04 -07:00
ps_test.py test: others/rpc do not use nftables locking backend 2025-03-21 12:40:31 -07:00
read.py test/rpc: fix file handle leak in status fd reader 2026-07-07 15:02:33 +01: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/rpc: clean up stale pidfile and socket before starting service 2026-03-28 10:04:14 +00:00
setup_swrk.py test/rpc: remove unused sys import from setup_swrk.py 2026-07-02 01:05:21 +01:00
test-c.c test: others/rpc do not use nftables locking backend 2025-03-21 12:40:31 -07:00
test-ps-addr.c test/rpc: add page server address test 2026-03-28 10:04:14 +00: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