summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgreg@kroah.com <greg@kroah.com>2004-01-12 23:09:20 -0800
committerGreg KH <gregkh@suse.de>2005-04-26 21:13:15 -0700
commitc38b796be9ff453903db7b4813f69323b6422695 (patch)
treec31a8e587a253d192a791edd37600b1c786b4848
parentb7824727a07a3d23674cfffbb0a819ed4184ecb2 (diff)
[PATCH] convert the test shell scripts to the config file format.
-rw-r--r--test/ignore_test2
-rw-r--r--test/label_test4
-rw-r--r--test/modifier_test2
-rw-r--r--test/replace_test2
-rw-r--r--test/topo_test2
5 files changed, 6 insertions, 6 deletions
diff --git a/test/ignore_test b/test/ignore_test
index 888fd16ff3..602624c1e0 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 cf0d2eb09c..93d02c18f2 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 9af946e598..7ffc7b16a1 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 9ed366e358..10215b0f24 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 385f415893..18b2549b97 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