summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2008-09-07 19:16:42 +0200
committerJim Meyering <meyering@redhat.com>2008-09-07 19:16:42 +0200
commit6b22726dd4e51fa7888e384c7d1ee171648c7183 (patch)
tree1194caed81fc0a19e50314a1ed682dc7701ca10a /tests
parent54281e9c6058b13841828d7994a596665d2e628a (diff)
downloadcoreutils-6b22726dd4e51fa7888e384c7d1ee171648c7183.tar.xz
tests: don't fail due to built-in sleep from Solaris 11's /bin/sh
* tests/misc/help-version (id_args): Invoke via env to ensure we run the just-built version of sleep.
Diffstat (limited to 'tests')
-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"