summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2013-06-03test/udev-test.pl: fix a spelling errorAnthony G. Basile
2013-06-02licence: remove references to old FSF addressSami Kerola
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=57206 Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2013-01-22Fix test-udev.c to build and work on a uclibc systemAnthony G. Basile
Two issues are addressed: 1) Makefile.am has to provide config.h information on HAVE_UNSHARE to test-udev.c. 2) MS_PRIVATE and MS_REC are defined in <linux/fs.h> which must be directly included on a uclibc system because of different header stackings. Its inclusion makes no difference on a glibc system. Signed-off-by: Anthony G. Basile <blueness@gentoo.org> Signed-off-by: Ian Stakenvicius <axs@gentoo.org>
2012-11-26Replace unused DISTCLEAN_LOCAL_HOOKS and correct path in test/Makefile.amNick Vinson
The DISTCLEAN_LOCAL_HOOKS variable is not used by automake when generating Makefiles. This has been replaced with the clean-local target which does get used. The clean-local target is defined to be dependent on the test-sys-distclean target as recommended in the automake manual. The paths in test-sys-distclean have been corrected to ensure that test/sys is deleted during 'make distcheck'. Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2012-11-24Fix paths: test/udev-test.pl now works under sudo make distcheckAnthony G. Basile
We move the test-udev.c and test-libudev.c from src/test to test. This corrects the a problem with hard coded relative paths finding the test/test/sys directory created by test/udev-test.pl. This commit draws heavily from nvinson patch in https://github.com/gentoo/eudev/pull/20 Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2012-11-20Reintroduce keymaps build and testAnthony G. Basile
This commit reintroduces code to 1) build src/keymap 2) test keymap/Makefile.am that it has all the key maps listed 3) test that all the key names in keymap/* are in <linux/input.h> 4) do a syntax check on rules/*.rules which now includes 95-keymap.rules and 95-keyboard-force-release.rules For #4, the regex expressions in rule-syntax-check.py had to be updated. They do not allow trailing comments via # comment, and I did not include that. A rule in 95-keymap.rules had to have its comment moved from the end to another line. Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2012-11-19test/Makefile.am: fix tests for make distcheckAnthony G. Basile
At several points in the forked code, top_srcdir and top_builddir are mixed up. It is not clear if this is an upstream bug or if this is a result of the initial restructuring of the build system. This commit addresses this issue for tests triggered during make distcheck. Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2012-11-15Second step of revamping the build systemAnthony G. Basile
The original Makefile.am was drawn to the top level. This commit breaks it out into the various directories with SUBDIRS connecting them. This makes each directory easier to maintain.
2012-11-15Isolation of udev code from remaining systemdAnthony G. Basile
This commit is a first attempt to isolate the udev code from the remaining code base. It intentionally does not modify any files but purely delete files which, on a first examination, appear to not be needed. This is a sweeping commit which may easily have missed needed code. Files can be retrieved by doing a checkout from the previous commit: git checkout 2944f347d0 -- <filename>
2012-11-12use the same email address everywhereKay Sievers
2012-10-09udev: fix rule-syntax-check.pyKay Sievers
2012-10-08udev: remove SYMLINK "unique" optionKay Sievers
2012-09-13test: split of cryptsetup into its own testLennart Poettering
2012-09-13man: fix a bunch of typos in docsThomas Hindoe Paaboel Andersen
https://bugs.freedesktop.org/show_bug.cgi?id=54501
2012-07-15udev: get rid of TEST_PREFIX and use unshare() to fake /sys, /dev, /runKay Sievers
2012-06-28nspawn: introduce new --capabilities= flag and make use of it in the nspawn ↵Lennart Poettering
test case
2012-06-28test: reenable nspawn, even if it fails for nowLennart Poettering
2012-05-29test/README.testsuite: add documentation for the testsuiteHarald Hoyer
2012-05-29test/TEST-01-BASIC: add /var on cryptoluks and wait for the journalHarald Hoyer
2012-05-29test/test-functions: add check_qemu() and check_nspawn() functionsHarald Hoyer
2012-05-29test/TEST-01-BASIC: fail test, if qemu failedHarald Hoyer
2012-05-29test/TEST-01-BASIC: make DEBUGTOOLS an environment variableHarald Hoyer
2012-05-29test/test-functions: be more verbose about skipping testsHarald Hoyer
2012-05-24test/TEST-01-BASIC: add missing "; then"Harald Hoyer
2012-05-24test/TEST-01-BASIC: only test systemd-nspawn, if the test system uses systemdHarald Hoyer
2012-05-24test/TEST-01-BASIC: add systemd-nspawn run with the root imageHarald Hoyer
2012-05-24test/TEST-01-BASIC: untabifiedHarald Hoyer
2012-05-24test/TEST-01-BASIC: add a defined rc.localHarald Hoyer
2012-05-24test/TEST-01-BASIC: add /etc/localtime to test imageHarald Hoyer
2012-05-24test: add touch to test machineLennart Poettering
2012-05-24test: check systemctl --failed in test VMLennart Poettering
2012-05-22test: introduce a basic testsuite frameworkHarald Hoyer
$ cd test $ sudo make check will run all tests in the TEST-* subdirectories $ cd test/TEST-01-BASIC $ sudo make clean setup run will run the different stages of the test for debugging purposes
2012-04-16udev: remove configuration options for /dev, /sys, /run directoriesKay Sievers
2012-04-14udev: test - move test/ and src/test/Kay Sievers
2012-04-12test: test tools should still be in the src/ directoryLennart Poettering
2012-04-12move a couple of test-*.c to test/Kay Sievers
2011-12-31test: rename test directoryLennart Poettering