From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cyril Hrubis Date: Wed, 5 Oct 2016 17:38:56 +0200 Subject: [LTP] [PATCH 2/2] writev: remove old tests for partially invalid iovec In-Reply-To: References: Message-ID: <20161005153856.GD23476@rei.lan> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ltp@lists.linux.it Hi! > - /* testcase# 3 */ > + /* TODO: remove this, partially invalid iovec is tested in writev07 */ > {(buf1 + CHUNK * 6), CHUNK}, > {(caddr_t) - 1, CHUNK}, > {(buf1 + CHUNK * 8), CHUNK}, Maybe it would be better to split this into five struct iovec structures to avoid the magic constants in the code. Otherwise it's fine. -- Cyril Hrubis chrubis@suse.cz