summaryrefslogtreecommitdiff
path: root/tests/misc/stty-row-col
diff options
context:
space:
mode:
Diffstat (limited to 'tests/misc/stty-row-col')
-rwxr-xr-xtests/misc/stty-row-col10
1 files changed, 2 insertions, 8 deletions
diff --git a/tests/misc/stty-row-col b/tests/misc/stty-row-col
index bb1153a2d..5acb3d0bb 100755
--- a/tests/misc/stty-row-col
+++ b/tests/misc/stty-row-col
@@ -16,14 +16,6 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-
-# This script takes no arguments.
-
-if test "$VERBOSE" = yes; then
- set -x
- 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
@@ -37,6 +29,8 @@ LC_ALL=C
export LC_ALL
. $srcdir/test-lib.sh
+test "$VERBOSE" = yes && stty --version
+
require_controlling_input_terminal_
trap '' TTOU # Ignore SIGTTOU