Andrea Bolognani
87b30e6965
tests: Move fakerootdir handling to common logic
...
Instead of having each test manually initialize and cleanup
its own fakerootdir, do that as part of the common test
initialization logic in virTestMain().
In most cases we can simply drop the relevant code from the
test program, but scsihosttest uses the value of fakerootdir
as a starting point to build another path, so we need to do
things slightly differently. In order to keep things working,
we retrieve the value from the LIBVIRT_FAKE_ROOT_DIR
environment variable, same as all the mock libraries are
already doing.
Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Laine Stump <laine@redhat.com>
2023-03-03 13:52:37 +01:00
..
2022-09-21 12:02:40 +01:00
2023-02-14 13:59:45 +01:00
2023-02-14 13:59:45 +01:00
2022-12-01 14:22:39 +01:00
2022-11-08 21:45:02 +01:00
2023-02-10 09:15:03 +01:00
2022-08-04 09:04:07 +02:00
2022-11-11 08:10:34 -07:00
2022-06-01 09:40:40 +02:00
2022-06-01 09:40:40 +02:00
2022-06-01 09:40:40 +02:00
2022-11-01 13:07:20 +01:00
2022-09-01 13:11:09 +02:00
2022-11-02 09:26:03 +01:00
2023-02-22 08:25:36 -05:00
2022-09-01 13:11:09 +02:00
2023-03-03 13:49:56 +01:00
2022-07-20 16:53:51 +02:00
2022-08-11 15:22:14 +02:00
2022-08-11 15:13:55 +02:00
2023-02-06 09:14:00 +01:00
2023-03-03 13:52:37 +01:00
2023-03-03 13:52:37 +01:00
2022-11-03 09:19:54 +01:00
2022-07-01 14:51:19 +02:00
2022-07-01 16:53:08 +02:00
2022-09-01 13:11:09 +02:00
2022-09-01 13:11:09 +02:00
2022-09-01 13:11:09 +02:00
2022-09-01 13:11:09 +02:00
2023-01-02 20:39:09 +01:00
2022-08-25 13:27:04 +02:00
2022-08-25 13:27:04 +02:00
2022-09-07 12:06:18 +02:00
2022-11-09 18:22:47 +01:00
2023-02-14 13:59:45 +01:00
2022-12-01 17:24:31 +01:00
2023-01-05 12:35:33 +01:00
2022-08-10 17:49:52 +02:00
2023-01-24 13:24:41 -03:00
2022-06-16 06:43:58 +02:00
2022-12-01 14:22:39 +01:00
2022-06-16 06:43:58 +02:00
2022-06-16 06:43:58 +02:00
2022-06-16 06:43:58 +02:00
2022-08-04 09:04:07 +02:00
2022-06-16 06:43:58 +02:00
2022-11-11 08:10:34 -07:00
2022-06-16 06:43:58 +02:00
2022-06-16 06:43:58 +02:00
2023-02-14 13:59:45 +01:00
2022-11-09 18:22:47 +01:00
2022-10-06 10:54:25 +02:00
2022-10-06 10:54:25 +02:00
2022-10-06 10:54:25 +02:00
2022-11-01 13:07:20 +01:00
2022-11-01 13:07:20 +01:00
2022-06-16 06:43:58 +02:00
2022-06-16 06:43:58 +02:00
2022-12-01 14:22:39 +01:00
2022-10-06 10:54:25 +02:00
2023-01-20 22:09:34 +01:00
2022-06-16 06:43:58 +02:00
2022-12-01 14:22:39 +01:00
2022-05-24 12:19:18 +02:00
2022-11-08 12:10:50 +01:00
2022-11-02 09:26:03 +01:00
2022-08-10 17:49:30 +02:00
2022-06-16 06:43:58 +02:00
2022-06-16 06:43:58 +02:00
2022-06-16 06:43:58 +02:00
2022-06-16 06:43:58 +02:00
2022-09-01 13:11:09 +02:00
2023-03-03 13:49:56 +01:00
2022-06-16 06:43:58 +02:00
2023-03-03 13:52:37 +01:00
2023-03-03 13:52:37 +01:00
2022-07-01 11:28:34 +02:00
2022-12-01 11:01:58 +01:00
2023-01-09 13:32:44 +01:00
2022-12-23 14:48:31 +01:00
2022-06-16 06:43:58 +02:00
2022-06-16 06:43:58 +02:00
2022-07-01 15:10:10 +02:00
2023-03-03 13:52:37 +01:00
2022-06-16 06:43:58 +02:00
2023-03-03 13:52:37 +01:00
2023-03-03 13:52:37 +01:00
2023-03-03 13:52:37 +01:00
2022-06-16 06:43:58 +02:00
2022-10-06 10:54:24 +02:00
2022-12-12 10:36:13 +00:00
2022-06-16 06:43:58 +02:00
2022-06-16 06:43:58 +02:00
2022-12-01 14:22:39 +01:00
2022-10-06 10:54:24 +02:00
2022-10-06 10:54:24 +02:00
2022-10-06 10:54:24 +02:00
2022-10-06 10:54:24 +02:00
2022-06-16 06:43:58 +02:00
2023-03-03 13:52:37 +01:00
2023-03-03 13:52:37 +01:00
2023-01-24 13:24:41 -03:00
2022-06-16 06:43:58 +02:00
2022-06-16 06:43:58 +02:00
2023-01-09 14:59:42 +01:00
2023-01-09 14:59:42 +01:00
2022-08-01 10:24:34 +02:00
2022-12-01 14:22:39 +01:00
2022-12-01 14:22:39 +01:00
2022-06-16 06:43:58 +02:00
2022-12-01 14:22:39 +01:00
2022-06-16 06:43:58 +02:00
2022-10-19 16:32:14 +02:00
2023-03-03 13:52:37 +01:00
2022-06-16 06:43:58 +02:00
2022-06-16 06:43:58 +02:00
2022-06-16 06:43:58 +02:00
2022-12-12 10:36:13 +00:00
2022-06-16 06:43:58 +02:00
2022-06-16 06:43:58 +02:00
2022-12-01 14:22:39 +01:00
2022-09-30 15:38:47 +02:00
2022-06-16 06:43:58 +02:00
2023-03-03 13:52:37 +01:00
2022-06-16 06:43:58 +02:00
2022-12-01 14:22:39 +01:00
2022-06-16 06:43:58 +02:00
2022-12-01 14:22:39 +01:00
2022-06-16 06:43:58 +02:00
2022-06-16 06:43:58 +02:00
2022-11-21 15:49:36 +01:00
2023-01-02 20:39:09 +01:00
2022-12-01 14:22:39 +01:00
2022-06-16 06:43:58 +02:00
2022-12-01 14:22:39 +01:00
2022-06-16 06:43:58 +02:00
2022-06-16 06:43:58 +02:00
2022-12-01 14:22:39 +01:00
2022-11-21 15:36:08 +01:00
2022-11-21 15:36:08 +01:00
2022-10-06 10:54:24 +02:00
2022-06-16 06:43:58 +02:00
2022-10-06 10:54:24 +02:00
2022-06-16 06:43:58 +02:00
2023-03-03 13:52:37 +01:00
2022-06-16 06:43:58 +02:00
2022-07-01 13:04:59 +02:00
2022-11-03 09:19:54 +01:00
2022-12-07 14:33:28 +01:00
2022-12-01 14:22:39 +01:00
2022-06-16 06:43:58 +02:00
2022-06-16 06:43:58 +02:00
2022-06-16 06:43:58 +02:00
2022-06-16 06:43:58 +02:00
2022-06-16 06:43:58 +02:00
2023-02-08 16:50:45 +01:00
2022-06-16 06:43:58 +02:00
2022-06-16 06:43:58 +02:00
2022-08-25 13:27:04 +02:00
2022-06-16 06:43:58 +02:00
2022-06-16 06:43:58 +02:00
2022-06-16 06:43:58 +02:00
2022-08-25 13:27:04 +02:00