summaryrefslogtreecommitdiffstats
path: root/src/test/test-time-util.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* test: don't go through all time zones if slow tests are disabledFrantisek Sumsal2023-03-281-0/+10
* test-time-util: add test cases to invalidate "show" and "cancel"Mike Yuan2023-03-141-0/+5
* test-time-util: do not fail on DST changeYu Watanabe2023-03-121-7/+30
* test: add more testcases for formatting/parsing timestampYu Watanabe2023-03-121-0/+4
* time-util: make USEC_TIMESTAMP_FORMATTABLE_MAX for 32bit system off by one dayYu Watanabe2023-03-121-2/+2
* test: test parse_timestamp() in various timezoneYu Watanabe2023-03-031-16/+43
* test: clear tzname[] after timezone is changedYu Watanabe2023-03-031-3/+4
* test: use get_timezones() to iterate all known timezonesYu Watanabe2023-03-031-39/+11
* tests: temporarily disable time-util failing testsLuca Boccassi2023-02-271-2/+3
* test: add tests for format_timestamp() and parse_timestamp() with various tim...Yu Watanabe2023-02-241-12/+366
* shared/format-table: optionally print timestamps without "left"Zbigniew Jędrzejewski-Szmek2023-02-221-0/+68
* test-time-util: skip test for TIMESTAMP_DATE if the timestamp is too oldYu Watanabe2023-02-021-4/+6
* time-util: add timestamp output style that shows dates only, no timesLennart Poettering2023-01-201-11/+30
* time-util: if a date is unrepresentable, honour style to generate XXX stringLennart Poettering2023-01-201-2/+2
* time-util: fix overflow condition in usec_sub_signed()Lennart Poettering2022-08-241-0/+16
* time-util: fix buffer-over-runYu Watanabe2022-07-081-0/+5
* various: use CONST_MAX for array allocationZbigniew Jędrzejewski-Szmek2022-06-061-2/+2
* time-util: assume CLOCK_BOOTTIME always existsLennart Poettering2022-03-281-8/+8
* strv: make iterator in STRV_FOREACH() declaread in the loopYu Watanabe2022-03-191-1/+0
* time-util: introduce TIMESTAMP_UNIXFrantisek Sumsal2022-02-211-0/+5
* test: allow to set NULL to intro or outroYu Watanabe2022-02-021-1/+1
* tests: rework test macros to not take code as parametersLennart Poettering2022-02-021-2/+4
* test: Use TEST macroJan Janssen2021-11-251-87/+29
* test-time-util: Properly restore TZ variableJan Janssen2021-11-251-1/+5
* test: use assert_se() instead of assert()Yu Watanabe2021-10-121-1/+1
* tree-wide: FORMAT_TIMESTAMP() or friends must be used as a function argumentYu Watanabe2021-07-151-2/+1
* basic/time-util: add FORMAT_TIMESTAMPZbigniew Jędrzejewski-Szmek2021-07-091-2/+22
* test-time-util: log less verboselyZbigniew Jędrzejewski-Szmek2021-07-011-23/+21
* test-time-util: skip missing timezonesZbigniew Jędrzejewski-Szmek2021-07-011-2/+3
* time-util: add variant of timezone_is_valid() that returns errnoZbigniew Jędrzejewski-Szmek2021-07-011-0/+12
* time-util: don't use plural units indiscriminatelyAnders Wenhaug2021-06-201-0/+75
* tree-wide: unsetenv cannot failZbigniew Jędrzejewski-Szmek2020-11-101-1/+1
* license: LGPL-2.1+ -> LGPL-2.1-or-laterYu Watanabe2020-11-091-1/+1
* basic/time-util: add function to format timestamps with different stylesLuca Boccassi2020-08-191-4/+4
* test: add basic test for clock mappingLennart Poettering2020-07-211-0/+33
* test: Use assert_se() where variables are only checked by assertBenjamin Robin2020-05-061-1/+1
* tree-wide: fix how we set $TZLennart Poettering2019-11-131-1/+1
* test-time-util: use standard intro and print timezones read from fileZbigniew Jędrzejewski-Szmek2019-02-281-3/+6
* time-util: Introduce parse_sec_def_infinityFilipe Brandenburger2019-02-141-0/+21
* Delete duplicate linesTopi Miettinen2019-01-121-2/+0
* time-util: make parse_sec() not accept "12.34.56"Yu Watanabe2018-11-061-2/+26
* core: rework serializationLennart Poettering2018-10-261-9/+10
* time-util: change parse_sec_fix_0() to accept "0s" for infinity too (#10501)Lennart Poettering2018-10-241-1/+1
* test: add tests for detecting overflow in parse_time() and parse_nsec()Yu Watanabe2018-10-231-0/+5
* parse-util: make sure "3.+1s" or "3. 1s" are not considered valid time specif...Filipe Brandenburger2018-07-201-0/+18
* parse-util: make sure "-0.-0s" is not considered a valid time specificationLennart Poettering2018-07-171-0/+6
* tree-wide: remove Lennart's copyright linesLennart Poettering2018-06-141-3/+0
* tree-wide: drop 'This file is part of systemd' blurbLennart Poettering2018-06-141-2/+0
* test-time-util: print names of test functionsZbigniew Jędrzejewski-Szmek2018-06-021-1/+30
* Use const char* for timestamp strings which we don't plan to modifyZbigniew Jędrzejewski-Szmek2018-05-311-11/+8