mirror of
				https://github.com/stedolan/jq.git
				synced 2024-05-11 05:55:39 +00:00 
			
		
		
		
	There's a mantest that shows how to use `env`. Well, we need to set the env var as expected then, else it will fail.
		
			
				
	
	
		
			8 lines
		
	
	
		
			194 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
		
			194 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
#!/bin/sh
 | 
						|
 | 
						|
. "${0%/*}/setup"
 | 
						|
 | 
						|
# We set PAGER because there's a mantest for `env` that uses it.
 | 
						|
(cd $JQBASEDIR/docs && rake mantests) |
 | 
						|
    env PAGER=less $VALGRIND $Q $JQ -L "$mods" --run-tests
 |