summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2004-02-17 16:05:34 +0000
committerJim Meyering <jim@meyering.net>2004-02-17 16:05:34 +0000
commitb6586a0b36645896b53e9df4360edd737239196a (patch)
treec82e3c54c580a5c377133e77484f0fe2c32c82b1 /tests
parent4852e78643393643d552a32af61901c22e554143 (diff)
downloadcoreutils-b6586a0b36645896b53e9df4360edd737239196a.tar.xz
Add id's -u option, so we don't get spurious
failures when there are no user or group names.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/help-version3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/help-version b/tests/help-version
index 4ebaa5b4c..aa8fb73a0 100755
--- a/tests/help-version
+++ b/tests/help-version
@@ -136,6 +136,9 @@ test_args=foo
# no valid entry in /etc/mtab.
df_args=/
+# This is necessary in the unusual event that getpwuid (getuid ()) fails.
+id_args=-u
+
sleep 10m &
kill_args=$!