When running test script "mantest" for jqport as below.
"env PAGER=less $VALGRIND $Q $JQ -L "$mods" --run-tests $JQBASEDIR/tests/man.test".
PAGER variable was not part of the executable environment.
Following solution worked.
-
Removing env variable as in below.
"PAGER=less $VALGRIND $Q $JQ -L "$mods" --run-tests $JQBASEDIR/tests/man.test".
-
Using native env binary.
"/bin/env PAGER=less $VALGRIND $Q $JQ -L "$mods" --run-tests $JQBASEDIR/tests/man.test""