]> www.infradead.org Git - users/hch/xfstests-dev.git/commit
fstests: per-test dmerror instances
authorDave Chinner <david@fromorbit.com>
Tue, 26 Nov 2024 20:41:49 +0000 (07:41 +1100)
committerZorro Lang <zlang@kernel.org>
Sun, 8 Dec 2024 14:03:04 +0000 (22:03 +0800)
commit88c0291d297cd3805d666048fed949f1ace289d8
treed6a475f69d97c9e7b20d41d842b2bcd410c37eb8
parent603030dee015bace0eed01995595cf5b16b3da6d
fstests: per-test dmerror instances

We can't run two tests that use dmerror at the same time because
the device name is the same. hence they interfere with each other.
Give dmerror devices their own per-test names to avoid this
problem.

Note that we need a hack to pass the test sequence number through
to src/dmerror as used by generic/441 so that it can construct the
dmerror name correctly.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Zorro lang <zlang@redhat.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
common/dmerror
src/dmerror
tests/generic/441