Thread (4 messages) 4 messages, 3 authors, 2020-01-28

Re: [PATCH blktests] nvme/018: Ignore message generated by nvme read

From: Daniel Wagner <hidden>
Date: 2020-01-27 17:38:48

On Mon, Jan 27, 2020 at 10:03:47AM -0700, Logan Gunthorpe wrote:
quoted
-	nvme read "/dev/${nvmedev}n1" -s "$sectors" -c 0 -z "$bs" 2>"$FULL" \
+	nvme read "/dev/${nvmedev}n1" -s "$sectors" -c 0 -z "$bs" &>"$FULL" \
 		&& echo "ERROR: Successfully read out of device lba range"
That's an odd message for an error... Error! I succeeded!
I think the idea is that the command should *not* succeed. So 'nvme
read' is expected to fail.

It is a bit confusing. What about something like

"ERROR: lba range read was unexpected successfull"?

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help