[PATCH] add replace test

This commit is contained in:
greg@kroah.com
2005-04-26 21:06:23 -07:00
committed by Greg KH
parent 139d41e988
commit 75ff8da8ab
2 changed files with 17 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
#!/bin/bash
export UDEV_TEST=yes
export SYSFS_PATH=$PWD/sys/
export UDEV_CONFIG_DIR=$PWD/
export UDEV_ROOT=$PWD/udev/
export UDEV_DB=udev.tdb
export UDEV_CONFIG_FILE=replace_test.config
export UDEV_PERMISSION_FILE=udev.permissions
export DEVPATH=class/tty/ttyUSB0
export ACTION=add
../udev tty
+3
View File
@@ -0,0 +1,3 @@
# REPLACE test
REPLACE, KERNEL="ttyUSB0", NAME="visor"