You've already forked bash-ini-parser
							
							
				mirror of
				https://github.com/albfan/bash-ini-parser.git
				synced 2025-11-02 20:33:15 +03:00 
			
		
		
		
	
		
			
				
	
	
		
			17 lines
		
	
	
		
			373 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			373 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
#!/bin/bash
 | 
						|
 | 
						|
test_description="check parse"
 | 
						|
 | 
						|
. setup.sh
 | 
						|
 | 
						|
test_expect_success "Whitespace parse" "
 | 
						|
    export COVERAGE_NAME=whitespace_parser 
 | 
						|
    cp ../.simplecov .
 | 
						|
    $COMMAND cfg_parser $DIR_TEST/whitespace.ini
 | 
						|
    export COVERAGE_NAME=whitespace_writer 
 | 
						|
    $COMMAND cfg_writer > whitespace.out
 | 
						|
    test_cmp whitespace.out $DIR_TEST/whitespace.out.correct
 | 
						|
"
 | 
						|
 | 
						|
test_done
 |