From 8216b1f097f00abaecde92ed6f415d86223de4ce Mon Sep 17 00:00:00 2001 From: Kent Overstreet Date: Thu, 8 Aug 2024 13:05:40 -0400 Subject: [PATCH] fixup! bcachefs test fixes Signed-off-by: Kent Overstreet --- tests/fs/bcachefs/replication.ktest | 4 ++-- tests/fs/bcachefs/single_device.ktest | 4 ++-- tests/fs/bcachefs/tier.ktest | 2 +- 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