chiark / gitweb /
[PATCH] fix up the tests to support the rules file name change
[elogind.git] / test / topo_test
index 5a557e909d083a04edeb1817baee3eb82d76b9a0..71121f478e02e6c5405e4f70380def2d29380484 100644 (file)
@@ -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_RULES_FILE=topo_test.rules
 export UDEV_PERMISSION_FILE=udev.permissions
 
 export ACTION=add
 export DEVPATH=block/sda
 
 ../udev block
+ls udev
 
 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