summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEvgeny Vereshchagin <evvers@ya.ru>2016-04-05 06:13:41 +0000
committerEvgeny Vereshchagin <evvers@ya.ru>2016-04-05 10:38:09 +0000
commit2ce8d27b1f4e7c53e57d345ba471fb1f547d390c (patch)
tree960fa1ccb1e5982330cd3032c0a3b01fda89b094 /src
parent0ffebd5abfa53945c83c03ba4442c61cc46a6f31 (diff)
tests: don't rely on underlying fs in udev-test, use tmpfs instead
Fixes: #457
Diffstat (limited to 'src')
-rw-r--r--src/test/test-udev.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/test/test-udev.c b/src/test/test-udev.c
index d01789fe08..64ef08652c 100644
--- a/src/test/test-udev.c
+++ b/src/test/test-udev.c
@@ -40,11 +40,11 @@ static int fake_filesystems(void) {
const char *target;
const char *error;
} 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", "/etc/udev/rules.d", "failed to mount empty /etc/udev/rules.d" },
- { "test/run", UDEVLIBEXECDIR "/rules.d","failed to mount empty " UDEVLIBEXECDIR "/rules.d" },
+ { "test/tmpfs/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", "/etc/udev/rules.d", "failed to mount empty /etc/udev/rules.d" },
+ { "test/run", UDEVLIBEXECDIR "/rules.d","failed to mount empty " UDEVLIBEXECDIR "/rules.d" },
};
unsigned int i;
int err;