From: Cyril Hrubis <chrubis@suse.cz>
To: cuibixuan <cuibixuan@huawei.com>
Cc: ltp-list@lists.sourceforge.net
Subject: Re: [LTP] [PATCH v2] syscalls/utimensat01: "chattr" command error
Date: Thu, 2 Apr 2015 10:33:44 +0200 [thread overview]
Message-ID: <20150402083344.GA27984@rei> (raw)
In-Reply-To: <551CB5CD.5030903@huawei.com>
Hi!
> @@ -24,6 +24,7 @@
> export TCID=utimensat01
> export TST_TOTAL=99
> export TST_COUNT=0
> +. test.sh
If you start using test.sh in the testcase, you have to fix the rest of
the tst_resm() followed by exit as well (just change these to tst_brkm
and remove the exit). And also change the exit -1 at the end of the test
to tst_resm TFAIL and call tst_exit at the very end of the test.
Have a look at:
https://github.com/linux-test-project/ltp/wiki/Test-Writing-Guidelines#23-writing-a-testcase-in-shell
And these fixes should ideally be done in a separate patch.
--
Cyril Hrubis
chrubis@suse.cz
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
next prev parent reply other threads:[~2015-04-02 8:33 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-31 3:16 [LTP] [PATCH] syscalls/utimensat01: "chattr" command error cuibixuan
2015-04-01 14:33 ` Cyril Hrubis
[not found] ` <551CB5CD.5030903@huawei.com>
2015-04-02 8:33 ` Cyril Hrubis [this message]
[not found] ` <552D1041.9010103@huawei.com>
2015-04-22 14:04 ` [LTP] [PATCH v4 1/2] syscalls/utimensat01: Use test.sh library for test case Cyril Hrubis
[not found] ` <55399C3A.70800@huawei.com>
2015-04-28 12:39 ` [LTP] [PATCH v5 " Cyril Hrubis
[not found] ` <552D112E.4040104@huawei.com>
2015-04-22 14:06 ` [LTP] [PATCH v4 2/2] syscalls/utimensat01: "chattr" command error Cyril Hrubis
[not found] ` <55399C8E.40608@huawei.com>
2015-04-28 12:39 ` [LTP] [PATCH v5 " Cyril Hrubis
[not found] ` <55402B94.9010407@huawei.com>
2015-05-04 11:35 ` [LTP] [PATCH v6 " Cyril Hrubis
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=20150402083344.GA27984@rei \
--to=chrubis@suse.cz \
--cc=cuibixuan@huawei.com \
--cc=ltp-list@lists.sourceforge.net \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox