summaryrefslogtreecommitdiff
path: root/test/udev-test.pl
AgeCommit message (Collapse)Author
2016-02-08tests: fix #457Evgeny Vereshchagin
There are some limits on XFS: major_max=511 minor_max=262143 see https://github.com/torvalds/linux/blob/master/fs/xfs/xfs_iops.c if (S_ISCHR(mode) || S_ISBLK(mode)) { if (unlikely(!sysv_valid_dev(rdev) || MAJOR(rdev) & ~0x1ff)) return -EINVAL;
2015-08-30test: udev - Signal that test was skipped when running as non-rootFilipe Brandenburger
It is more accurate to report that the test was skipped rather than succeeded if we did not get to run it because it requires root. Tested by running `make check` and inspecting the log file: $ cat test/udev-test.pl.log Must have root permissions to run properly. SKIP test/udev-test.pl (exit status: 77) The `make check` output also reported: SKIP: test/udev-test.pl
2015-04-03test: udev, valgrind - track origins of uninitiaziled memoryTom Gundersen
2015-03-27test: udev - add gdb supportTom Gundersen
2014-12-11tests: udev - assume /etc/machine-id rather than /etc/hostsTom Gundersen
On todays machines /etc/hosts is not mandatory. /etc/machine-id is though, so let's rely on that instead. This makes the udev tests pass again for me.
2014-12-10test: fix some tests when running inside a containerJan Synacek
2014-09-20test: udev - restrict nemuric uid's to existing onesTom Gundersen
We now verify the existence of uid's before applying them to devicenodes, so change the test accordingly. We assume that both uid/gid 1 and 2 exist on the test system.
2013-04-15Fix spelling errors using 'codespell' toolAnatol Pomozov
2012-11-12use the same email address everywhereKay Sievers
2012-10-08udev: remove SYMLINK "unique" optionKay Sievers
2012-07-15udev: get rid of TEST_PREFIX and use unshare() to fake /sys, /dev, /runKay Sievers
2012-04-16udev: remove configuration options for /dev, /sys, /run directoriesKay Sievers
2012-04-14udev: test - move test/ and src/test/Kay Sievers