Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-02-20 | tests: more tests for util.c | Thomas Hindoe Paaboel Andersen | |
tests for: test_parse_pid test_parse_uid test_safe_atolli test_safe_atod | |||
2013-02-18 | test-strv.c: ported test_specifier_printf() to _cleanup_free_ + assert_se + ↵ | Daniel Buch | |
cleanup | |||
2013-02-18 | test-strv.c: added OOM check for current tests | Daniel Buch | |
New OOM check patch: I do assert_se() before variable is used to do correct check. | |||
2013-02-18 | test-strv.c: added strv_split_nulstr() test | Daniel Buch | |
2013-02-18 | tests: add test of memdup_multiply | Thomas Hindoe Paaboel Andersen | |
2013-02-14 | honor SELinux labels, when creating and writing config files | Harald Hoyer | |
Also split out some fileio functions to fileio.c and provide a SELinux aware pendant in fileio-label.c see https://bugzilla.redhat.com/show_bug.cgi?id=881577 | |||
2013-02-13 | test-strv.c: Changed assert() to assert_se() | Daniel Buch | |
test-strv.c: Indent fix | |||
2013-02-13 | test-strv.c: added strv_append test | Daniel Buch | |
2013-02-13 | test-strv.c: added strv_merge_concat test | Daniel Buch | |
2013-02-13 | test-strv.c: added strv_merge test | Daniel Buch | |
2013-02-13 | use streq instead of strcmp | Thomas Hindoe Paaboel Andersen | |
2013-02-13 | test-udev: include missing.h | Aleksander Morgado | |
We need MS_REC and MS_SHARED defined for a proper compilation, so get them from 'missing.h' if not defined already. | |||
2013-02-13 | tests: add test for continuation lines with comments | Zbigniew Jędrzejewski-Szmek | |
2013-02-11 | tests: more tests | Thomas Hindoe Paaboel Andersen | |
tests for: parse_boolean env_name_is_valid Also convert assert to assert_se to make sure they are run even with optimization. (see commit 9b5d6bd909855543cba75a4469bff6f82845cf0d) | |||
2013-02-11 | test-env-replace: better user assert_se() everywhere | Lennart Poettering | |
For test tools it's better to use assert_se() rather than assert(), since the former is not optimized away, even if -DNDEBUG is used. That means the test program now retains its usefulness even if -DNDEBUG is used. This also adds in some OOM checks, to be extra anal... | |||
2013-02-11 | env: considerably beef up environment cleaning logic | Lennart Poettering | |
Now, actually check if the environment variable names and values used are valid, before accepting them. With this in place are at some places more rigid than POSIX, and less rigid at others. For example, this code allows lower-case environment variables (which POSIX suggests not to use), but it will not allow non-UTF8 variable values. All in all this should be a good middle ground of what to allow and what not to allow as environment variables. (This also splits out all environment related calls into env-util.[ch]) | |||
2013-02-10 | tests: add tests of strxcpyx | Thomas Hindoe Paaboel Andersen | |
also fix a bad indentation in test-strbug.c | |||
2013-02-09 | tests: add test of strbuf | Thomas Hindoe Paaboel Andersen | |
2013-02-08 | tests: add more tests | Thomas Hindoe Paaboel Andersen | |
Adds tests of: strv_env_delete strv_env_unset strv_env_set | |||
2013-02-07 | test-env-replace: assert results instead of printing them | Thomas Hindoe Paaboel Andersen | |
Also code cleanup and split into functions in preparation for more tests to come. | |||
2013-02-06 | tests: skip tests if manager cannot be created | Zbigniew Jędrzejewski-Szmek | |
When running without a user session, tests fail. | |||
2013-02-07 | tests: move strv_parse_nulstr to test-strv, and actually test it | Thomas Hindoe Paaboel Andersen | |
The test was originally added with this commit message: "ask-password: supported plymouth cached passwords" | |||
2013-02-07 | strv: add strv_print | Thomas Hindoe Paaboel Andersen | |
Clearer, and spares the temp variable. | |||
2013-02-06 | tests: run manager in session mode | Zbigniew Jędrzejewski-Szmek | |
False positives pop up otherwise. FAIL: test-unit-name (exit: 134) ================================ Failed to open /dev/tty0: Permission denied Failed to create root cgroup hierarchy: Permission denied Assertion 'manager_new(SYSTEMD_SYSTEM, &m) == 0' failed at src/test/test-unit-name.c:125, function test_unit_printf(). Aborting. | |||
2013-02-06 | test: add a few tests and tidy up | Thomas Hindoe Paaboel Andersen | |
adds test of: strv_find strv_find_prefix strv_overlap strv_sort streq_ptr first_word Splits tests of util.c into own file to avoid clutter as we add more. Removed a few prints and uses _cleanup_free_ to make the tests more focused. | |||
2013-01-30 | test-strv.c: test strv_join added | Daniel Buch | |
2013-01-30 | test-strv.c: Split tests into seperate functions | Daniel Buch | |
test-strv.c: Leaves main clean for additional tests | |||
2013-01-29 | tests: add test for unit name printing | Zbigniew Jędrzejewski-Szmek | |
2013-01-29 | tests: compress unit name tests and add more asserts | Zbigniew Jędrzejewski-Szmek | |
2013-01-29 | tests: add test for install_full_printf() | Zbigniew Jędrzejewski-Szmek | |
2013-01-19 | core: if the bootloader supports it, determine firmware and boot loader delay | Lennart Poettering | |
This allows us to print simple performance data of all parts of the boot now: - firmware - boot loader - kernel - initrd - userspace This only works for bootloaders which support passing TSC data via EFI variables. As of now that's only gummiboot. | |||
2013-01-18 | core/cgroup-util: simplify functions and add tests | Zbigniew Jędrzejewski-Szmek | |
2013-01-18 | util: modernization and test for load_env_file | Zbigniew Jędrzejewski-Szmek | |
2013-01-14 | core: add bus API and systemctl commands for altering cgroup parameters ↵ | Lennart Poettering | |
during runtime | |||
2013-01-09 | udev: move string copy functions to shared/ | Kay Sievers | |
2012-12-23 | journalctl: strip TABs and ANSI color sequences from log messages when ↵ | Lennart Poettering | |
displaying them | |||
2012-11-23 | time-util: teach parse_timestamp to parse weekdays | Lennart Poettering | |
2012-11-23 | util: teach parse_timestamp() to parse results of format_timestamp_relative() | Lennart Poettering | |
2012-11-23 | test: extend calendarspec test a bit | Lennart Poettering | |
2012-11-23 | timer: implement calendar time events | Lennart Poettering | |
2012-11-15 | sched: Only setting CPUSchedulingPriority=rr doesn't work | Holger Hans Peter Freyther | |
A service that only sets the scheduling policy to round-robin fails to be started. This is because the cpu_sched_priority is initialized to 0 and is not adjusted when the policy is changed. Clamp the cpu_sched_priority when the scheduler policy is set. Use the current policy to validate the new priority. Change the manual page to state that the given range only applies to the real-time scheduling policies. Add a testcase that verifies this change: $ make test-sched-prio; ./test-sched-prio [test/sched_idle_bad.service:6] CPU scheduling priority is out of range, ignoring: 1 [test/sched_rr_bad.service:7] CPU scheduling priority is out of range, ignoring: 0 [test/sched_rr_bad.service:8] CPU scheduling priority is out of range, ignoring: 100 | |||
2012-11-15 | core: lift restriction on order of - and @ in ExecStart | Zbigniew Jędrzejewski-Szmek | |
2012-11-15 | core: interpret \; token in ExecStart as escaped ; | Oleksii Shevchuk | |
Some commands (like 'find') take a semicolon as separate arg. With current parser implementation there is no way to pass one. Patch adds token \; | |||
2012-11-15 | tests: add tests for config_parse_exec | Zbigniew Jędrzejewski-Szmek | |
2012-11-14 | shared: add API for replacing @FOO@ style variables in strings | Lennart Poettering | |
2012-11-12 | use the same email address everywhere | Kay Sievers | |
2012-10-28 | logind: support for hybrid sleep (i.e. suspend+hibernate at the same time) | Lennart Poettering | |
2012-10-27 | libudev: import hwdb and export lookup interface | Kay Sievers | |
2012-10-11 | journalctl: implement --since= and --until for filtering by time | Lennart Poettering | |
2012-10-08 | udev: fix test | Kay Sievers | |