Mon Feb 20 03:34:33 CST 2012 make[1]: Entering directory `/sources/udev-181' make --no-print-directory check-recursive Making check in . make --no-print-directory src/test-libudev src/test-udev CC src/test-libudev.o CCLD src/test-libudev CC src/src_test_udev-udev-event.o CC src/src_test_udev-udev-watch.o CC src/src_test_udev-udev-node.o CC src/src_test_udev-udev-rules.o CC src/src_test_udev-udev-ctrl.o CC src/src_test_udev-udev-builtin.o CC src/src_test_udev-udev-builtin-blkid.o CC src/src_test_udev-udev-builtin-firmware.o CC src/src_test_udev-udev-builtin-hwdb.o CC src/src_test_udev-udev-builtin-input_id.o CC src/src_test_udev-udev-builtin-kmod.o CC src/src_test_udev-udev-builtin-path_id.o CC src/src_test_udev-udev-builtin-usb_id.o CC src/src_test_udev-test-udev.o CCLD src/test-udev make --no-print-directory check-TESTS udev-test will run 139 tests: TEST 1: no rules device '/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda' expecting node/link 'sda' add: ok remove: ok TEST 2: label test of scsi disc device '/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda' expecting node/link 'boot_disk' libudev: add_rule: RUN+="socket:..." support will be removed from a future udev release. Please remove it from: /sources/udev-181/udev-test.rules:1 and use libudev to subscribe to events. add: ok libudev: add_rule: RUN+="socket:..." support will be removed from a future udev release. Please remove it from: /sources/udev-181/udev-test.rules:1 and use libudev to subscribe to events. remove: ok TEST 3: label test of scsi disc device '/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda' expecting node/link 'boot_disk' add: ok remove: ok TEST 4: label test of scsi disc device '/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda' expecting node/link 'boot_disk' add: ok remove: ok TEST 5: label test of scsi partition device '/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda/sda1' expecting node/link 'boot_disk1' add: ok remove: ok TEST 6: label test of pattern match device '/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda/sda1' expecting node/link 'boot_disk1' add: ok remove: ok TEST 7: label test of multiple sysfs files device '/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda/sda1' expecting node/link 'boot_disk1' add: ok remove: ok TEST 8: label test of max sysfs files (skip invalid rule) device '/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda/sda1' expecting node/link 'boot_disk1' add: ok remove: ok TEST 9: catch device by * device '/devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2:1.0/tty/ttyACM0' expecting node/link 'modem/0' add: ok remove: ok TEST 10: catch device by * - take 2 device '/devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2:1.0/tty/ttyACM0' expecting node/link 'modem/0' add: ok remove: ok TEST 11: catch device by ? device '/devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2:1.0/tty/ttyACM0' expecting node/link 'modem/0' add: ok remove: ok TEST 12: catch device by character class device '/devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2:1.0/tty/ttyACM0' expecting node/link 'modem/0' add: ok remove: ok TEST 13: replace kernel name device '/devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2:1.0/tty/ttyACM0' expecting node/link 'modem' add: ok remove: ok TEST 14: Handle comment lines in config file (and replace kernel name) device '/devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2:1.0/tty/ttyACM0' expecting node/link 'modem' add: ok remove: ok TEST 15: Handle comment lines in config file with whitespace (and replace kernel name) device '/devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2:1.0/tty/ttyACM0' expecting node/link 'modem' add: ok remove: ok TEST 16: Handle whitespace only lines (and replace kernel name) device '/devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2:1.0/tty/ttyACM0' expecting node/link 'whitespace' add: ok remove: ok TEST 17: Handle empty lines in config file (and replace kernel name) device '/devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2:1.0/tty/ttyACM0' expecting node/link 'modem' add: ok remove: ok TEST 18: Handle backslashed multi lines in config file (and replace kernel name) device '/devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2:1.0/tty/ttyACM0' expecting node/link 'modem' add: ok remove: ok TEST 19: preserve backslashes, if they are not for a newline device '/devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2:1.0/tty/ttyACM0' expecting node/link 'aaa' add: ok remove: ok TEST 20: Handle stupid backslashed multi lines in config file (and replace kernel name) device '/devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2:1.0/tty/ttyACM0' expecting node/link 'modem' add: ok remove: ok TEST 21: subdirectory handling device '/devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2:1.0/tty/ttyACM0' expecting node/link 'sub/direct/ory/modem' add: ok remove: ok TEST 22: parent device name match of scsi partition device '/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda/sda5' expecting node/link 'first_disk5' add: ok remove: ok TEST 23: test substitution chars device '/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda/sda5' expecting node/link 'Major:8:minor:5:kernelnumber:5:id:0:0:0:0' add: ok remove: ok TEST 24: import of shell-value file device '/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda' expecting node/link 'subdir/err/node' add: ok remove: ok TEST 25: import of shell-value returned from program device '/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda' expecting node/link 'node12345678' add: ok remove: ok TEST 26: sustitution of sysfs value (%s{file}) device '/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda' expecting node/link 'disk-ATA-sda' add: ok remove: ok TEST 27: program result substitution device '/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda/sda5' expecting node/link 'special-device-5' add: ok remove: ok TEST 28: program result substitution (newline removal) device '/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda/sda5' expecting node/link 'newline_removed' add: ok remove: ok TEST 29: program result substitution device '/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda/sda5' expecting node/link 'test-0:0:0:0' add: ok remove: ok TEST 30: program with lots of arguments device '/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda/sda5' expecting node/link 'foo9' add: ok remove: ok TEST 31: program with subshell device '/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda/sda5' expecting node/link 'bar9' add: ok remove: ok TEST 32: program arguments combined with apostrophes device '/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda/sda5' expecting node/link 'foo7' add: ok remove: ok TEST 33: characters before the %c{N} substitution device '/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda/sda5' expecting node/link 'my-foo9' add: ok remove: ok TEST 34: substitute the second to last argument device '/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda/sda5' expecting node/link 'my-foo8' add: ok remove: ok TEST 35: test substitution by variable name device '/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda/sda5' expecting node/link 'Major:8-minor:5-kernelnumber:5-id:0:0:0:0' add: ok remove: ok TEST 36: test substitution by variable name 2 device '/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda/sda5' expecting node/link 'Major:8-minor:5-kernelnumber:5-id:0:0:0:0' add: ok remove: ok TEST 37: test substitution by variable name 3 device '/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda/sda5' expecting node/link '850:0:0:05' add: ok remove: ok TEST 38: test substitution by variable name 4 device '/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda/sda5' expecting node/link '855' add: ok remove: ok TEST 39: test substitution by variable name 5 device '/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda/sda5' expecting node/link '8550:0:0:0' add: ok remove: ok TEST 40: non matching SUBSYSTEMS for device with no parent device '/devices/virtual/tty/console' expecting node/link 'TTY' add: ok remove: ok TEST 41: non matching SUBSYSTEMS device '/devices/virtual/tty/console' expecting node/link 'TTY' add: ok remove: ok TEST 42: ATTRS match device '/devices/virtual/tty/console' expecting node/link 'foo' add: ok remove: ok TEST 43: ATTR (empty file) device '/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda' expecting node/link 'empty' add: ok remove: ok TEST 44: ATTR (non-existent file) device '/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda' expecting node/link 'non-existent' add: ok remove: ok TEST 45: program and bus type match device '/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda' expecting node/link 'scsi-0:0:0:0' add: ok remove: ok TEST 46: sysfs parent hierarchy device '/devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2:1.0/tty/ttyACM0' expecting node/link 'modem' add: ok remove: ok TEST 47: name test with ! in the name device '/devices/virtual/block/fake!blockdev0' expecting node/link 'is/a/fake/blockdev0' add: ok remove: ok TEST 48: name test with ! in the name, but no matching rule device '/devices/virtual/block/fake!blockdev0' expecting node/link 'fake/blockdev0' add: ok remove: ok TEST 49: KERNELS rule device '/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda' expecting node/link 'scsi-0:0:0:0' add: ok remove: ok TEST 50: KERNELS wildcard all device '/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda' expecting node/link 'scsi-0:0:0:0' add: ok remove: ok TEST 51: KERNELS wildcard partial device '/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda' expecting node/link 'scsi-0:0:0:0' add: ok remove: ok TEST 52: KERNELS wildcard partial 2 device '/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda' expecting node/link 'scsi-0:0:0:0' add: ok remove: ok TEST 53: substitute attr with link target value (first match) device '/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda' expecting node/link 'driver-is-sd' add: ok remove: ok TEST 54: substitute attr with link target value (currently selected device) device '/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda' expecting node/link 'driver-is-ahci' add: ok remove: ok TEST 55: ignore ATTRS attribute whitespace device '/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda' expecting node/link 'ignored' add: ok remove: ok TEST 56: do not ignore ATTRS attribute whitespace device '/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda' expecting node/link 'matched-with-space' add: ok remove: ok TEST 57: permissions USER=bad GROUP=name device '/devices/virtual/tty/tty33' expecting node/link 'tty33' libudev: util_lookup_user: specified user 'bad' unknown libudev: util_lookup_group: specified group 'name' unknown libudev: node_symlink: device node 'udev-root/tty33' already exists, link to 'udev-root/tty33' will not overwrite it permissions: ok add: ok libudev: util_lookup_user: specified user 'bad' unknown libudev: util_lookup_group: specified group 'name' unknown remove: ok TEST 58: permissions OWNER=5000 device '/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda' expecting node/link 'node' permissions: ok add: ok remove: ok TEST 59: permissions GROUP=100 device '/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda' expecting node/link 'node' permissions: ok add: ok remove: ok TEST 60: textual user id device '/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda' expecting node/link 'node' permissions: ok add: ok remove: ok TEST 61: textual group id device '/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda' expecting node/link 'node' permissions: ok add: ok remove: ok TEST 62: textual user/group id device '/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda' expecting node/link 'node' permissions: ok add: ok remove: ok TEST 63: permissions MODE=0777 device '/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda' expecting node/link 'node' permissions: ok add: ok remove: ok TEST 64: permissions OWNER=5000 GROUP=100 MODE=0777 device '/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda' expecting node/link 'node' permissions: ok add: ok remove: ok TEST 65: permissions OWNER to 5000 device '/devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2:1.0/tty/ttyACM0' expecting node/link 'ttyACM0' libudev: node_symlink: device node 'udev-root/ttyACM0' already exists, link to 'udev-root/ttyACM0' will not overwrite it permissions: ok add: ok remove: ok TEST 66: permissions GROUP to 100 device '/devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2:1.0/tty/ttyACM0' expecting node/link 'ttyACM0' libudev: node_symlink: device node 'udev-root/ttyACM0' already exists, link to 'udev-root/ttyACM0' will not overwrite it permissions: ok add: ok remove: ok TEST 67: permissions MODE to 0060 device '/devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2:1.0/tty/ttyACM0' expecting node/link 'ttyACM0' libudev: node_symlink: device node 'udev-root/ttyACM0' already exists, link to 'udev-root/ttyACM0' will not overwrite it permissions: ok add: ok remove: ok TEST 68: permissions OWNER, GROUP, MODE device '/devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2:1.0/tty/ttyACM0' expecting node/link 'ttyACM0' libudev: node_symlink: device node 'udev-root/ttyACM0' already exists, link to 'udev-root/ttyACM0' will not overwrite it permissions: ok add: ok remove: ok TEST 69: permissions only rule device '/devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2:1.0/tty/ttyACM0' expecting node/link 'ttyACM0' libudev: node_symlink: device node 'udev-root/ttyACM0' already exists, link to 'udev-root/ttyACM0' will not overwrite it permissions: ok add: ok remove: ok TEST 70: multiple permissions only rule device '/devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2:1.0/tty/ttyACM0' expecting node/link 'ttyACM0' libudev: node_symlink: device node 'udev-root/ttyACM0' already exists, link to 'udev-root/ttyACM0' will not overwrite it permissions: ok add: ok remove: ok TEST 71: permissions only rule with override at SYMLINK+ rule device '/devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2:1.0/tty/ttyACM0' expecting node/link 'ttyACM0' libudev: node_symlink: device node 'udev-root/ttyACM0' already exists, link to 'udev-root/ttyACM0' will not overwrite it permissions: ok add: ok remove: ok TEST 72: major/minor number test device '/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda' expecting node/link 'node' major:minor: ok add: ok remove: ok TEST 73: big major number test device '/devices/virtual/misc/misc-fake1' expecting node/link 'node' major:minor: ok add: ok remove: ok TEST 74: big major and big minor number test device '/devices/virtual/misc/misc-fake89999' expecting node/link 'node' major:minor: ok add: ok remove: ok TEST 75: multiple symlinks with format char device '/devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2:1.0/tty/ttyACM0' expecting node/link 'symlink2-ttyACM0' add: ok remove: ok TEST 76: multiple symlinks with a lot of s p a c e s device '/devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2:1.0/tty/ttyACM0' expecting node/link 'one' add: ok remove: ok TEST 77: symlink creation (same directory) device '/devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2:1.0/tty/ttyACM0' expecting node/link 'modem0' add: ok remove: ok TEST 78: multiple symlinks device '/devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2:1.0/tty/ttyACM0' expecting node/link 'second-0' add: ok remove: ok TEST 79: symlink name '.' device '/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda' expecting node/link '.' libudev: node_symlink: rename 'udev-root/..udev-tmp' 'udev-root/.' failed: Device or resource busy add: ok remove: error as expected TEST 80: symlink node to itself device '/devices/virtual/tty/tty0' expecting node/link 'link' libudev: node_symlink: device node 'udev-root/tty0' already exists, link to 'udev-root/tty0' will not overwrite it add: error as expected remove: ok TEST 81: symlink %n substitution device '/devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2:1.0/tty/ttyACM0' expecting node/link 'symlink0' libudev: node_symlink: device node 'udev-root/ttyACM0' already exists, link to 'udev-root/ttyACM0' will not overwrite it add: ok remove: ok TEST 82: symlink %k substitution device '/devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2:1.0/tty/ttyACM0' expecting node/link 'symlink-ttyACM0' libudev: node_symlink: device node 'udev-root/ttyACM0' already exists, link to 'udev-root/ttyACM0' will not overwrite it add: ok remove: ok TEST 83: symlink %M:%m substitution device '/devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2:1.0/tty/ttyACM0' expecting node/link 'major-166:0' libudev: node_symlink: device node 'udev-root/ttyACM0' already exists, link to 'udev-root/ttyACM0' will not overwrite it add: ok remove: ok TEST 84: symlink %b substitution device '/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda' expecting node/link 'symlink-0:0:0:0' add: ok remove: ok TEST 85: symlink %c substitution device '/devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2:1.0/tty/ttyACM0' expecting node/link 'test' add: ok remove: ok TEST 86: symlink %c{N} substitution device '/devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2:1.0/tty/ttyACM0' expecting node/link 'test' add: ok remove: ok TEST 87: symlink %c{N+} substitution device '/devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2:1.0/tty/ttyACM0' expecting node/link 'this' add: ok remove: ok TEST 88: symlink only rule with %c{N+} device '/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda' expecting node/link 'test' add: ok remove: ok TEST 89: symlink %s{filename} substitution device '/devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2:1.0/tty/ttyACM0' expecting node/link '166:0' add: ok remove: ok TEST 90: program result substitution (numbered part of) device '/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda/sda5' expecting node/link 'link1' add: ok remove: ok TEST 91: program result substitution (numbered part of+) device '/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda/sda5' expecting node/link 'link4' add: ok remove: ok TEST 92: SUBSYSTEM match test device '/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda' expecting node/link 'node' add: ok remove: ok TEST 93: DRIVERS match test device '/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda' expecting node/link 'node' add: ok remove: ok TEST 94: devnode substitution test device '/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda' expecting node/link 'node' add: ok remove: ok TEST 95: parent node name substitution test device '/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda/sda1' expecting node/link 'sda-part-1' add: ok remove: ok TEST 96: udev_root substitution device '/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda/sda1' expecting node/link 'start-udev-root-end' add: ok remove: ok TEST 97: last_rule option device '/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda/sda1' expecting node/link 'last' add: ok remove: ok TEST 98: negation KERNEL!= device '/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda/sda1' expecting node/link 'match' add: ok remove: ok TEST 99: negation SUBSYSTEM!= device '/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda/sda1' expecting node/link 'not-anything' add: ok remove: ok TEST 100: negation PROGRAM!= exit code device '/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda/sda1' expecting node/link 'nonzero-program' add: ok remove: ok TEST 101: test for whitespace between the operator device '/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda/sda1' expecting node/link 'true' add: ok remove: ok TEST 102: ENV{} test device '/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda/sda1' expecting node/link 'true' add: ok remove: ok TEST 103: ENV{} test device '/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda/sda1' expecting node/link 'true' add: ok remove: ok TEST 104: ENV{} test (assign) device '/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda/sda1' expecting node/link 'true' add: ok remove: ok TEST 105: ENV{} test (assign 2 times) device '/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda/sda1' expecting node/link 'true' add: ok remove: ok TEST 106: ENV{} test (assign2) device '/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda/sda1' expecting node/link 'part' add: ok remove: ok TEST 107: untrusted string sanitize device '/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda/sda1' expecting node/link 'sane' add: ok remove: ok TEST 108: untrusted string sanitize (don't replace utf8) device '/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda/sda1' expecting node/link 'uber' add: ok remove: ok TEST 109: untrusted string sanitize (replace invalid utf8) device '/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda/sda1' expecting node/link 'replaced' add: ok remove: ok TEST 110: read sysfs value from parent device device '/devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2:1.0/tty/ttyACM0' expecting node/link 'serial-354172020305000' add: ok remove: ok TEST 111: match against empty key string device '/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda' expecting node/link 'ok' add: ok remove: ok TEST 112: check ACTION value device '/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda' expecting node/link 'ok' add: ok remove: ok TEST 113: final assignment device '/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda' expecting node/link 'ok' libudev: util_lookup_group: specified group 'not-ok' unknown permissions: ok add: ok libudev: util_lookup_group: specified group 'not-ok' unknown remove: ok TEST 114: final assignment 2 device '/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda' expecting node/link 'ok' libudev: util_lookup_group: specified group 'not-ok' unknown permissions: ok add: ok libudev: util_lookup_group: specified group 'not-ok' unknown remove: ok TEST 115: env substitution device '/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda' expecting node/link 'node-add-me' add: ok remove: ok TEST 116: reset list to current value device '/devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2:1.0/tty/ttyACM0' expecting node/link 'three' add: ok remove: ok TEST 117: test empty SYMLINK+ (empty override) device '/devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2:1.0/tty/ttyACM0' expecting node/link 'right' add: ok remove: ok TEST 118: test multi matches device '/devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2:1.0/tty/ttyACM0' expecting node/link 'right' add: ok remove: ok TEST 119: test multi matches 2 device '/devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2:1.0/tty/ttyACM0' expecting node/link 'right' add: ok remove: ok TEST 120: test multi matches 3 device '/devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2:1.0/tty/ttyACM0' expecting node/link 'right' add: ok remove: ok TEST 121: test multi matches 4 device '/devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2:1.0/tty/ttyACM0' expecting node/link 'right' add: ok remove: ok TEST 122: IMPORT parent test sequence 1/2 (keep) device '/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda' expecting node/link 'parent' add: ok TEST 123: IMPORT parent test sequence 2/2 (keep) device '/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda/sda1' expecting node/link 'parentenv-parent_right' add: ok remove: ok TEST 124: GOTO test device '/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda/sda1' expecting node/link 'right' add: ok remove: ok TEST 125: GOTO label does not exist device '/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda/sda1' expecting node/link 'right' libudev: parse_file: GOTO 'does-not-exist' has no matching label in: '/sources/udev-181/udev-test.rules' add: ok libudev: parse_file: GOTO 'does-not-exist' has no matching label in: '/sources/udev-181/udev-test.rules' remove: ok TEST 126: SYMLINK+ compare test device '/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda/sda1' expecting node/link 'right' add: ok remove: ok TEST 127: invalid key operation device '/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda/sda1' expecting node/link 'yes' libudev: add_rule: invalid KERNEL operation libudev: add_rule: invalid rule '/sources/udev-181/udev-test.rules:1' add: ok libudev: add_rule: invalid KERNEL operation libudev: add_rule: invalid rule '/sources/udev-181/udev-test.rules:1' remove: ok TEST 128: operator chars in attribute device '/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda' expecting node/link 'yes' add: ok remove: ok TEST 129: overlong comment line device '/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda/sda1' expecting node/link 'yes' add: ok remove: ok TEST 130: magic subsys/kernel lookup device '/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda' expecting node/link '00:16:41:e2:8d:ff' add: ok remove: ok TEST 131: TEST absolute path device '/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda' expecting node/link 'there' add: ok remove: ok TEST 132: TEST subsys/kernel lookup device '/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda' expecting node/link 'yes' add: ok remove: ok TEST 133: TEST relative path device '/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda' expecting node/link 'relative' add: ok remove: ok TEST 134: TEST wildcard substitution (find queue/nr_requests) device '/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda' expecting node/link 'found-subdir' add: ok remove: ok TEST 135: TEST MODE=0000 device '/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda' expecting node/link 'sda' permissions: ok add: ok remove: ok TEST 136: TEST PROGRAM feeds OWNER, GROUP, MODE device '/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda' expecting node/link 'sda' permissions: ok add: ok remove: ok TEST 137: TEST PROGRAM feeds MODE with overflow device '/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda' expecting node/link 'sda' libudev: udev_rules_apply_to_event: ignoring invalid mode '0400letsdoabuffferoverflow0123456789012345789012345678901234567890' permissions: ok add: ok remove: ok TEST 138: magic [subsys/sysname] attribute substitution device '/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda' expecting node/link 'sda-8741C4G-end' libudev: add_rule: RUN+="socket:..." support will be removed from a future udev release. Please remove it from: /sources/udev-181/udev-test.rules:3 and use libudev to subscribe to events. permissions: ok add: ok libudev: add_rule: RUN+="socket:..." support will be removed from a future udev release. Please remove it from: /sources/udev-181/udev-test.rules:3 and use libudev to subscribe to events. remove: ok TEST 139: builtin path_id device '/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda' expecting node/link 'disk/by-path/pci-0000:00:1f.2-scsi-0:0:0:0' add: ok remove: ok 0 errors occured PASS: test/udev-test.pl ./test/rules-test.sh: No python installed, skipping udev rule syntax check PASS: test/rules-test.sh ================== All 2 tests passed ================== Making check in src/docs make[3]: Nothing to be done for `check'. make[1]: Leaving directory `/sources/udev-181'