Yafang Shao 40f9caa7b1 selftests/livepatch: Add selftests for "replace" sysfs attribute
Add selftests for both atomic replace and non atomic replace
livepatches. The result is as follows,

  TEST: sysfs test ... ok
  TEST: sysfs test object/patched ... ok
  TEST: sysfs test replace enabled ... ok
  TEST: sysfs test replace disabled ... ok

Suggested-by: Marcos Paulo de Souza <mpdesouza@suse.com>
Signed-off-by: Yafang Shao <laoar.shao@gmail.com>
Tested-by: Marcos Paulo de Souza <mpdesouza@suse.com>
Reviewed-by: Marcos Paulo de Souza <mpdesouza@suse.com>
Reviewed-by: Petr Mladek <pmladek@suse.com>
Acked-by: Miroslav Benes <mbenes@suse.cz>
Link: https://lore.kernel.org/r/20240625151123.2750-3-laoar.shao@gmail.com
Signed-off-by: Petr Mladek <pmladek@suse.com>
2024-07-02 16:56:18 +02:00
..
2024-05-14 19:42:24 -07:00
2024-03-11 09:25:33 -07:00
2023-08-24 10:41:47 -04:00
2024-05-14 11:36:54 -07:00
2024-04-30 13:50:55 -04:00
2024-05-14 11:36:54 -07:00
2023-11-01 17:08:10 -10:00
2024-05-14 11:36:54 -07:00
2023-10-15 20:07:52 +01:00
2023-10-05 14:22:53 -06:00
2024-05-15 12:34:46 -07:00
2024-05-14 11:36:54 -07:00
2024-05-14 19:42:24 -07:00
2024-05-14 19:42:24 -07:00