summaryrefslogtreecommitdiffstats
path: root/.gitignore (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
| * | tests: move alloc related tests to test-alloc-util.cRonny Chevalier2016-03-031-0/+1
| | |
| * | tests: move escape related tests to test-escape.cRonny Chevalier2016-03-031-0/+1
| | |
| * | tests: move hexdecoct tests to test-hexdecoct.cRonny Chevalier2016-03-031-0/+1
| |/
* | build-sys: ignore Python 2 bytecode filesZbigniew Jędrzejewski-Szmek2016-03-051-0/+1
| | | | | | | | | | We ignored __pycache__ which works for Python 3, but the rule for Python 2 got lost somehow.
* | Rename test-boot-timestamp to test-boot-timestamps and enable by defaultZbigniew Jędrzejewski-Szmek2016-03-051-1/+1
|/ | | | | | | | | The source file name and the binary name were mismatched. Rename binary to match. Make the test exit with TEST_SKIP if the data is missing or we have no permissions. Otherwise, the data will be printed, which should be safe to enable by default.
* test-sizeof: add a helper which prints variable sizes and signednessZbigniew Jędrzejewski-Szmek2016-03-021-0/+1
| | | | This helps to understand misleading gcc warnings about type mismatches.
* test-selinux: add some simple tests which call functions and print the ↵Zbigniew Jędrzejewski-Szmek2016-03-021-0/+1
| | | | results and timings
* clock-util: make clock_is_localtime() testable and add initial testsMartin Pitt2016-02-261-0/+1
| | | | | | | | | Add path argument to clock_is_localtime() and default to "/etc/adjtime" if it's NULL. This makes the function testable. Add test-clock: initial test cases for some scenarios, using a temporary file. This also checks the behaviour with a NULL (i. e. the system's /etc/adjtime) file.
* Remove systemd-bootchartDaniel Mack2016-02-231-1/+0
| | | | | | | This commit rips out systemd-bootchart. It will be given a new home, outside of the systemd repository. The code itself isn't actually specific to systemd and can be used without systemd even, so let's put it somewhere else.
* Merge pull request #2618 from zonque/busproxy-removalLennart Poettering2016-02-151-2/+0
|\ | | | | remove bus-proxyd
| * remove bus-proxydDaniel Mack2016-02-121-2/+0
| | | | | | | | | | | | | | | | | | | | As kdbus won't land in the anticipated way, the bus-proxy is not needed in its current form. It can be resurrected at any time thanks to the history, but for now, let's remove it from the sources. If we'll have a similar tool in the future, it will look quite differently anyway. Note that stdio-bridge is still available. It was restored from a version prior to f252ff17, and refactored to make use of the current APIs.
* | Promote systemd-activate to /usr/bin/systemd-socket-activateZbigniew Jędrzejewski-Szmek2016-02-151-1/+1
| | | | | | | | | | | | | | It has fairly wide functionality now and the interface has been stable for a while. It it a useful testing tool. The name is changed to better indicate what it does.
* | Merge pull request #2603 from poettering/drop-compat-libsZbigniew Jędrzejewski-Szmek2016-02-131-9/+0
|\ \ | | | | | | Some spring cleaning
| * | gitignore: remove stuff long lostLennart Poettering2016-02-131-7/+0
| | | | | | | | | | | | | | | Drop some entries of stuff we long removed from the main git repo, either because it was split out or removed altogether.
| * | util-lib: drop json parserLennart Poettering2016-02-131-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | This was used by the dkr logic, which is gone now, hence remove this too. Should we need it one day again the git history never forgets... Note that this only covers the JSON parser. The JSON generator used by "journalctl -o json" remains, as its much much simpler and requires no infrastructure except printf() and the most basic escaping.
| * | build-sys: drop libsystemd-{id128,daemon,login,journal}.so compat libsLennart Poettering2016-02-131-1/+0
| |/ | | | | | | | | They have long been obsolete, and upstream distros and packages have mostly switched over, let's get rid of it for good.
* / test-dns-packet: add framework to read and dump packetsZbigniew Jędrzejewski-Szmek2016-02-131-0/+1
|/ | | | | | | | | | | | | | | | | | | | | | | | Packets are stored in a simple format: <size> <packet-wire-format> <size> <packet-wire-format> ... Packets for some example domains are dumped, to test rr code for various record types. Currently: A AAAA CAA DNSKEY LOC MX NS NSEC OPENPGPKEY SOA SPF TXT The hashing code is executed, but results are not checked. Also build other tests in src/resolve only with --enable-resolve.
* test-resolve-tables: new "test", useful to print mappingsZbigniew Jędrzejewski-Szmek2016-01-291-0/+1
|
* .gitignore: add test-ask-password-apiSylvain Plantefève2016-01-271-0/+1
|
* nss: block various signals while running NSS lookupsLennart Poettering2016-01-271-0/+1
| | | | | | | Let's make sure our poll() calls don't get interrupted where they shouldn't (SIGALRM, ...), but allow them to be interrupted where they should (SIGINT, ...). Fixes #1965
* resolve: rename "systemd-resolve-host" tool to simply "systemd-resolve"Lennart Poettering2016-01-251-1/+1
| | | | | | | | The tool resolves way more than just hosts, hence give it a more generic name. This should be safe, as the tool is currently undocumented. Before we add documentation for it, let's get the name right. This also moves the C source into src/resolve/ (from src/resolve-host/), since the old name is a misnomer now. Also, since it links directly to many of the C files of resolved it really belongs into resolved's directory anyway.
* .gitignore: add test-dnssec-complexEvgeny Vereshchagin2016-01-211-0/+1
| | | | This is a follow-up for 412577e
* Merge pull request #2115 from dvdhrm/rbtreeTom Gundersen2015-12-081-0/+1
|\ | | | | basic: add RB-Tree implementation
| * basic: add RB-Tree implementationDavid Herrmann2015-12-071-0/+1
| | | | | | | | | | | | This adds an self-standing RB-Tree implementation to src/basic/. This will be needed for NSEC RR lookups, since we need "close lookups", which hashmaps (not even ordered-hashmaps) can give us in reasonable time.
* | tests: add test-rlimit-utilEvgeny Vereshchagin2015-12-071-0/+1
|/
* .gitignore: add test-dnssecEvgeny Vereshchagin2015-12-041-0/+1
| | | | This is a follow-up for 2b442ac87838be7c326
* test-acl-util: add new testZbigniew Jędrzejewski-Szmek2015-11-291-0/+1
| | | | | | For now, only add_acls_for_user is tested. When run under root, it actually sets the acls. When run under non-root, it sets the acls for the user, which does nothing, but at least calls the functions.
* gitignore: only ignore .html files in man/Martin Pitt2015-11-191-1/+0
| | | | | src/journal-remote/browse.html is git-tracked source and should not be ignored. Avoid accidentally ignoring similar ones in the future.
* gitignore: add test-install-rootThomas Hindoe Paaboel Andersen2015-11-151-0/+1
|
* sd-pppoe: dropTom Gundersen2015-11-031-1/+0
| | | | | | | It is really unclear if we want to / have the resources to support this fully, so drop it for now. It can easily be brought back if a killer usecase emerges. Note that this code was never hooked up, so this does not remove any features.
* string-util: rework memory_erase() so that it cannot be optimized awayLennart Poettering2015-11-021-0/+1
| | | | | | | | | | | | | | | | | memory_erase() so far just called memset(), which the compiler might optimize away under certain conditions if it feels there's benefit in it. C11 knows a new memset_s() call that is like memset(), but may not be optimized away. Ideally, we'd just use that call, but glibc currently does not support it. Hence, implement our own simplistic version of it. We use a GCC pragma to turn off optimization for this call, and also use the "volatile" keyword on the pointers to ensure that gcc will use the pointers as-is. According to a variety of internet sources, either one does the trick. However, there are also reports that at least the volatile thing isn't fully correct, hence let's add some snake oil and employ both techniques. https://news.ycombinator.com/item?id=4711346
* test-parse-util: Move parse-util tests into their own test caseFilipe Brandenburger2015-10-281-0/+1
| | | | | | | | | | | | Tests for the functions defined in src/basic/parse-util.c. Reorder them to match the order in which the functions are defined in the source file. Adjusted the list of include files to remove the ones no longer needed in test-util.c. Tested that `make check` still passes as expected. Also checked the number of lines removed from test-util.c matches the expected, as an additional verification that no tests were dropped or duplicated in the move.
* test-extract-word: Move extract-word tests into their own test caseFilipe Brandenburger2015-10-281-0/+1
| | | | | | Tests for the functions defined in src/basic/extract-word.c. Tested that `make check` still passes as expected.
* build-sys: Keep .gitignore sortedFilipe Brandenburger2015-10-281-11/+11
| | | | Let's try to keep it that way! :-)
* util: remove lookup_uid(), replace by uid_to_name()Lennart Poettering2015-10-261-0/+1
| | | | | | | So far we had two pretty much identical calls in user-util.[ch]: lookup_uid() and uid_to_name(). Get rid of the former, in favour of the latter, and while we are at it, rewrite it, to use getpwuid_r() correctly, inside an allocation loop, as POSIX intended.
* sd-icmp6-nd: rename files to sd-ndiscTom Gundersen2015-10-221-1/+1
| | | | | | | | The actual code rename will follow. The reason for the change of name is to make it simpler and more uniform with how we name other libraries (we don't include the underlying protocol). The new name also matches the naming in the kernel (which is particularly relevent here as we expect to let the kernel do some parts of the protocol and we do others).
* test: siphash24 - add regression testTom Gundersen2015-10-051-0/+1
|
* machine-id-commit: merge machine-id-commit functionality into machine-id-setupLennart Poettering2015-09-291-1/+0
| | | | | | | | | | | | | And remove machine-id-commit as separate binary. There's really no point in keeping this separate, as the sources are pretty much identical, and have pretty identical interfaces. Let's unify this in one binary. Given that machine-id-commit was a private binary of systemd (shipped in /usr/lib/) removing the tool is not an API break. While we are at it, improve the documentation of the command substantially.
* build-sys: add new test binaries to .gitignoreFilipe Brandenburger2015-09-221-0/+2
|
* Merge branch 'hostnamectl-dot-v2'Zbigniew Jędrzejewski-Szmek2015-08-061-0/+1
|\ | | | | | | Manual merge of https://github.com/systemd/systemd/pull/751.
| * hostname-util: add relax parameter to hostname_is_validZbigniew Jędrzejewski-Szmek2015-08-061-0/+1
| | | | | | | | | | | | | | | | | | | | Tests are modified to check behaviour with relax and without relax. New tests are added for hostname_cleanup(). Tests are moved a new file (test-hostname-util) because there's now a bunch of them. New parameter is not used anywhere, except in tests, so there should be no observable change.
* | test: add test for static listsDaniel Mack2015-07-311-0/+2
| | | | | | | | Test af-list and arphdr-list.
* | gpt-auto-generator: merge efi-boot-generatorKay Sievers2015-07-291-1/+0
| |
* | terminal: drop unfinished codeDavid Herrmann2015-07-271-7/+0
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This drops the libsystemd-terminal and systemd-consoled code for various reasons: * It's been sitting there unfinished for over a year now and won't get finished any time soon. * Since its initial creation, several parts need significant rework: The input handling should be replaced with the now commonly used libinput, the drm accessors should coordinate the handling of mode-object hotplugging (including split connectors) with other DRM users, and the internal library users should be converted to sd-device and friends. * There is still significant kernel work required before sd-console is really useful. This includes, but is not limited to, simpledrm and drmlog. * The authority daemon is needed before all this code can be used for real. And this will definitely take a lot more time to get done as no-one else is currently working on this, but me. * kdbus maintenance has taken up way more time than I thought and it has much higher priority. I don't see me spending much time on the terminal code in the near future. If anyone intends to hack on this, please feel free to contact me. I'll gladly help you out with any issues. Once kdbus and authorityd are finished (whenever that will be..) I'll definitely pick this up again. But until then, lets reduce compile times and maintenance efforts on this code and drop it for now.
* build: add ./test-bitmap to .gitignoreDavid Herrmann2015-07-161-0/+1
| | | | Make sure to ignore build files of Tom's recent test-bitmap addition.
* sd-bus: add new test for NameAcquired via proxy/dbus-daemonDavid Herrmann2015-07-161-0/+1
| | | | | | This adds test-bus-proxy which should be used to test correct behavior of systemd-bus-proxyd. The first test that was added is to verify we actually receive NameAcquired signals for ourselves on bus-connect.
* udev: Remove accelerometer helperBastien Nocera2015-06-271-1/+0
| | | | It's moved to the iio-sensor-proxy D-Bus service.
* firewall: rename fw-util.[ch] → firewall-util.[ch]Daniel Mack2015-06-151-1/+1
| | | | | The names fw-util.[ch] are too ambiguous, better rename the files to firewall-util.[ch]. Also rename the test accordingly.
* sd-netlink: rename from sd-rtnlTom Gundersen2015-06-131-2/+2
|
* remove gudev and gtk-docKay Sievers2015-06-031-1/+0
| | | | | The library moved to: https://git.gnome.org/browse/libgudev/