Imported Upstream version 2.0
This commit is contained in:
		
							parent
							
								
									c89ccc3c74
								
							
						
					
					
						commit
						0841b5c7c7
					
				
					 165 changed files with 25440 additions and 4442 deletions
				
			
		| 
						 | 
				
			
			@ -5,7 +5,7 @@
 | 
			
		|||
#
 | 
			
		||||
 | 
			
		||||
use strict;
 | 
			
		||||
use Test::More tests => 15;
 | 
			
		||||
use Test::More tests => 16;
 | 
			
		||||
use NPTest;
 | 
			
		||||
 | 
			
		||||
my $successOutput = '/^FILE_AGE OK: /';
 | 
			
		||||
| 
						 | 
				
			
			@ -57,6 +57,11 @@ $result = NPTest->testCmd(
 | 
			
		|||
	);
 | 
			
		||||
cmp_ok( $result->return_code, '==', 0, "Checking file size" );
 | 
			
		||||
 | 
			
		||||
$result = NPTest->testCmd(
 | 
			
		||||
	"./check_file_age -f /non/existent --ignore-missing"
 | 
			
		||||
	);
 | 
			
		||||
cmp_ok( $result->return_code, '==', 0, "Honours --ignore-missing" );
 | 
			
		||||
 | 
			
		||||
$result = NPTest->testCmd(
 | 
			
		||||
	"./check_file_age -f $temp_file -c 1000 -W 101"
 | 
			
		||||
	);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue