Linux Test Project
 help / color / mirror / Atom feed
From: Cyril Hrubis <chrubis@suse.cz>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH v2] open08: rewrite to newlib
Date: Tue, 26 Jun 2018 15:49:31 +0200	[thread overview]
Message-ID: <20180626134929.GA14777@rei> (raw)
In-Reply-To: <CAEemH2fi7AieoSP7kAusuTjR81kab1CFgfiGerVwZyngNDPYLA@mail.gmail.com>

Hi!
> > But we could set it to some special value (NULL) and check all cases against that.
> > If it's NULL, then make a bad_addr.
> 
> Agreed.

Either we do that or make the addr pointer to a pointer in the test
structure and make it to point to a global variable initialized in the
test setup as we do in some tests as well.

-- 
Cyril Hrubis
chrubis@suse.cz

      reply	other threads:[~2018-06-26 13:49 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-14 12:48 [LTP] [PATCH v2] open08: rewrite to newlib Jan Stancek
2018-06-14 13:47 ` Li Wang
2018-06-15  3:04   ` Li Wang
2018-06-15  6:11     ` Jan Stancek
2018-06-15  8:16       ` Li Wang
2018-06-26 13:49         ` Cyril Hrubis [this message]

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=20180626134929.GA14777@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