diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-06-23 14:13:41 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-06-23 14:14:10 -0400 |
commit | 9d9e5602bc83b7f699afd8f79b98f08b3eeb89a2 (patch) | |
tree | 77e85491e3e39f9d1717f7006eca36770565b147 | |
parent | 4be9446d534aef0d230bf1549b0aa49619d6ff55 (diff) |
tests/bcachefs/replication.force_remove: Don't set both devices ro
Also, check that the filesystem didn't go RO
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
-rwxr-xr-x | tests/bcachefs/replication.ktest | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/bcachefs/replication.ktest b/tests/bcachefs/replication.ktest index f9b5fe7..c6f21c6 100755 --- a/tests/bcachefs/replication.ktest +++ b/tests/bcachefs/replication.ktest @@ -837,10 +837,11 @@ test_force_remove() --name=B \ --direct=0 >/dev/null & bcachefs device evacuate ${ktest_scratch_dev[0]} || true - bcachefs device remove --force --force-metadata ${ktest_scratch_dev[1]} || true - bcachefs device remove --force --force-metadata ${ktest_scratch_dev[1]} || true + bcachefs device remove --force --force-metadata ${ktest_scratch_dev[0]} || true + bcachefs device remove --force --force-metadata ${ktest_scratch_dev[0]} || true kill %1 wait + touch /mnt/foo umount /mnt } |