summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2024-08-08 13:05:40 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2024-08-08 16:09:41 -0400
commit8216b1f097f00abaecde92ed6f415d86223de4ce (patch)
tree271ca4bb52c5feff89a2106509abb26b1736d32c
parenta21d60461c71fdde8c4e251e077b448f84d9e467 (diff)
fixup! bcachefs test fixes
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
-rwxr-xr-xtests/fs/bcachefs/replication.ktest4
-rwxr-xr-xtests/fs/bcachefs/single_device.ktest4
-rwxr-xr-xtests/fs/bcachefs/tier.ktest2
3 files changed, 5 insertions, 5 deletions
diff --git a/tests/fs/bcachefs/replication.ktest b/tests/fs/bcachefs/replication.ktest
index ce3346d..4f1c1c7 100755
--- a/tests/fs/bcachefs/replication.ktest
+++ b/tests/fs/bcachefs/replication.ktest
@@ -794,8 +794,8 @@ test_key_type_error()
bcachefs format -f --replicas=2 ${ktest_scratch_dev[0]} ${ktest_scratch_dev[1]}
mount -t bcachefs ${ktest_scratch_dev[0]}:${ktest_scratch_dev[1]} /mnt
- bcachefs set-fs-option --data_replicas=1 /mnt
- bcachefs set-fs-option --foreground_target=$(basename ${ktest_scratch_dev[1]}) /mnt
+ bcachefs set-file-option --data_replicas=1 /mnt
+ bcachefs set-file-option --foreground_target=$(basename ${ktest_scratch_dev[1]}) /mnt
dd if=/dev/zero of=/mnt/foo bs=64k count=8 oflag=direct
diff --git a/tests/fs/bcachefs/single_device.ktest b/tests/fs/bcachefs/single_device.ktest
index 0f85d05..53ab29d 100755
--- a/tests/fs/bcachefs/single_device.ktest
+++ b/tests/fs/bcachefs/single_device.ktest
@@ -1672,8 +1672,8 @@ test_setattr()
mkdir /mnt/foo
touch /mnt/foo/bar
- bcachefs set-fs-option --compression lz4 /mnt/foo
- bcachefs set-fs-option --foreground_target= /mnt/foo
+ bcachefs set-file-option --compression lz4 /mnt/foo
+ bcachefs set-file-option --foreground_target= /mnt/foo
getfattr -R -d -m - /mnt
umount /mnt
diff --git a/tests/fs/bcachefs/tier.ktest b/tests/fs/bcachefs/tier.ktest
index be38281..7bef9bb 100755
--- a/tests/fs/bcachefs/tier.ktest
+++ b/tests/fs/bcachefs/tier.ktest
@@ -138,7 +138,7 @@ test_setattr()
touch /mnt/foo
touch /mnt/bar
- bcachefs set-fs-optoin --foreground_target $(basename ${ktest_scratch_dev[0]}) /mnt/
+ bcachefs set-fs-option --foreground_target $(basename ${ktest_scratch_dev[0]}) /mnt/
bcachefs set-fs-option --promote_target ssd /mnt/
umount /mnt