summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2005-01-03 21:25:13 +0000
committerJim Meyering <jim@meyering.net>2005-01-03 21:25:13 +0000
commit34027743250f6c9fcbe481921d431d9e675ab8c3 (patch)
tree9fa91505dc29399f31ecfa664ad9dcd09f934f73 /tests
parent8ca6bb6254e64e7d7c88d8a0f15d62e3754db73f (diff)
downloadcoreutils-34027743250f6c9fcbe481921d431d9e675ab8c3.tar.xz
Don't set rows or columns to zero, to avoid
a bug in the TIOCGWINSZ ioctl on at least Solaris5.9 systems. Setting either (or both) to zero would succeed, but subsequent `stty size' would say `no size information for this device' due to the ioctl failing with EINVAL.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/stty/row-col-112
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/stty/row-col-1 b/tests/stty/row-col-1
index edf2db501..7873a6df8 100755
--- a/tests/stty/row-col-1
+++ b/tests/stty/row-col-1
@@ -26,13 +26,13 @@ export LC_ALL
tests='
1 rows_40_columns_80 40_80
-2 rows_0_columns_0 0_0
+2 rows_1_columns_1 1_1
3 rows_40_columns_80 40_80
-4 rows_0 0_80
-5 columns_0 0_0
-6 rows_40 40_0
-7 rows_0 0_0
-8 columns_80 0_80
+4 rows_1 1_80
+5 columns_1 1_1
+6 rows_40 40_1
+7 rows_1 1_1
+8 columns_80 1_80
9 rows_30 30_80
NA LAST NA
'