Skip to content

coreutils env does not export variable #83

@sachintu47

Description

@sachintu47

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.

  1. Removing env variable as in below.
    "PAGER=less $VALGRIND $Q $JQ -L "$mods" --run-tests $JQBASEDIR/tests/man.test".

  2. Using native env binary.
    "/bin/env PAGER=less $VALGRIND $Q $JQ -L "$mods" --run-tests $JQBASEDIR/tests/man.test""

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions