summaryrefslogtreecommitdiff
path: root/tests/stty
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-01-29 09:50:49 +0000
committerJim Meyering <jim@meyering.net>2000-01-29 09:50:49 +0000
commit4db622483834d1b69f7bce44f09dd7b0fb5d67c8 (patch)
tree51546c1e7c41deeffb941876d4e550fc8466bd7d /tests/stty
parentba088349be06116c9293d5dc62d5aeb38e655bcb (diff)
downloadcoreutils-4db622483834d1b69f7bce44f09dd7b0fb5d67c8.tar.xz
Set COLUMNS envvar, just to be safe.
Diffstat (limited to 'tests/stty')
-rwxr-xr-xtests/stty/row-col-15
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/stty/row-col-1 b/tests/stty/row-col-1
index c2d772cf4..a8ecb8d80 100755
--- a/tests/stty/row-col-1
+++ b/tests/stty/row-col-1
@@ -6,6 +6,11 @@ if test "$VERBOSE" = yes; then
stty --version
fi
+# Setting this envvar to a very small value used to cause e.g., `stty size'
+# to generate slightly different output on certain systems.
+COLUMNS=80
+export COLUMNS
+
# Make sure there's a tty on stdin.
. $srcdir/input-tty