summaryrefslogtreecommitdiff
path: root/tests/cp
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2006-12-14 19:32:10 +0100
committerJim Meyering <jim@meyering.net>2006-12-14 19:32:10 +0100
commitc97742932ab199bed2067cdddd3b1943f13e0f27 (patch)
treeda8a356b03b31592354529f3d2c802e13e895f1f /tests/cp
parenta6a1e73c0a1185702d33b3694c6fb8d9642340e8 (diff)
downloadcoreutils-c97742932ab199bed2067cdddd3b1943f13e0f27.tar.xz
Don't hang when there's no input tty.
* tests/cp/open-perm-race: Skip this test if there is no controlling input `terminal'.
Diffstat (limited to 'tests/cp')
-rwxr-xr-xtests/cp/open-perm-race1
1 files changed, 1 insertions, 0 deletions
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