From 4e23ca47ac2ff81bdc2004be4dad1217b4bec802 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 3 Apr 2011 17:30:49 +0200 Subject: [PATCH] tests: don't ever leave a backgrounded "sleep 10m" process * 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 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/misc/help-version b/tests/misc/help-version index f8339269a0..0482209218 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=$! } -- 2.47.2