chiark / gitweb /
[PATCH] fix up the tests to support the rules file name change
[elogind.git] / test / label_test
index faa516fdce6b93eca98226e815319e336e079408..b0a605cdac2cbac6ee64951a1686ce37d2f53bc7 100644 (file)
@@ -6,15 +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 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