coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 5/6] tests: don't ever leave a backgrounded "sleep 10m" process


From: Jim Meyering
Subject: [PATCH 5/6] tests: don't ever leave a backgrounded "sleep 10m" process
Date: Mon, 4 Apr 2011 07:13:40 +0200

From: Jim Meyering <address@hidden>

* tests/misc/help-version: Sleep only ~30s, not 10m.
The latter was a problem when somehow that sleep process would
hang around and thereby prevent (for up to 10m) a normal unmount
of the temporary partition in which I'd run the tests.
---
 tests/misc/help-version |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tests/misc/help-version b/tests/misc/help-version
index f833926..0482209 100755
--- a/tests/misc/help-version
+++ b/tests/misc/help-version
@@ -226,7 +226,7 @@ id_setup () { args=-u; }

 # Use env to avoid invoking built-in sleep of Solaris 11's /bin/sh.
 kill_setup () {
-  env sleep 10m &
+  env sleep 31.5 &
   args=$!
 }

-- 
1.7.4.2.662.gcbd0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]