bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] chroot specify user/group feature


From: Jim Meyering
Subject: Re: [PATCH] chroot specify user/group feature
Date: Wed, 20 May 2009 17:11:02 +0200

Andreas Schwab wrote:
> Jim Meyering <address@hidden> writes:
>> diff --git a/tests/chroot/credentials b/tests/chroot/credentials
>> index f3e7a32..fd87a86 100644
>> --- a/tests/chroot/credentials
>> +++ b/tests/chroot/credentials
>> @@ -29,13 +29,15 @@ require_root_
>>  fail=0
>>
>>  # Verify that root credentials are kept.
>> -test `chroot / whoami` == root || fail=1
>> -test "`groups`" == "`chroot / groups`" || fail=1
>> +test $(chroot / whoami) == root || fail=1
>> +test "$(groups)" == "$(chroot / groups)" || fail=1
>
> This should use = instead of ==.

Yes, indeed.
Thanks!




reply via email to

[Prev in Thread] Current Thread [Next in Thread]