summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/label_test13
-rw-r--r--test/replace_test7
-rw-r--r--test/topo_test12
-rw-r--r--test/topo_test.config2
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"