From: Cyril Hrubis <chrubis@suse.cz>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH v4 2/2] getdtablesize01: Handle ENFILE errno
Date: Mon, 11 Dec 2017 14:18:37 +0100 [thread overview]
Message-ID: <20171211131837.GB10508@rei> (raw)
In-Reply-To: <20171208140738.7985-2-punit.agrawal@arm.com>
Hi!
> @@ -97,6 +98,8 @@ int main(void)
> close(count);
> if (count == (max_val_opfiles - 1))
> tst_resm(TPASS, "%d = %d", count, (max_val_opfiles - 1));
> + else if (fd < 0 && errno == ENFILE)
> + tst_brkm(TBROK, cleanup, "Reached maximum number of open files for the system");
^
Haven't we agreed that this should be TCONF?
No need to resend, I can update it before push.
--
Cyril Hrubis
chrubis@suse.cz
next prev parent reply other threads:[~2017-12-11 13:18 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-08 14:07 [LTP] [PATCH v4 1/2] syscalls/mount03: Copy setuid_test to execute instead of 'TEST FILE' Punit Agrawal
2017-12-08 14:07 ` [LTP] [PATCH v4 2/2] getdtablesize01: Handle ENFILE errno Punit Agrawal
2017-12-11 13:18 ` Cyril Hrubis [this message]
2017-12-20 10:55 ` Punit Agrawal
2017-12-20 11:07 ` Cyril Hrubis
2017-12-11 13:17 ` [LTP] [PATCH v4 1/2] syscalls/mount03: Copy setuid_test to execute instead of 'TEST FILE' 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=20171211131837.GB10508@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