From c97742932ab199bed2067cdddd3b1943f13e0f27 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 14 Dec 2006 19:32:10 +0100 Subject: Don't hang when there's no input tty. * tests/cp/open-perm-race: Skip this test if there is no controlling input `terminal'. --- ChangeLog | 5 +++++ tests/cp/open-perm-race | 1 + 2 files changed, 6 insertions(+) diff --git a/ChangeLog b/ChangeLog index f3c23cf08..ac9f5a452 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,8 +1,13 @@ 2006-12-14 Jim Meyering + Don't hang when there's no input tty. + * tests/cp/open-perm-race: Skip this test if there is no + controlling input `terminal'. + Test for a hard-to-detect race fix, using gdb. * tests/cp/open-perm-race: New file, to test for the cp --preserve=ownership fix of 2006-12-06. + * tests/cp/Makefile.am (TESTS_ENVIRONMENT): Define abs_top_builddir. (TESTS): Add open-perm-race. diff --git a/tests/cp/open-perm-race b/tests/cp/open-perm-race index 6c734389d..b09776a82 100755 --- a/tests/cp/open-perm-race +++ b/tests/cp/open-perm-race @@ -26,6 +26,7 @@ if test "$VERBOSE" = yes; then cp --version fi +. $srcdir/../input-tty . $srcdir/../envvar-check . $srcdir/../group-names PRIV_CHECK_ARG=require-non-root . $srcdir/../priv-check -- cgit v1.2.3-70-g09d2