Return-Path: Received: from sog-mx-1.v43.ch3.sourceforge.com ([172.29.43.191] helo=mx.sourceforge.net) by sfs-ml-2.v29.ch3.sourceforge.com with esmtp (Exim 4.74) (envelope-from ) id 1PsPnD-0007DW-43 for ltp-list@lists.sourceforge.net; Thu, 24 Feb 2011 01:14:55 +0000 Received: from [222.73.24.84] (helo=song.cn.fujitsu.com) by sog-mx-1.v43.ch3.sourceforge.com with esmtp (Exim 4.74) id 1PsPnB-0005ar-Cr for ltp-list@lists.sourceforge.net; Thu, 24 Feb 2011 01:14:55 +0000 Message-ID: <4D65B0FF.5020709@cn.fujitsu.com> Date: Thu, 24 Feb 2011 09:14:39 +0800 From: Peng Haitao MIME-Version: 1.0 References: <4D64B120.5010004@cn.fujitsu.com> In-Reply-To: Subject: Re: [LTP] [POSIX][PATCH]Fix bug of script implemented tests 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: Garrett Cooper Cc: ltp-list@lists.sourceforge.net Hi Garrett, Garrett Cooper said the following on 2011-2-23 15:48: > $ find [cms]* -name '*.sh' | xargs grep -l buildonly | xargs -J % sed > -i .bk -E -e 's,^[cfs].+[^/]/(.+)\.test,\./\1,g' -e > 's,\-buildonly\.test,,g' % > > I've committed the end result after verifying that git diff's output was sane. > There are four cases, and they have same problem. The following patch can fix the bug. Signed-off-by: Peng Haitao --- .../conformance/interfaces/sigaddset/4-1.sh | 2 +- .../conformance/interfaces/sigaddset/4-2.sh | 2 +- .../conformance/interfaces/sigaddset/4-3.sh | 2 +- .../conformance/interfaces/sigaddset/4-4.sh | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaddset/4-1.sh b/testcases/open_posix_testsuite/conformance/interfaces/sigaddset/4-1.sh index cb29ca9..32dc8a9 100755 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaddset/4-1.sh +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaddset/4-1.sh @@ -9,4 +9,4 @@ # Test various methods of adding invalid signals to sigaddset(). # -conformance/interfaces/sigaddset/4-core.run-test 1 +./4-core 1 diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaddset/4-2.sh b/testcases/open_posix_testsuite/conformance/interfaces/sigaddset/4-2.sh index 5ab480d..708fe1a 100755 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaddset/4-2.sh +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaddset/4-2.sh @@ -10,4 +10,4 @@ # Test various methods of adding invalid signals to sigaddset(). # -conformance/interfaces/sigaddset/4-core.run-test 2 +./4-core 2 diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaddset/4-3.sh b/testcases/open_posix_testsuite/conformance/interfaces/sigaddset/4-3.sh index 644512f..ad4fee1 100755 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaddset/4-3.sh +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaddset/4-3.sh @@ -9,4 +9,4 @@ # Test various methods of adding invalid signals to sigaddset(). # -conformance/interfaces/sigaddset/4-core.run-test 3 +./4-core 3 diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaddset/4-4.sh b/testcases/open_posix_testsuite/conformance/interfaces/sigaddset/4-4.sh index ca8523f..c33d8fb 100755 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaddset/4-4.sh +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaddset/4-4.sh @@ -9,4 +9,4 @@ # Test various methods of adding invalid signals to sigaddset(). # -conformance/interfaces/sigaddset/4-core.run-test 4 +./4-core 4 -- 1.7.1 -- Best Regards, Peng Haitao ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Ltp-list mailing list Ltp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ltp-list