diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2024-02-01 16:03:05 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2024-02-01 16:31:53 -0500 |
commit | f8b22f20147d872aef9fa1037139c39e4dd0e687 (patch) | |
tree | cd8bc5f5c25ff58cd36d4e68bf67679b1c7d6b09 /tests/posix/depth.sh | |
parent | 31bede02d5dbbc8e9e60d3af9fc4a749ad89fa11 (diff) | |
download | bfs-f8b22f20147d872aef9fa1037139c39e4dd0e687.tar.xz |
tests: Use variable redirections to dup std{out,err}
Previously, we hardcoded file descriptors 3 and 4 for duplicating
stdandard output/error respectively. In preparation for keeping
inherited FDs open, switch to using bash's variable redirection feature
to dynamically assign FDs.
This feature is only available from bash 4.1 onwards, so this marks the
end of our support for bash 3. macOS users will need to install a
modern bash version to run our tests.
Diffstat (limited to 'tests/posix/depth.sh')
0 files changed, 0 insertions, 0 deletions