summaryrefslogtreecommitdiffstats
path: root/lib/tests/test_utils.c
diff options
context:
space:
mode:
authorBjörn Berg <32747776+MisterMountain@users.noreply.github.com>2023-05-02 09:31:32 +0200
committerGitHub <noreply@github.com>2023-05-02 09:31:32 +0200
commite14f1ad7c35504b97f81b1b33a5533e57c605fc2 (patch)
treea59d292d928c123ad862776f344918035466c817 /lib/tests/test_utils.c
parent3dc677e4f1f990e7b26bc714a02608070379cf85 (diff)
parenta4be133f01a231dc45c98aabed35f96d6f826fd7 (diff)
downloadmonitoring-plugins-e14f1ad.tar.gz
Merge branch 'monitoring-plugins:master' into fix_version_return_code
Diffstat (limited to 'lib/tests/test_utils.c')
-rw-r--r--lib/tests/test_utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tests/test_utils.c b/lib/tests/test_utils.c
index bc00fac1..7b10494c 100644
--- a/lib/tests/test_utils.c
+++ b/lib/tests/test_utils.c
@@ -395,7 +395,7 @@ main (int argc, char **argv)
395 ok( temp_state_data==NULL, "Older data version gives NULL" ); 395 ok( temp_state_data==NULL, "Older data version gives NULL" );
396 temp_state_key->data_version=54; 396 temp_state_key->data_version=54;
397 397
398 temp_state_key->_filename="var/nonexistant"; 398 temp_state_key->_filename="var/nonexistent";
399 temp_state_data = np_state_read(); 399 temp_state_data = np_state_read();
400 ok( temp_state_data==NULL, "Missing file gives NULL" ); 400 ok( temp_state_data==NULL, "Missing file gives NULL" );
401 ok( this_monitoring_plugin->state->state_data==NULL, "No state information" ); 401 ok( this_monitoring_plugin->state->state_data==NULL, "No state information" );