diff options
author | greg@kroah.com <greg@kroah.com> | 2003-11-19 00:39:43 -0800 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 21:06:24 -0700 |
commit | 1ac5204774c4080d16f308ac3077db0dae8d221c (patch) | |
tree | 3beab9c579a9559d028ee52bfb9a34f852efdc37 | |
parent | a43180955a49a6838f7ce564db3cc1d10f36b8fb (diff) |
[PATCH] add remove actions to the test scripts
-rw-r--r-- | test/label_test | 13 | ||||
-rw-r--r-- | test/replace_test | 7 | ||||
-rw-r--r-- | test/topo_test | 12 | ||||
-rw-r--r-- | test/topo_test.config | 2 |
4 files changed, 33 insertions, 1 deletions
diff --git a/test/label_test b/test/label_test index faa516fdce..0bf89226cb 100644 --- a/test/label_test +++ b/test/label_test @@ -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 diff --git a/test/replace_test b/test/replace_test index 3aa8d5a8c9..0caa4dfb3d 100644 --- a/test/replace_test +++ b/test/replace_test @@ -12,3 +12,10 @@ export DEVPATH=class/tty/ttyUSB0 export ACTION=add ../udev tty +ls udev + +export ACTION=remove +../udev tty +ls udev + + diff --git a/test/topo_test b/test/topo_test index 5a557e909d..2a19c8b5f8 100644 --- a/test/topo_test +++ b/test/topo_test @@ -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 diff --git a/test/topo_test.config b/test/topo_test.config index d7ae92b080..72f03ee0b2 100644 --- a/test/topo_test.config +++ b/test/topo_test.config @@ -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" |