linux/tools/testing/selftests/liveupdate
Pasha Tatashin e3e613a33e selftests: liveupdate: add test for double preservation
Verify that a file can only be preserved once across all active sessions. 
Attempting to preserve it a second time, whether in the same or a
different session, should fail with EBUSY.

Link: https://lore.kernel.org/20260326163943.574070-4-pasha.tatashin@soleen.com
Signed-off-by: Pasha Tatashin <pasha.tatashin@soleen.com>
Reviewed-by: Mike Rapoport (Microsoft) <rppt@kernel.org>
Reviewed-by: Samiullah Khawaja <skhawaja@google.com>
Cc: David Matlack <dmatlack@google.com>
Cc: Pratyush Yadav <pratyush@kernel.org>
Cc: Shuah Khan <shuah@kernel.org>
Cc: Christian Brauner <brauner@kernel.org> 
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2026-04-18 00:10:49 -07:00
..
.gitignore
config
do_kexec.sh
liveupdate.c selftests: liveupdate: add test for double preservation 2026-04-18 00:10:49 -07:00
luo_kexec_simple.c
luo_multi_session.c selftests/liveupdate: add kexec test for multiple and empty sessions 2025-11-27 14:24:42 -08:00
luo_test_utils.c
luo_test_utils.h
Makefile selftests/liveupdate: add kexec test for multiple and empty sessions 2025-11-27 14:24:42 -08:00