[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
- minor test improvements, Jim Meyering, 2011/04/04
- [PATCH 1/6] tests: minor improvement of sc_tight_scope rule, Jim Meyering, 2011/04/04
- [PATCH 2/6] tests: convert common root-build test failure to a "skip", Jim Meyering, 2011/04/04
- [PATCH 3/6] tests: preserve-gid: remove useless use of "env", Jim Meyering, 2011/04/04
- [PATCH 4/6] tests: preserve-gid: don't chown temporary PATH dir to a nameless UID, Jim Meyering, 2011/04/04
- [PATCH 5/6] tests: don't ever leave a backgrounded "sleep 10m" process,
Jim Meyering <=
- [PATCH 6/6] tests: avoid spurious parallel failure due to temporary disk full, Jim Meyering, 2011/04/04
Re: minor test improvements, Jim Meyering, 2011/04/04