From 1ac5204774c4080d16f308ac3077db0dae8d221c Mon Sep 17 00:00:00 2001 From: "greg@kroah.com" Date: Wed, 19 Nov 2003 00:39:43 -0800 Subject: [PATCH] [PATCH] add remove actions to the test scripts --- test/label_test | 13 +++++++++++++ test/replace_test | 7 +++++++ test/topo_test | 12 ++++++++++++ test/topo_test.config | 2 +- 4 files changed, 33 insertions(+), 1 deletion(-) diff --git a/test/label_test b/test/label_test index faa516fdc..0bf89226c 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 3aa8d5a8c..0caa4dfb3 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 5a557e909..2a19c8b5f 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 d7ae92b08..72f03ee0b 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" -- 2.30.2