From c38b796be9ff453903db7b4813f69323b6422695 Mon Sep 17 00:00:00 2001 From: "greg@kroah.com" Date: Mon, 12 Jan 2004 23:09:20 -0800 Subject: [PATCH] [PATCH] convert the test shell scripts to the config file format. --- test/ignore_test | 2 +- test/label_test | 4 ++-- test/modifier_test | 2 +- test/replace_test | 2 +- test/topo_test | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/test/ignore_test b/test/ignore_test index 888fd16f..602624c1 100644 --- a/test/ignore_test +++ b/test/ignore_test @@ -8,7 +8,7 @@ export SYSFS_PATH=$PWD/sys/ export UDEV_CONFIG_FILE=$PWD/$CONFIG cat > $RULES << EOF -IGNORE, KERNEL="ttyUSB0" +KERNEL="ttyUSB0", NAME="" EOF cat > $CONFIG << EOF diff --git a/test/label_test b/test/label_test index cf0d2eb0..93d02c18 100644 --- a/test/label_test +++ b/test/label_test @@ -8,8 +8,8 @@ export SYSFS_PATH=$PWD/sys/ export UDEV_CONFIG_FILE=$PWD/$CONFIG cat > $RULES << EOF -LABEL, BUS="scsi", SYSFS_vendor="IBM-ESXS", SYSFS_model="ST336605LW !#", NAME="boot_diskX%n" -LABEL, BUS="scsi", SYSFS_vendor="IBM-ESXS", SYSFS_model="ST336605LW !#", NAME="boot_disk%n" +BUS="scsi", SYSFS_vendor="IBM-ESXS", SYSFS_model="ST336605LW !#", NAME="boot_diskX%n" +BUS="scsi", SYSFS_vendor="IBM-ESXS", SYSFS_model="ST336605LW !#", NAME="boot_disk%n" EOF cat > $CONFIG << EOF diff --git a/test/modifier_test b/test/modifier_test index 9af946e5..7ffc7b16 100644 --- a/test/modifier_test +++ b/test/modifier_test @@ -8,7 +8,7 @@ export SYSFS_PATH=$PWD/sys/ export UDEV_CONFIG_FILE=$PWD/$CONFIG cat > $RULES << EOF -TOPOLOGY, BUS="scsi", place="0:0:0:0", NAME="Major:%M:minor:%m:kernelnumber:%n:bus:%b" +BUS="scsi", place="0:0:0:0", NAME="Major:%M:minor:%m:kernelnumber:%n:bus:%b" EOF cat > $CONFIG << EOF diff --git a/test/replace_test b/test/replace_test index 9ed366e3..10215b0f 100644 --- a/test/replace_test +++ b/test/replace_test @@ -8,7 +8,7 @@ export SYSFS_PATH=$PWD/sys/ export UDEV_CONFIG_FILE=$PWD/$CONFIG cat > $RULES << EOF -REPLACE, KERNEL="ttyUSB0", NAME="visor" +KERNEL="ttyUSB0", NAME="visor" EOF cat > $CONFIG << EOF diff --git a/test/topo_test b/test/topo_test index 385f4158..18b2549b 100644 --- a/test/topo_test +++ b/test/topo_test @@ -8,7 +8,7 @@ export SYSFS_PATH=$PWD/sys/ export UDEV_CONFIG_FILE=$PWD/$CONFIG cat > $RULES << EOF -TOPOLOGY, BUS="scsi", place="0:0:0:0", NAME="first_disk%n" +BUS="scsi", place="0:0:0:0", NAME="first_disk%n" EOF cat > $CONFIG << EOF -- 2.39.5