18 lines
		
	
	
		
			288 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			288 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
#!/bin/sh
 | 
						|
# Copyright 2008 by Denys Vlasenko
 | 
						|
# Licensed under GPL v2, see file LICENSE for details.
 | 
						|
 | 
						|
. testing.sh
 | 
						|
 | 
						|
# testing "test name" "options" "expected result" "file input" "stdin"
 | 
						|
 | 
						|
testing "od -b" \
 | 
						|
	"od -b" \
 | 
						|
"\
 | 
						|
0000000 110 105 114 114 117
 | 
						|
0000006
 | 
						|
" \
 | 
						|
	"" "HELLO"
 | 
						|
 | 
						|
exit $FAILCOUNT
 |