[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] chroot specify user/group feature
From: |
Andreas Schwab |
Subject: |
Re: [PATCH] chroot specify user/group feature |
Date: |
Wed, 20 May 2009 16:39:03 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.93 (gnu/linux) |
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 ==.
Andreas.
--
Andreas Schwab, address@hidden
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
- Re: [PATCH] chroot specify user/group feature, Jim Meyering, 2009/05/18
- Re: [PATCH] chroot specify user/group feature, Giuseppe Scrivano, 2009/05/18
- Re: [PATCH] chroot specify user/group feature, Jim Meyering, 2009/05/18
- Re: [PATCH] chroot specify user/group feature, Giuseppe Scrivano, 2009/05/20
- Re: [PATCH] chroot specify user/group feature, Jim Meyering, 2009/05/25
- Re: [PATCH] chroot specify user/group feature, Jim Meyering, 2009/05/26
- Re: [PATCH] chroot specify user/group feature, Eric Blake, 2009/05/27
- Re: [PATCH] chroot specify user/group feature, Giuseppe Scrivano, 2009/05/27
- Re: [PATCH] chroot specify user/group feature, Jim Meyering, 2009/05/27
- Re: [PATCH] chroot specify user/group feature, Giuseppe Scrivano, 2009/05/28
- Re: [PATCH] chroot specify user/group feature, Eric Blake, 2009/05/28
- Re: [PATCH] chroot specify user/group feature, Giuseppe Scrivano, 2009/05/28