]> err.no Git - systemd/commitdiff
[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 faa516fdce6b93eca98226e815319e336e079408..0bf89226cbd4244248f16ae7729dca04162e64c7 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 3aa8d5a8c9f77f17e44c4eaf14e146ed46900e13..0caa4dfb3ded54a66a8cfd570506af4151883464 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 5a557e909d083a04edeb1817baee3eb82d76b9a0..2a19c8b5f82c77faa11923ea2331db0454cca9a5 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 d7ae92b080f60300df273c743797efbd167f8604..72f03ee0b27cd85f9622ee5830224ed585ad8616 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"