History log of /src/usr.bin/env/tests/env_test.sh (Results 1 – 15 of 15)
Revision Date Author Comments
# b697835c 14-Nov-2024 Dag-Erling Smørgrav <des@FreeBSD.org>

Improve reliability of stdout tests.

If the test runner is under heavy load, the command we are testing may
succeed in printing to stdout before the dummy receiver has terminated.
Add a short delay

Improve reliability of stdout tests.

If the test runner is under heavy load, the command we are testing may
succeed in printing to stdout before the dummy receiver has terminated.
Add a short delay to reduce the likelihood of this happening.

MFC after: 1 week
Sponsored by: Klara, Inc.
Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D47572

show more ...


# c2d93a80 08-Oct-2024 Dag-Erling Smørgrav <des@FreeBSD.org>

env: Check the status of stdout.

MFC after: 3 days
Sponsored by: Klara, Inc.
Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D47009


# 6f6166e4 08-Oct-2024 Dag-Erling Smørgrav <des@FreeBSD.org>

env: Add an option to change the directory.

This mirrors the equivalent option in GNU coreutils env, but does not
add support for long options.

MFC after: 3 days
Relnotes: yes
Sponsored by: Klara,

env: Add an option to change the directory.

This mirrors the equivalent option in GNU coreutils env, but does not
add support for long options.

MFC after: 3 days
Relnotes: yes
Sponsored by: Klara, Inc.
Reviewed by: 0mp, bcr
Differential Revision: https://reviews.freebsd.org/D47008

show more ...


# a0dfb066 07-Oct-2024 Dag-Erling Smørgrav <des@FreeBSD.org>

env: Improve documentation.

* The `env` utility's inability to run a command whose name contains an
equal sign is a feature, not a bug, so move that paragraph up from the
BUGS section to the DES

env: Improve documentation.

* The `env` utility's inability to run a command whose name contains an
equal sign is a feature, not a bug, so move that paragraph up from the
BUGS section to the DESCRIPTION section.

* Mention that this can be worked around by prefixing the command name
with `command`, and add an example of this to the EXAMPLE section.

* Add a test case which verifies that `env` does not run a command with
an equal sign in its name even if it exists, and also demonstrates the
workaround.

MFC after: 3 days
Sponsored by: Klara, Inc.
Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D46997

show more ...


# 334af5e4 07-Oct-2024 Dag-Erling Smørgrav <des@FreeBSD.org>

env: Add a handful of test cases.

MFC after: 3 days
Sponsored by: Klara, Inc.
Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D46996


# b697835c 14-Nov-2024 Dag-Erling Smørgrav <des@FreeBSD.org>

Improve reliability of stdout tests.

If the test runner is under heavy load, the command we are testing may
succeed in printing to stdout before the dummy receiver has terminated.
Add a short delay

Improve reliability of stdout tests.

If the test runner is under heavy load, the command we are testing may
succeed in printing to stdout before the dummy receiver has terminated.
Add a short delay to reduce the likelihood of this happening.

MFC after: 1 week
Sponsored by: Klara, Inc.
Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D47572

show more ...


# c2d93a80 08-Oct-2024 Dag-Erling Smørgrav <des@FreeBSD.org>

env: Check the status of stdout.

MFC after: 3 days
Sponsored by: Klara, Inc.
Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D47009


# 6f6166e4 08-Oct-2024 Dag-Erling Smørgrav <des@FreeBSD.org>

env: Add an option to change the directory.

This mirrors the equivalent option in GNU coreutils env, but does not
add support for long options.

MFC after: 3 days
Relnotes: yes
Sponsored by: Klara,

env: Add an option to change the directory.

This mirrors the equivalent option in GNU coreutils env, but does not
add support for long options.

MFC after: 3 days
Relnotes: yes
Sponsored by: Klara, Inc.
Reviewed by: 0mp, bcr
Differential Revision: https://reviews.freebsd.org/D47008

show more ...


# a0dfb066 07-Oct-2024 Dag-Erling Smørgrav <des@FreeBSD.org>

env: Improve documentation.

* The `env` utility's inability to run a command whose name contains an
equal sign is a feature, not a bug, so move that paragraph up from the
BUGS section to the DES

env: Improve documentation.

* The `env` utility's inability to run a command whose name contains an
equal sign is a feature, not a bug, so move that paragraph up from the
BUGS section to the DESCRIPTION section.

* Mention that this can be worked around by prefixing the command name
with `command`, and add an example of this to the EXAMPLE section.

* Add a test case which verifies that `env` does not run a command with
an equal sign in its name even if it exists, and also demonstrates the
workaround.

MFC after: 3 days
Sponsored by: Klara, Inc.
Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D46997

show more ...


# 334af5e4 07-Oct-2024 Dag-Erling Smørgrav <des@FreeBSD.org>

env: Add a handful of test cases.

MFC after: 3 days
Sponsored by: Klara, Inc.
Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D46996


# b697835c 14-Nov-2024 Dag-Erling Smørgrav <des@FreeBSD.org>

Improve reliability of stdout tests.

If the test runner is under heavy load, the command we are testing may
succeed in printing to stdout before the dummy receiver has terminated.
Add a short delay

Improve reliability of stdout tests.

If the test runner is under heavy load, the command we are testing may
succeed in printing to stdout before the dummy receiver has terminated.
Add a short delay to reduce the likelihood of this happening.

MFC after: 1 week
Sponsored by: Klara, Inc.
Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D47572

show more ...


# c2d93a80 08-Oct-2024 Dag-Erling Smørgrav <des@FreeBSD.org>

env: Check the status of stdout.

MFC after: 3 days
Sponsored by: Klara, Inc.
Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D47009


# 6f6166e4 08-Oct-2024 Dag-Erling Smørgrav <des@FreeBSD.org>

env: Add an option to change the directory.

This mirrors the equivalent option in GNU coreutils env, but does not
add support for long options.

MFC after: 3 days
Relnotes: yes
Sponsored by: Klara,

env: Add an option to change the directory.

This mirrors the equivalent option in GNU coreutils env, but does not
add support for long options.

MFC after: 3 days
Relnotes: yes
Sponsored by: Klara, Inc.
Reviewed by: 0mp, bcr
Differential Revision: https://reviews.freebsd.org/D47008

show more ...


# a0dfb066 07-Oct-2024 Dag-Erling Smørgrav <des@FreeBSD.org>

env: Improve documentation.

* The `env` utility's inability to run a command whose name contains an
equal sign is a feature, not a bug, so move that paragraph up from the
BUGS section to the DES

env: Improve documentation.

* The `env` utility's inability to run a command whose name contains an
equal sign is a feature, not a bug, so move that paragraph up from the
BUGS section to the DESCRIPTION section.

* Mention that this can be worked around by prefixing the command name
with `command`, and add an example of this to the EXAMPLE section.

* Add a test case which verifies that `env` does not run a command with
an equal sign in its name even if it exists, and also demonstrates the
workaround.

MFC after: 3 days
Sponsored by: Klara, Inc.
Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D46997

show more ...


# 334af5e4 07-Oct-2024 Dag-Erling Smørgrav <des@FreeBSD.org>

env: Add a handful of test cases.

MFC after: 3 days
Sponsored by: Klara, Inc.
Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D46996