Add executable shim for tput to ensure consistent size

This commit is contained in:
Ethan P 2020-02-19 21:10:56 -08:00
parent f7200c7086
commit 531dcd6c19
No known key found for this signature in database
GPG Key ID: 6963FD04F6CF35EA
2 changed files with 5 additions and 0 deletions

View File

@ -15,6 +15,7 @@ cd "$HERE"
export TEST_ENV_LIB="${HERE}/lib"
export TEST_ENV_BIN_DIR="${HERE}/src"
export TEST_ENV_BIN_SUFFIX=".sh"
export TEST_ENV_PATH="${HERE}/test/shimexec:${PATH}"
export TEST_DIR="${HERE}/test/suite"
export TEST_PWD="${HERE}/test/data"
export TEST_SHIM_PATH="${HERE}/test/shim"

4
test/shimexec/tput Executable file
View File

@ -0,0 +1,4 @@
case "$1" in
cols) echo 80 ;;
lines) echo 22 ;;
esac