diff options
Diffstat (limited to 'cli-tests')
| -rw-r--r-- | cli-tests/common.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cli-tests/common.sh b/cli-tests/common.sh index 527eaa4..896d042 100644 --- a/cli-tests/common.sh +++ b/cli-tests/common.sh @@ -164,3 +164,9 @@ _setup_session_keyring() # Clear the test user's keyring. _user_do "keyctl clear @u" } + +# Wraps the 'expect' command to force subprocesses to have 80-column output. +expect() +{ + command expect -c 'set stty_init "cols 80"' -f - +} |