]> granicus.if.org Git - jq/commitdiff
Fix braino in merging the previous commit
authorNicolas Williams <nico@cryptonector.com>
Sat, 27 Jun 2015 18:00:41 +0000 (13:00 -0500)
committerNicolas Williams <nico@cryptonector.com>
Sat, 27 Jun 2015 18:00:41 +0000 (13:00 -0500)
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.

tests/mantest

index b37409710ed7994c447e0ad68069ad20174da8c6..46aae405c5287e94aa7eec1b5e81b1d777a37752 100755 (executable)
@@ -2,4 +2,6 @@
 
 . "${0%/*}/setup"
 
-(cd $JQBASEDIR/docs && rake mantests) | $VALGRIND $Q $JQ -L "$mods" --run-tests
+# 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