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/mv/i-3 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/mv/i-3') diff --git a/tests/mv/i-3 b/tests/mv/i-3 index b9cd7d9ed..d1f119c42 100755 --- a/tests/mv/i-3 +++ b/tests/mv/i-3 @@ -2,7 +2,7 @@ # Make sure that `mv file unwritable-file' prompts the user # and that `mv -f file unwritable-file' doesn't. -# Copyright (C) 2001, 2004, 2006-2008 Free Software Foundation, Inc. +# Copyright (C) 2001, 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 @@ -25,6 +25,7 @@ fi . $srcdir/test-lib.sh require_controlling_input_terminal_ skip_if_root_ +trap '' TTIN # Ignore SIGTTIN touch f g h i || framework_failure chmod 0 g i || framework_failure -- cgit v1.2.3-54-g00ecf