diff options
author | Jacob Hansen <jhansen@op5.com> | 2021-05-19 11:13:47 (GMT) |
---|---|---|
committer | Jacob Hansen <jhansen@op5.com> | 2021-05-19 11:36:04 (GMT) |
commit | 0bbcb60f02d6f78561f684adb0294870a3522e4f (patch) | |
tree | d9ce1ec175d2b75280a08754a75191ad5d05ef94 /gl/m4/printf-posix.m4 | |
parent | 227369bb3bec2a44ebece952a9085bfb032a7a0e (diff) | |
download | monitoring-plugins-0bbcb60f02d6f78561f684adb0294870a3522e4f.tar.gz |
Refactor check_fping
* Set correct amount of tests based on conditionals.
* When running the test as non-root, we would previously check is the
setuid bit is set. This doesn't seem to be needed, so just check if the
binary is executable for the user running the test.
* Use cmp_ok to check if tests succeeds rather than couting.
Signed-off-by: Jacob Hansen <jhansen@op5.com>
Diffstat (limited to 'gl/m4/printf-posix.m4')
0 files changed, 0 insertions, 0 deletions