From 1defaa7b00a18118e8bb8d55dc8b4ec69e319796 Mon Sep 17 00:00:00 2001 From: Nicolas Williams Date: Sat, 27 Jun 2015 13:00:41 -0500 Subject: [PATCH] Fix braino in merging the previous commit 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 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/mantest b/tests/mantest index b3740971..46aae405 100755 --- a/tests/mantest +++ b/tests/mantest @@ -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