HomeClusterLabs Projects

Test: libcrmcommon: Test decimals in crm_get_msec()

Description

Test: libcrmcommon: Test decimals in crm_get_msec()

The current code allows decimal values as input -- even malformed ones
with multiple decimal points. Like it or not, we have to keep it until a
compatibility break.

They're simply truncated at the first decimal point.

Signed-off-by: Reid Wahl <nrwahl@protonmail.com>

Details

Provenance
nrwahl2Authored on Jan 12 2024, 5:47 PM
Parents
rPcc5f5219d2e7: Refactor: fencer, libstonithd: Bounds-check stonith-watchdog-timeout
Branches
Unknown
Tags
Unknown