summaryrefslogtreecommitdiffstats
path: root/plugins/t/negate.t
diff options
context:
space:
mode:
authorBjörn Berg <32747776+MisterMountain@users.noreply.github.com>2023-05-02 07:31:32 (GMT)
committerGitHub <noreply@github.com>2023-05-02 07:31:32 (GMT)
commite14f1ad7c35504b97f81b1b33a5533e57c605fc2 (patch)
treea59d292d928c123ad862776f344918035466c817 /plugins/t/negate.t
parent3dc677e4f1f990e7b26bc714a02608070379cf85 (diff)
parenta4be133f01a231dc45c98aabed35f96d6f826fd7 (diff)
downloadmonitoring-plugins-e14f1ad7c35504b97f81b1b33a5533e57c605fc2.tar.gz
Merge branch 'monitoring-plugins:master' into fix_version_return_code
Diffstat (limited to 'plugins/t/negate.t')
-rw-r--r--plugins/t/negate.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/t/negate.t b/plugins/t/negate.t
index d96a109..5ec1c84 100644
--- a/plugins/t/negate.t
+++ b/plugins/t/negate.t
@@ -84,7 +84,7 @@ foreach my $current_state (keys(%state)) {
84 foreach my $new_state (keys(%state)) { 84 foreach my $new_state (keys(%state)) {
85 $res = NPTest->testCmd( "./negate -s --$current_state=$new_state ./check_dummy ".$state{$current_state}." 'Fake $new_state'" ); 85 $res = NPTest->testCmd( "./negate -s --$current_state=$new_state ./check_dummy ".$state{$current_state}." 'Fake $new_state'" );
86 is( $res->return_code, $state{$new_state}, "Got fake $new_state (with substitute)" ); 86 is( $res->return_code, $state{$new_state}, "Got fake $new_state (with substitute)" );
87 is( $res->output, uc($new_state).": Fake $new_state", "Substitued fake $new_state output"); 87 is( $res->output, uc($new_state).": Fake $new_state", "Substituted fake $new_state output");
88 } 88 }
89} 89}
90 90