Thread (2 messages) 2 messages, 2 authors, 2017-12-19

Re: [PATCH blktests] block/013: Add test for BLKRRPART ioctl

From: Omar Sandoval <osandov@osandov.com>
Date: 2017-12-19 19:42:32
Also in: fstests

On Tue, Dec 19, 2017 at 11:47:09AM +0100, Johannes Thumshirn wrote:
xiao yang [off-list ref] writes:
quoted
+requires() {
+	_have_program mkfs.ext3
+}
[...]
quoted
+	# Format
+	mkfs.ext3 -F "$TEST_DEV" >> "$FULL" 2>&1
What's the reason to limit the test case to ext3 only? Can you switch it
to the generic 'mkfs' command? IIRC we require 'util-linux' to be
present for blktests but mkfs.ext3 is (at least in SUSE based distros)
in the e2fsprogs package.
I'm fine with only testing one specific filesystem, since we're really
testing generic functionality and not any filesystem code. And according
to the manpage, bare mkfs is deprecated. I'm fine with requiring
e2fsprogs for this test, and xiao yang added the _have_program there for
it.
apart from that:
Reviewed-by: Johannes Thumshirn <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help