chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] fix up the tests to support the rules file name change
[elogind.git]
/
test
/
topo_test
diff --git
a/test/topo_test
b/test/topo_test
index 5a557e909d083a04edeb1817baee3eb82d76b9a0..71121f478e02e6c5405e4f70380def2d29380484 100644
(file)
--- a/
test/topo_test
+++ b/
test/topo_test
@@
-6,15
+6,28
@@
export UDEV_CONFIG_DIR=$PWD/
export UDEV_ROOT=$PWD/udev/
export UDEV_DB=udev.tdb
export UDEV_CONFIG_FILE=topo_test.config
export UDEV_ROOT=$PWD/udev/
export UDEV_DB=udev.tdb
export UDEV_CONFIG_FILE=topo_test.config
+export UDEV_RULES_FILE=topo_test.rules
export UDEV_PERMISSION_FILE=udev.permissions
export ACTION=add
export DEVPATH=block/sda
../udev block
export UDEV_PERMISSION_FILE=udev.permissions
export ACTION=add
export DEVPATH=block/sda
../udev block
+ls udev
export DEVPATH=block/sda/sda3
../udev block
export DEVPATH=block/sda/sda3
../udev block
+ls udev
+export ACTION=remove
+export DEVPATH=block/sda
+
+../udev block
+ls udev
+
+export DEVPATH=block/sda/sda3
+
+../udev block
+ls udev