]> err.no Git - systemd/commitdiff
[PATCH] convert the test shell scripts to the config file format.
authorgreg@kroah.com <greg@kroah.com>
Tue, 13 Jan 2004 07:09:20 +0000 (23:09 -0800)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 04:13:15 +0000 (21:13 -0700)
test/ignore_test
test/label_test
test/modifier_test
test/replace_test
test/topo_test

index 888fd16ff3f28ee2fd08bce4592539f07c7cdd79..602624c1e022716adbb734e8c74105177486d48b 100644 (file)
@@ -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
index cf0d2eb09c03399b333aad1152acb8796ad1cd3a..93d02c18f29e1c4a933dad9d864c2e61c6c7d1c4 100644 (file)
@@ -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
index 9af946e598eff9edbe20300e9461d0ef7d2fb4f0..7ffc7b16a19fb81b90d3ea64b1f5a0febe571906 100644 (file)
@@ -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
index 9ed366e358e39928a6e177e25406b3d6ef2433af..10215b0f24ae436e84aab01a3e83ee346aa90246 100644 (file)
@@ -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
index 385f415893298267bf4a6212f8195e01550fcfcb..18b2549b9727ac4c3a98a4bd7b2089f25fd8819b 100644 (file)
@@ -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