summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtests/misc/help-version3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/misc/help-version b/tests/misc/help-version
index 77d37bb3d..8fa7a0b4a 100755
--- a/tests/misc/help-version
+++ b/tests/misc/help-version
@@ -163,7 +163,8 @@ df_args=/
# This is necessary in the unusual event that getpwuid (getuid ()) fails.
id_args=-u
-sleep 10m &
+# Use env to avoid invoking built-in sleep of Solaris 11's /bin/sh.
+env sleep 10m &
kill_args=$!
link_args="$tmp_in link-target"