public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Cyril Hrubis <chrubis@suse.cz>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH 2/3] syscalls/pwritev01: convert to new test API
Date: Wed, 20 Apr 2016 16:22:57 +0200	[thread overview]
Message-ID: <20160420142257.GA4004@rei> (raw)
In-Reply-To: <1460436789-11969-2-git-send-email-yangx.jy@cn.fujitsu.com>

Hi!
>  	TEST(pwritev(fd, wr_iovec, tc->count, tc->offset));
>  	if (TEST_RETURN < 0) {
> -		tst_resm(TFAIL | TTERRNO, "Pwritev(2) failed");
> +		tst_res(TFAIL | TERRNO, "pwritev() failed");
                                 ^
				 I've changed this back to TTERRNO
				 since we use the TEST() macro here.

And also merged this patch with the next one to avoid failures when the
fallback from pwritev.h is used with the new macro in the old library
and pushed. Thanks.

-- 
Cyril Hrubis
chrubis@suse.cz

  reply	other threads:[~2016-04-20 14:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-12  4:53 [LTP] [PATCH 1/3] syscalls/preadv02.c: add specific error Xiao Yang
2016-04-12  4:53 ` [LTP] [PATCH 2/3] syscalls/pwritev01: convert to new test API Xiao Yang
2016-04-20 14:22   ` Cyril Hrubis [this message]
2016-04-12  4:53 ` [LTP] [PATCH 3/3] syscalls/pwritev02.c: add specific error && " Xiao Yang

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=20160420142257.GA4004@rei \
    --to=chrubis@suse.cz \
    --cc=ltp@lists.linux.it \
    /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