summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2011-10-06remove 'udevadm trigger --type=failed' and SYSFS, ID, BUS keysKay Sievers
2011-08-05implement path_id, usb_id, input_id as built-in commandKay Sievers
2011-05-31rule-syntax-check.py: use print()Kay Sievers
2011-05-16libudev: device - use DEVMODE from kernel as the default modeKay Sievers
2011-03-23use /run/udev/ if possible and fall back to /dev/.udev/Kay Sievers
2010-12-14udevd: write full database file for (unsupported) renamed device nodesKay Sievers
2010-09-21Add automatic rules syntax checkMartin Pitt
Add test/rule-syntax-check.py, a script for checking the syntax of all udev rules files passed as command line arguments. Add a wrapper test/rules-test.sh which calls rule-syntax-check.py on all udev rules that we ship, but does nothing if Python is not available. Integrate this into make check/distcheck.
2010-05-20fix tests and allow MODE=000Kay Sievers
2010-05-05warn when renaming kernel-provided nodes instead of adding symlinksKay Sievers
2010-04-13remove "ignore_remove" optionKay Sievers
2010-04-13remove "all_partitions" optionKay Sievers
We can not predict the major/minor of non-existing devices: $ grep . /sys/class/block/sd*/dev /sys/class/block/sda1/dev:259:524288 /sys/class/block/sda2/dev:259:262144 /sys/class/block/sda3/dev:259:786432 /sys/class/block/sda4/dev:259:131072 /sys/class/block/sda/dev:259:0 /sys/class/block/sdb/dev:259:655360 /sys/class/block/sdc/dev:259:393216 If this functionality is still needed for some broken hardware, it needs to be solved with a tool not part of the udev package. Because such option is unreliable and unsafe to use.
2010-01-27update testsKay Sievers
2009-11-16udev-test.pl: catch-up with recent changesKay Sievers
2009-09-07test: catch possible bug in GOTO resolvingKay Sievers
2009-08-19change database file namesKay Sievers
With very deeply nested devices, We can not use a single file name to carry an entire DEVPATH. Use <subsystem>:<sysname> as the database filename, which should also simplify the handling of devices moving around, as these values will not change but still be unique. For the name stack we use the <maj>:<min> now as the filename. > On Tue, Aug 18, 2009 at 09:59:56AM -0400, Ric Wheeler wrote: > The first is that udev grumbles during boot about "file name too long" > like the following: > > Aug 17 06:49:58 megadeth udevd-event[20447]: unable to create db file > '/dev/.udev/db/\x2fdevices\x2fpci0000:00\x2f0000:00:04.0\x2f0000:17:00.0\x2f0000:18:0a.0\x2f0000:1f:00.0\x2fhost11\x2fport-11:0\x2fexpander-11:0\x2fport-11:0:0\x2fexpander-11:1\x2fport-11:1:0\x2fexpander-11:2\x2fport-11:2:17\x2fexpander-11:3\x2fport-11:3:1\x2fend_device-11:3:1\x2fbsg\x2fend_device-11:3:1': > File name too long
2009-08-07Fix another relative path for the new working directory.Diego Elio 'Flameeyes' Pettenò
2009-08-07Replace the custom test-run target with the standard make check.Diego Elio 'Flameeyes' Pettenò
A little fix is needed for the udev-test.pl script (to be called with the proper path), but this allows for the test binaries to be only built when running the tests themselves.
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