From cd78f85b0b0eabf09466f5aa689561f23e242f5e Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 21 Feb 2009 11:30:41 +0100 Subject: 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. --- tests/misc/stty-invalid | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/misc/stty-invalid') diff --git a/tests/misc/stty-invalid b/tests/misc/stty-invalid index 47531c533..d9f077779 100755 --- a/tests/misc/stty-invalid +++ b/tests/misc/stty-invalid @@ -1,7 +1,7 @@ #!/bin/sh # Ensure that stty diagnoses invalid inputs, rather than silently misbehaving. -# Copyright (C) 2007-2008 Free Software Foundation, Inc. +# Copyright (C) 2007-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 @@ -23,6 +23,7 @@ fi . $srcdir/test-lib.sh require_controlling_input_terminal_ +trap '' TTOU # Ignore SIGTTOU fail=0 -- cgit v1.2.3-70-g09d2