chiark / gitweb /
[PATCH] fix up the tests to support the rules file name change
[elogind.git] / test / label_test
index f06c416130eb6e7a87dfbfca0becf9a717ab2149..b0a605cdac2cbac6ee64951a1686ce37d2f53bc7 100644 (file)
@@ -6,9 +6,29 @@ export UDEV_CONFIG_DIR=$PWD/
 export UDEV_ROOT=$PWD/udev/
 export UDEV_DB=udev.tdb
 export UDEV_CONFIG_FILE=label_test.config
+export UDEV_RULES_FILE=label_test.rules
 export UDEV_PERMISSION_FILE=udev.permissions
 
-export DEVPATH=block/sda
 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
+
+