[PATCH] add remove actions to the test scripts

This commit is contained in:
greg@kroah.com
2005-04-26 21:06:24 -07:00
committed by Greg KH
parent a43180955a
commit 1ac5204774
4 changed files with 33 additions and 1 deletions
+13
View File
@@ -12,9 +12,22 @@ 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
+7
View File
@@ -12,3 +12,10 @@ export DEVPATH=class/tty/ttyUSB0
export ACTION=add
../udev tty
ls udev
export ACTION=remove
../udev tty
ls udev
+12
View File
@@ -12,9 +12,21 @@ 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
+1 -1
View File
@@ -1,3 +1,3 @@
# TOPO test
TOPOLOGY, BUS="scsi", place="0:0:0:0", NAME="first_disk"
TOPOLOGY, BUS="scsi", place="0:0:0:0", NAME="first_disk%n"