summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2024-04-25 15:00:29 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2024-04-25 16:36:12 -0400
commit3185c9979536f91c2f309e3420bcaa5340df443a (patch)
tree315d2bf64fc699f84bc61097abcebb97aa20a4cc
parent93580522d265ddb88ee6c059930746ed41aa854a (diff)
fix bcachefs/subvol.snapshot_reflink
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
-rwxr-xr-xtests/bcachefs/subvol.ktest4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/bcachefs/subvol.ktest b/tests/bcachefs/subvol.ktest
index de9ce7e..a8fa362 100755
--- a/tests/bcachefs/subvol.ktest
+++ b/tests/bcachefs/subvol.ktest
@@ -741,7 +741,7 @@ test_snapshot_reflink()
run_quiet "" bcachefs format -f ${ktest_scratch_dev[0]}
mount -t bcachefs -o noinline_data ${ktest_scratch_dev[0]} /mnt
- cp /usr/bin/cp /mnt/file
+ cp /bin/cp /mnt/file
#echo Test > /mnt/file
bcachefs subvolume snapshot /mnt/snapshot
@@ -749,7 +749,7 @@ test_snapshot_reflink()
rm /mnt/file
cp --reflink=always /mnt/snapshot/file /mnt/file2
- md5sum /mnt/file* /mnt/snapshot/file /usr/bin/cp
+ md5sum /mnt/file* /mnt/snapshot/file /bin/cp
umount /mnt
mount -t bcachefs -o fsck ${ktest_scratch_dev[0]} /mnt