]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Add id's -u option, so we don't get spurious
authorJim Meyering <jim@meyering.net>
Tue, 17 Feb 2004 16:05:34 +0000 (16:05 +0000)
committerJim Meyering <jim@meyering.net>
Tue, 17 Feb 2004 16:05:34 +0000 (16:05 +0000)
failures when there are no user or group names.

tests/help-version

index 4ebaa5b4c5b06f72afd43725eae091d50d3ba1a7..aa8fb73a0c4f1bd07bd9950ec2cf0df147b8a5dc 100755 (executable)
@@ -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=$!