diff options
Diffstat (limited to 'plugins/tests/check_nt.t')
-rwxr-xr-x | plugins/tests/check_nt.t | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/tests/check_nt.t b/plugins/tests/check_nt.t index d1600c7..223d493 100755 --- a/plugins/tests/check_nt.t +++ b/plugins/tests/check_nt.t | |||
@@ -59,7 +59,7 @@ if ($ARGV[0] && $ARGV[0] eq "-d") { | |||
59 | } | 59 | } |
60 | 60 | ||
61 | if (-x "./check_nt") { | 61 | if (-x "./check_nt") { |
62 | plan tests => 4; | 62 | plan tests => 5; |
63 | } else { | 63 | } else { |
64 | plan skip_all => "No check_nt compiled"; | 64 | plan skip_all => "No check_nt compiled"; |
65 | } | 65 | } |
@@ -75,3 +75,6 @@ $result = NPTest->testCmd( "$command -v USEDDISKSPACE -l d" ); | |||
75 | is( $result->return_code, 3, "USEDDISKSPACE d - invalid"); | 75 | is( $result->return_code, 3, "USEDDISKSPACE d - invalid"); |
76 | is( $result->output, "Free disk space : Invalid drive", "Output right" ); | 76 | is( $result->output, "Free disk space : Invalid drive", "Output right" ); |
77 | 77 | ||
78 | $result = NPTest->testCmd( "./check_nt -v USEDDISKSPACE -l d" ); | ||
79 | is( $result->return_code, 3, "Fail if -H missing"); | ||
80 | |||