Skip to content

Commit

Permalink
fixup! bcachefs test fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Kent Overstreet <[email protected]>
  • Loading branch information
Kent Overstreet committed Aug 8, 2024
1 parent a21d604 commit 8216b1f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions tests/fs/bcachefs/replication.ktest
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions tests/fs/bcachefs/single_device.ktest
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tests/fs/bcachefs/tier.ktest
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8216b1f

Please sign in to comment.