chiark / gitweb /
[PATCH] allow to match against empty key values
[elogind.git] / test / replace_test
index 375c8dc..6e01f28 100644 (file)
@@ -3,21 +3,21 @@
 RULES=replace_test.rules
 CONFIG=replace_test.conf
 
-export UDEV_TEST=yes
 export SYSFS_PATH=$PWD/sys/
 export UDEV_CONFIG_FILE=$PWD/$CONFIG
 
 cat > $RULES << EOF
-REPLACE, KERNEL="ttyUSB0", NAME="visor"
+KERNEL="ttyUSB0", NAME="visor"
 EOF
 
 cat > $CONFIG << EOF
 udev_root="$PWD/udev/"
-udev_db="$PWD/udev/.udev.tdb"
+udev_db="$PWD/udev/.udevdb"
 udev_rules="$PWD/$RULES"
-udev_permissions="$PWD/udev.permissions"
 EOF
 
+mkdir udev
+
 export DEVPATH=class/tty/ttyUSB0
 export ACTION=add
 
@@ -30,3 +30,4 @@ ls -l udev
 
 rm $RULES
 rm $CONFIG
+rm -rf udev