summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEvgeny Vereshchagin <evvers@ya.ru>2016-04-06 03:04:27 +0000
committerEvgeny Vereshchagin <evvers@ya.ru>2016-04-06 04:08:39 +0000
commit21d9e3f339659c82db950ff2b4c6b81956cfa917 (patch)
treea2b07788aa2baa5eec78962e21006f623ab1fc5e /src
parent0c0d058325d6548a8c5acd1fb9e5dbc229f93e00 (diff)
tests: don't rely on the underlying fs in test-udev (v2)
* This reverts commit 646048b40a7b62c4e9bc59024ef6133613cda01b. Let's test really big numbers again * Don't be so brutal: use rmdir instead of rm -rf As suggested https://github.com/systemd/systemd/pull/2966#issuecomment-205751680
Diffstat (limited to 'src')
-rw-r--r--src/test/test-udev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test-udev.c b/src/test/test-udev.c
index 64ef08652c..8522e9925c 100644
--- a/src/test/test-udev.c
+++ b/src/test/test-udev.c
@@ -41,7 +41,7 @@ static int fake_filesystems(void) {
const char *error;
} fakefss[] = {
{ "test/tmpfs/sys", "/sys", "failed to mount test /sys" },
- { "test/dev", "/dev", "failed to mount test /dev" },
+ { "test/tmpfs/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" },