From: Peng Haitao <penght@cn.fujitsu.com>
To: Garrett Cooper <yanegomi@gmail.com>
Cc: ltp-list@lists.sourceforge.net
Subject: Re: [LTP] [POSIX][PATCH]Fix bug of script implemented tests
Date: Thu, 24 Feb 2011 09:14:39 +0800 [thread overview]
Message-ID: <4D65B0FF.5020709@cn.fujitsu.com> (raw)
In-Reply-To: <AANLkTiktFzFLYD5xvwEpK0FkX52_q31YfdJfX11Qp1X=@mail.gmail.com>
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 <penght@cn.fujitsu.com>
---
.../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
next prev parent reply other threads:[~2011-02-24 1:14 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-23 7:02 [LTP] [POSIX][PATCH]Fix bug of script implemented tests Bian Naimeng
2011-02-23 7:48 ` Garrett Cooper
2011-02-24 1:14 ` Peng Haitao [this message]
2011-02-24 5:27 ` Garrett Cooper
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4D65B0FF.5020709@cn.fujitsu.com \
--to=penght@cn.fujitsu.com \
--cc=ltp-list@lists.sourceforge.net \
--cc=yanegomi@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.