[PATCH] add remove actions to the test scripts

This commit is contained in:
greg@kroah.com 2003-11-19 00:39:43 -08:00 committed by Greg KH
parent a43180955a
commit 1ac5204774
4 changed files with 33 additions and 1 deletions

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

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

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

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"