summaryrefslogtreecommitdiffstats
path: root/test/udev-test.pl (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* tests: don't rely on the underlying fs in test-udev (v2)Evgeny Vereshchagin2016-04-061-11/+11
| | | | | | | | * This reverts commit 646048b40a7b62c4e9bc59024ef6133613cda01b. Let's test really big numbers again * Don't be so brutal: use rmdir instead of rm -rf As suggested https://github.com/systemd/systemd/pull/2966#issuecomment-205751680
* tests: don't rely on underlying fs in udev-test, use tmpfs insteadEvgeny Vereshchagin2016-04-051-0/+9
| | | | Fixes: #457
* udev-test.pl: add --strace optionZbigniew Jędrzejewski-Szmek2016-02-221-0/+7
| | | | | | It's useful when trying to see what the tests are doing. I hardcoded '-efile' as the option to strace, but in the future it might be useful to make this configurable.
* tests: fix #457Evgeny Vereshchagin2016-02-081-2/+2
| | | | | | | | | | | 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;
* test: udev - Signal that test was skipped when running as non-rootFilipe Brandenburger2015-08-311-1/+1
| | | | | | | | | | | | | | | 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
* test: udev, valgrind - track origins of uninitiaziled memoryTom Gundersen2015-04-031-1/+1
|
* test: udev - add gdb supportTom Gundersen2015-03-271-0/+7
|
* tests: udev - assume /etc/machine-id rather than /etc/hostsTom Gundersen2014-12-111-2/+2
| | | | | | 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.
* test: fix some tests when running inside a containerJan Synacek2014-12-101-0/+8
|
* test: udev - restrict nemuric uid's to existing onesTom Gundersen2014-09-201-31/+31
| | | | | 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.
* Fix spelling errors using 'codespell' toolAnatol Pomozov2013-04-151-1/+1
|
* use the same email address everywhereKay Sievers2012-11-121-1/+1
|
* udev: remove SYMLINK "unique" optionKay Sievers2012-10-081-9/+0
|
* udev: get rid of TEST_PREFIX and use unshare() to fake /sys, /dev, /runKay Sievers2012-07-151-1/+1
|
* udev: remove configuration options for /dev, /sys, /run directoriesKay Sievers2012-04-161-50/+29
|
* udev: test - move test/ and src/test/Kay Sievers2012-04-141-0/+1560