From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sog-mx-4.v43.ch3.sourceforge.com ([172.29.43.194] helo=mx.sourceforge.net) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1SShFI-0005Rg-IN for ltp-list@lists.sourceforge.net; Fri, 11 May 2012 04:14:24 +0000 Received: from mail-pb0-f47.google.com ([209.85.160.47]) by sog-mx-4.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-MD5:128) (Exim 4.76) id 1SShFH-0008WS-FB for ltp-list@lists.sourceforge.net; Fri, 11 May 2012 04:14:24 +0000 Received: by pbbrq2 with SMTP id rq2so2976392pbb.34 for ; Thu, 10 May 2012 21:14:17 -0700 (PDT) Message-ID: <4FAC91DE.70203@casparzhang.com> Date: Fri, 11 May 2012 12:13:18 +0800 From: Caspar Zhang MIME-Version: 1.0 References: <1336703855-15408-1-git-send-email-penght@cn.fujitsu.com> In-Reply-To: <1336703855-15408-1-git-send-email-penght@cn.fujitsu.com> Subject: Re: [LTP] [PATCH] logrotate01: fix a bug of config file's permission is wrong List-Id: Linux Test Project General Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ltp-list-bounces@lists.sourceforge.net To: Peng Haitao Cc: ltp-list@lists.sourceforge.net On 05/11/2012 10:37 AM, Peng Haitao wrote: > config file's permission should be 644, please refer to: > https://fedorahosted.org/logrotate/changeset/302 > > Signed-off-by: Peng Haitao Reviewed-by: Caspar Zhang > --- > testcases/commands/logrotate/logrotate_tests.sh | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/testcases/commands/logrotate/logrotate_tests.sh b/testcases/commands/logrotate/logrotate_tests.sh > index 827dd5f..55ef0b3 100755 > --- a/testcases/commands/logrotate/logrotate_tests.sh > +++ b/testcases/commands/logrotate/logrotate_tests.sh > @@ -192,6 +192,7 @@ test01() > rm -f $files > /dev/null 2>&1 > done > > + chmod 644 $LTPTMP/tst_logrotate.conf > logrotate -fv $LTPTMP/tst_logrotate.conf > $LTPTMP/tst_logrotate.out 2>&1 \ > || RC=$? > if [ $RC -eq 0 ] ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Ltp-list mailing list Ltp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ltp-list