mirror of
https://github.com/systemd/systemd
synced 2025-12-28 11:54:45 +01:00
Compare commits
3 Commits
0a67dd8310
...
0f82a2ab5c
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0f82a2ab5c | ||
|
|
da115b935a | ||
|
|
ebef02dd8f |
@ -80,7 +80,7 @@
|
|||||||
allows the implementation of a service to provide key information dynamically, at the moment when it is
|
allows the implementation of a service to provide key information dynamically, at the moment when it is
|
||||||
needed. For details see below.</para></listitem>
|
needed. For details see below.</para></listitem>
|
||||||
|
|
||||||
<listitem><para>The fourth field, if present, is a comma-delimited list of options. The suppported
|
<listitem><para>The fourth field, if present, is a comma-delimited list of options. The supported
|
||||||
options are listed below.</para></listitem>
|
options are listed below.</para></listitem>
|
||||||
</orderedlist>
|
</orderedlist>
|
||||||
|
|
||||||
|
|||||||
@ -3576,7 +3576,7 @@ foreach tuple : sanitizers
|
|||||||
prev = name
|
prev = name
|
||||||
|
|
||||||
if fuzz_tests
|
if fuzz_tests
|
||||||
test('@0@:@1@:@2@'.format(b, c, sanitizer),
|
test('@0@_@1@_@2@'.format(b, c, sanitizer),
|
||||||
env,
|
env,
|
||||||
env : ['UBSAN_OPTIONS=print_stacktrace=1:print_summary=1:halt_on_error=1'],
|
env : ['UBSAN_OPTIONS=print_stacktrace=1:print_summary=1:halt_on_error=1'],
|
||||||
timeout : 60,
|
timeout : 60,
|
||||||
|
|||||||
@ -667,7 +667,7 @@ static void test_ratelimit(void) {
|
|||||||
log_info("ratelimit_time_handler: called %d times, event source got ratelimited", count);
|
log_info("ratelimit_time_handler: called %d times, event source got ratelimited", count);
|
||||||
assert_se(count == 10);
|
assert_se(count == 10);
|
||||||
|
|
||||||
/* In order to get rid of active rate limit client needs to disable it explicitely */
|
/* In order to get rid of active rate limit client needs to disable it explicitly */
|
||||||
assert_se(sd_event_source_set_ratelimit(s, 0, 0) >= 0);
|
assert_se(sd_event_source_set_ratelimit(s, 0, 0) >= 0);
|
||||||
assert_se(!sd_event_source_is_ratelimited(s));
|
assert_se(!sd_event_source_is_ratelimited(s));
|
||||||
|
|
||||||
|
|||||||
@ -21,10 +21,6 @@
|
|||||||
bool urlify_enabled(void) {
|
bool urlify_enabled(void) {
|
||||||
static int cached_urlify_enabled = -1;
|
static int cached_urlify_enabled = -1;
|
||||||
|
|
||||||
/* Unfortunately 'less' doesn't support links like this yet 😭, hence let's disable this as long as there's a
|
|
||||||
* pager in effect. Let's drop this check as soon as less got fixed a and enough time passed so that it's safe
|
|
||||||
* to assume that a link-enabled 'less' version has hit most installations. */
|
|
||||||
|
|
||||||
if (cached_urlify_enabled < 0) {
|
if (cached_urlify_enabled < 0) {
|
||||||
int val;
|
int val;
|
||||||
|
|
||||||
@ -32,7 +28,7 @@ bool urlify_enabled(void) {
|
|||||||
if (val >= 0)
|
if (val >= 0)
|
||||||
cached_urlify_enabled = val;
|
cached_urlify_enabled = val;
|
||||||
else
|
else
|
||||||
cached_urlify_enabled = colors_enabled() && !pager_have();
|
cached_urlify_enabled = colors_enabled();
|
||||||
}
|
}
|
||||||
|
|
||||||
return cached_urlify_enabled;
|
return cached_urlify_enabled;
|
||||||
|
|||||||
@ -37,7 +37,7 @@ wait_for success_runtime
|
|||||||
wait_for success_stop
|
wait_for success_stop
|
||||||
|
|
||||||
# These ensure that EXTEND_TIMEOUT_USEC will still timeout in the
|
# These ensure that EXTEND_TIMEOUT_USEC will still timeout in the
|
||||||
# approprate stage, after the stage limit, when the EXTEND_TIMEOUT_USEC
|
# appropriate stage, after the stage limit, when the EXTEND_TIMEOUT_USEC
|
||||||
# message isn't sent within the extend timeout interval.
|
# message isn't sent within the extend timeout interval.
|
||||||
|
|
||||||
wait_for fail_start startfail
|
wait_for fail_start startfail
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user