diff options
author | Evgeny Vereshchagin <evvers@ya.ru> | 2016-04-05 06:13:41 +0000 |
---|---|---|
committer | Evgeny Vereshchagin <evvers@ya.ru> | 2016-04-05 10:38:09 +0000 |
commit | 2ce8d27b1f4e7c53e57d345ba471fb1f547d390c (patch) | |
tree | 960fa1ccb1e5982330cd3032c0a3b01fda89b094 /src/test | |
parent | 0ffebd5abfa53945c83c03ba4442c61cc46a6f31 (diff) |
tests: don't rely on underlying fs in udev-test, use tmpfs instead
Fixes: #457
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/test-udev.c | 10 |
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; |