summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2009-02-26 20:25:42 +0100
committerJim Meyering <meyering@redhat.com>2009-02-26 20:25:42 +0100
commit3a914fa76dab3a4ee3dd2683866eeb664f505a00 (patch)
tree5359cc9ff7361858270f2a907896b6cd828eaf4a /tests
parent224a69b56b716f57e3a018af5a9b9379f32da3fc (diff)
downloadcoreutils-3a914fa76dab3a4ee3dd2683866eeb664f505a00.tar.xz
tests: stty-row-col would hang when run in the background
* tests/misc/stty-row-col: Don't hang when run in background at least on Solaris 10 and OpenBSD.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/misc/stty-row-col3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/misc/stty-row-col b/tests/misc/stty-row-col
index 987e0d597..c98ab15e7 100755
--- a/tests/misc/stty-row-col
+++ b/tests/misc/stty-row-col
@@ -1,7 +1,7 @@
#! /bin/sh
# Test "stty" with rows and columns.
-# Copyright (C) 1998-2001, 2003-2008 Free Software Foundation, Inc.
+# Copyright (C) 1998-2001, 2003-2009 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -38,6 +38,7 @@ export LC_ALL
. $srcdir/test-lib.sh
require_controlling_input_terminal_
+trap '' TTOU # Ignore SIGTTOU
# Versions of GNU stty from shellutils-1.9.2c and earlier failed
# tests #2 and #4 when run on SunOS 4.1.3.