chiark / gitweb /
[PATCH] add remove actions to the test scripts
authorgreg@kroah.com <greg@kroah.com>
Wed, 19 Nov 2003 08:39:43 +0000 (00:39 -0800)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 04:06:24 +0000 (21:06 -0700)
test/label_test
test/replace_test
test/topo_test
test/topo_test.config

index faa516f..0bf8922 100644 (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
 
 
index 3aa8d5a..0caa4df 100644 (file)
@@ -12,3 +12,10 @@ export DEVPATH=class/tty/ttyUSB0
 export ACTION=add
 
 ../udev tty
+ls udev
+
+export ACTION=remove
+../udev tty
+ls udev
+
+
index 5a557e9..2a19c8b 100644 (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
 
index d7ae92b..72f03ee 100644 (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"