diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2023-10-12 23:47:04 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2023-10-12 23:47:04 -0400 |
commit | 5dbab7e7815800ea6a110519154f05485457b194 (patch) | |
tree | 00245988e3206142f3af057a61295215ecbdb9a7 /tests | |
parent | d40eb87cc00f50a5debb8899eacb7fcf1065badf (diff) | |
download | bfs-5dbab7e7815800ea6a110519154f05485457b194.tar.xz |
tests: Don't crash if unbuffer isn't installed
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/tests.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tests.sh b/tests/tests.sh index 662efd9..f233f74 100755 --- a/tests/tests.sh +++ b/tests/tests.sh @@ -495,7 +495,7 @@ elif command -v expect_unbuffer &>/dev/null; then fi function bfs_pty() { - test -n "$UNBUFFER" || skip + test -n "${UNBUFFER:-}" || skip bfs_verbose "$@" "$UNBUFFER" bash -c 'stty cols 80 rows 24 && "$@"' bash "${BFS[@]}" "$@" |