The source command does not search $PWD, and bash recently fixed itself to follow this behavior for /bin/sh. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
		
			
				
	
	
		
			18 lines
		
	
	
		
			290 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			290 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
 | 
						|
0000005
 | 
						|
" \
 | 
						|
	"" "HELLO"
 | 
						|
 | 
						|
exit $FAILCOUNT
 |