* [LTP] [PATCH] fallocate03.c: the case should exit when fallocate system call is not implemented
@ 2011-02-14 3:30 Peng Haitao
2011-02-14 3:35 ` Garrett Cooper
0 siblings, 1 reply; 2+ messages in thread
From: Peng Haitao @ 2011-02-14 3:30 UTC (permalink / raw)
To: Garrett Cooper; +Cc: ltp-list
Hi Garrett,
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
---
testcases/kernel/syscalls/fallocate/fallocate03.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/testcases/kernel/syscalls/fallocate/fallocate03.c b/testcases/kernel/syscalls/fallocate/fallocate03.c
index 78bc412..924b189 100644
--- a/testcases/kernel/syscalls/fallocate/fallocate03.c
+++ b/testcases/kernel/syscalls/fallocate/fallocate03.c
@@ -267,9 +267,8 @@ int main(int ac, char **av)
/* check return code */
if (TEST_RETURN != test_data[test_index].error) {
if (TEST_ERRNO == EOPNOTSUPP || TEST_ERRNO == ENOSYS) {
- tst_resm(TCONF,
+ tst_brkm(TCONF, cleanup,
"fallocate system call is not implemented");
- cleanup(); /* calls tst_exit */
}
TEST_ERROR_LOG(TEST_ERRNO);
tst_resm(TFAIL|TTERRNO,
--
1.7.3.1
--
Best Regards,
Peng Haitao
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [LTP] [PATCH] fallocate03.c: the case should exit when fallocate system call is not implemented
2011-02-14 3:30 [LTP] [PATCH] fallocate03.c: the case should exit when fallocate system call is not implemented Peng Haitao
@ 2011-02-14 3:35 ` Garrett Cooper
0 siblings, 0 replies; 2+ messages in thread
From: Garrett Cooper @ 2011-02-14 3:35 UTC (permalink / raw)
To: Peng Haitao; +Cc: ltp-list
On Sun, Feb 13, 2011 at 7:30 PM, Peng Haitao <penght@cn.fujitsu.com> wrote:
> Hi Garrett,
Committed -- thanks.
-Garrett
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-02-14 3:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-14 3:30 [LTP] [PATCH] fallocate03.c: the case should exit when fallocate system call is not implemented Peng Haitao
2011-02-14 3:35 ` Garrett Cooper
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox