summaryrefslogtreecommitdiff
path: root/ubi-utils/tests/README.udev
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2008-02-19 17:17:44 +0200
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2008-02-19 17:17:44 +0200
commit238050eeebb0389ecdc5fe3c016194b287a30100 (patch)
tree9d6e12fb0657bc0c86ba13c2516d32e80acff02b /ubi-utils/tests/README.udev
parent86dd9696d3a1acb036d65909d93d73455b8aed3a (diff)
Remove redundant tests
Sorry for this mess in the history, but I hope this is the last ugly commit. I accidentally copies the tests from mtd-utils.git/tests/ubi-tests/ to here. Remove them. Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'ubi-utils/tests/README.udev')
-rw-r--r--ubi-utils/tests/README.udev19
1 files changed, 0 insertions, 19 deletions
diff --git a/ubi-utils/tests/README.udev b/ubi-utils/tests/README.udev
deleted file mode 100644
index a4ff9c5..0000000
--- a/ubi-utils/tests/README.udev
+++ /dev/null
@@ -1,19 +0,0 @@
-There is a problem with udev: when a volume is created, there is a delay
-before corresponding /dev/ubiX_Y device node is created by udev, so some
-tests fail because of this. The symptom is error messages like
-"cannot open /dev/ubi0_0".
-
-One possible solution of this problem is to pre-create UBI device and volume
-nodes. there is even a script which may be used for this in ubi-utils/scripts/.
-But this is not enough because udev will still remove and re-create the nodes
-and tests will still fail. So you need to stop removing device nodes using
-the following udev rule:
-
- KERNEL=="ubi*_*", ACTION=="remove", OPTIONS+="ignore_device"
-
-In our Ubuntu distribution we put that to new file:
-/etc/udev/rules.d/50-local.rules
-
-Another possibility is to call udevsettle utility in libubi after the volume
-has been created See src/libubi.c - the call is there but is commented out.
-This is anyway an ugly hack, but works, although makes the tests slower.