summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2009-05-22test: check string substitutions in OWNER and GROUPBenjamin Gilbert
String substitutions in OWNER and GROUP keys were broken in udev 137-142. Explicitly test for this, since such breakage will not manifest in typical rulesets.
2009-05-20use more efficient string copyingKay Sievers
2009-05-19remove format char string truncation syntaxKay Sievers
2009-05-13fix possible endless loop for GOTO to non-existent LABELKay Sievers
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=526365
2009-02-05test: add test for empty and non-existent ATTRKay Sievers
2009-01-30fix NAME="" logicKay Sievers
Reported-By: Soh Kam Yung <sohkamyung@gmail.com>
2008-11-12string index - split nodes and childs to allow and unlimited number of childsKay Sievers
2008-10-26libudev: device - allocate envp array only onceKay Sievers
2008-10-26test: add RUN+="socket: ..." to a test to run monitor codeKay Sievers
2008-10-26fix $attr{[<subsystem>/<sysname>]<attribute>} substitutionKay Sievers
2008-10-25match KEY="A|B" without temporary string copyKay Sievers
2008-10-23replace in-memory rules array with match/action token listKay Sievers
The in-memory rule array of a common desktop distro install took: 1151088 bytes with the token list: 109232 bytes tokens (6827 * 16 bytes), 71302 bytes buffer
2008-10-17test: fix a few unintentially wrongly written rules which cause parse errorsKay Sievers
2008-10-14test: move global ENV{ENV_KEY_TEST}="test" to local ruleKay Sievers
2008-10-14delete simple-build-check.shKay Sievers
2008-09-29test: replace last reference of "/class/*" devpathKay Sievers
2008-09-29test: add missing pci directory because of .gitignore *.7Kay Sievers
2008-09-29test: replace ancient sysfs tree with recent oneKay Sievers
2008-09-29libudev: enumerate - split new() and scan()Kay Sievers
2008-09-16udev-test.pl: set non-zero exitcode if tests failAlan Jenkins
2008-09-08udev-test.pl: set udev_log="err"Kay Sievers
2008-09-03udev-test.pl: remove left-over comment from --valgrind optionKay Sievers
2008-09-01udev-test.pl: add --valgrind optionKay Sievers
2008-07-30use autotoolsKay Sievers
2008-07-18move default rules from /etc/udev/rules.d/ to /lib/udev/rules.d/Kay Sievers
None of these rules is supposed to be changed by users, so move them out of /etc. Custom rules, and automatically generated rules stay in /etc. All rules are still processed in lexical order, regardless which directory they live in.
2008-05-19add substitution in MODE= fieldErik van Konijnenburg
Do substitition processing in MODE field, similar to substitution in OWNER, GROUP etc fields. Add test case for normal and overflow behaviour. Document in manpage.
2008-04-21fstab_import: add program to IMPORT matching fstab entryKay Sievers
DEVPATH=/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda/sda6 SUBSYSTEM=block ... ID_FS_USAGE=filesystem ID_FS_TYPE=ext3 ID_FS_VERSION=1.0 ... FSTAB_NAME=/dev/disk/by-id/scsi-SATA_ST910021AS_3MH0Y3KF-part6 FSTAB_DIR=/home/kay/work FSTAB_TYPE=ext3 FSTAB_OPTS=defaults FSTAB_FREQ=1 FSTAB_PASSNO=1
2008-04-18allow setting of MODE="0000"Kay Sievers
2008-03-21test: remove duplicated EXTRA entryKay Sievers
2008-03-14extend hack to allow TEST=="*/start"Kay Sievers
2008-03-14test: add "subsystem" links to all devicesKay Sievers
2007-11-13remove udevstartKay Sievers
2007-08-16accept relative path for TESTKay Sievers
2007-07-25restore behavior of NAME==Kay Sievers
2007-07-24collect: extra to synchronize actions across eventsHannes Reinecke
2007-07-16allow SYMLINK== matchKay Sievers
2007-06-03add "[$SUBSYSTEM/$KERNEL]<attribute>" lookupKay Sievers
2007-05-21replace_chars: replace % characterKay Sievers
2007-03-28finally remove the directory event-multiplexer crapKay Sievers
2007-03-12delete dasd_id, it moved to s390-toolsKay Sievers
These s390-tools-1.6.0 (applicable for the "October 2005 stream") replace s390-tools-1.5.4. New tools: * tape390_crypt: Tool to control and query crypto settings for 3592 zSeries tape devices. * mon_fsstatd: Daemon that writes filesystem utilization data to the z/VM monitor stream. * dumpconf: Allows to configure the dump device used for system dump in case a kernel panic occurs. * dasdinfo: Display unique DASD ID, either uid or volser. * 59-dasd.rules: udev rules for unique DASD device nodes created in /dev/disk/. http://www.ibm.com/developerworks/linux/linux390/s390-tools-1.6.0.html
2007-02-25add test for an attribute which contains an operator charKay Sievers
2006-12-08rename "udev.c" to "test-udev.c" - it is only for testingKay Sievers
2006-09-05add persistent rules generator for net devices and optical drivesMarco d'Itri
2006-09-05let $attr{symlink} return the last element of the pathKay Sievers
Example for /block/sda: SUBSYSTEMS="scsi", ENV{COMMENT}="$attr{driver}" sets COMMENT=sd SUBSYSTEMS="pci", ENV{COMMENT}="$attr{driver}" sets COMMENT=ata_piix
2006-09-05fix ENV{TEST}="Test: $env{TEST}"Kay Sievers
2006-08-20use new key names in test programsKay Sievers
2006-08-20skip rule, if too may keys of the same type are usedKay Sievers
2006-08-19consistent key naming to match only the event device or include all parent ↵Kay Sievers
devices This scheme is more consistent and makes it obvious if a match happens against the event device only, or the full chain of parent devices. The old key names are now: BUS -> SUBSYSTEMS ID -> KERNELS SYSFS -> ATTRS DRIVER -> DRIVERS Match keys for the event device: KERNEL SUBSYSTEM ATTR DRIVER (in a future release, for now the same as DRIVERS) Match keys for all devices along the parent device chain: KERNELS SUBSYSTEMS ATTRS DRIVERS ID, BUS, SYSFS are no longer mentioned in the man page but still work. DRIVER must be converted to DRIVERS to match the new scheme. For now, an error is logged, if DRIVER is used. In a future release, the DRIVER key behaviour will change.
2006-08-13don't report an error on overlong comment linesKay Sievers
2006-08-05switch ifdef __KLIBC__ to ifndef __GLIBC__Kay Sievers