diff options
author | Jim Meyering <meyering@redhat.com> | 2009-02-21 11:30:41 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2009-02-21 16:52:39 +0100 |
commit | cd78f85b0b0eabf09466f5aa689561f23e242f5e (patch) | |
tree | b7aa236888019ba8357fc4a98e1e7bcd997103c3 /tests/misc/stty | |
parent | 2061cd8aa64454d689a4de600aa515781cf346c2 (diff) | |
download | coreutils-cd78f85b0b0eabf09466f5aa689561f23e242f5e.tar.xz |
tests: don't let SIGTTOU/TTIN hang a backgrounded "make check"
Running "make check &" would hang due to SIGTTOU and SIGTTIN signals.
* tests/misc/stty: Ignore SIGTTOU.
* tests/misc/stty-invalid: Likewise.
* tests/mv/i-3: Ignore SIGTTIN.
Diffstat (limited to 'tests/misc/stty')
-rwxr-xr-x | tests/misc/stty | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/misc/stty b/tests/misc/stty index c53f6c40a..b607ec08c 100755 --- a/tests/misc/stty +++ b/tests/misc/stty @@ -1,7 +1,7 @@ #! /bin/sh # Make sure stty can parse most of its options. -# Copyright (C) 1998-2004, 2006-2008 Free Software Foundation, Inc. +# Copyright (C) 1998-2004, 2006-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 @@ -24,6 +24,7 @@ fi # Make sure there's a tty on stdin. . $srcdir/test-lib.sh require_controlling_input_terminal_ +trap '' TTOU # Ignore SIGTTOU # The following list of reversible options was generated with # grep -w REV stty.c|sed -n '/^ {"/{s//REV_/;s/".*/=1/;p;}'|fmt |