summaryrefslogtreecommitdiffstats
path: root/lib/tests/test_opts1.t
diff options
context:
space:
mode:
authorJacob Hansen <jhansen@op5.com>2021-05-19 11:13:47 (GMT)
committerJacob Hansen <jhansen@op5.com>2021-05-19 11:36:04 (GMT)
commit0bbcb60f02d6f78561f684adb0294870a3522e4f (patch)
treed9ce1ec175d2b75280a08754a75191ad5d05ef94 /lib/tests/test_opts1.t
parent227369bb3bec2a44ebece952a9085bfb032a7a0e (diff)
downloadmonitoring-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 'lib/tests/test_opts1.t')
0 files changed, 0 insertions, 0 deletions