summaryrefslogtreecommitdiff
path: root/test/test-udev.c
diff options
context:
space:
mode:
authorDavid Cortarello <dcortarello@gmail.com>2015-03-25 01:48:36 -0300
committerAnthony G. Basile <blueness@gentoo.org>2015-03-27 11:34:13 -0400
commit6a398265f3bd30a252cba2b1ada04ff1c617cf96 (patch)
tree2a0761e4c4b46b8bb433e24032a4353cab3bed58 /test/test-udev.c
parent3cda11ed7c226adc9f4818cecfb21974239d632b (diff)
Remove hardcoded path /run and configure using --with-rootrundir=
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'test/test-udev.c')
-rw-r--r--test/test-udev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test-udev.c b/test/test-udev.c
index 817f08fda8..6bed8d61c4 100644
--- a/test/test-udev.c
+++ b/test/test-udev.c
@@ -54,7 +54,7 @@ static int fake_filesystems(void) {
} fakefss[] = {
{ "test/sys", "/sys", "failed to mount test /sys" },
{ "test/dev", "/dev", "failed to mount test /dev" },
- { "test/run", "/run", "failed to mount test /run" },
+ { "test/run", UDEV_ROOT_RUN, "failed to mount test " UDEV_ROOT_RUN },
{ "test/run", "/etc/udev/rules.d", "failed to mount empty /etc/udev/rules.d" },
{ "test/run", "/lib/udev/rules.d", "failed to mount empty /lib/udev/rules.d" },
};