mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs.git
synced 2024-12-01 08:04:28 +08:00
btrfs-progs: tests: mkfs/011: Fix path for rootdir
Documentation folder path is wrong on exported testsutie. Fix this by replace TOP with INTERNAL_BIN. Signed-off-by: An Long <lan@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
4be1b09293
commit
bbb3d8f6f0
@ -10,6 +10,6 @@ check_prereq mkfs.btrfs
|
||||
tmp=$(mktemp -d --tmpdir btrfs-progs-mkfs.rootdirXXXXXXX)
|
||||
# we can't use TEST_DEV, a file is needed
|
||||
img=$(mktemp btrfs-progs-mkfs.rootdirXXXXXXX)
|
||||
run_check "$TOP/mkfs.btrfs" -f --rootdir "$TOP/Documentation/" "$img"
|
||||
run_check "$TOP/mkfs.btrfs" -f --rootdir "$INTERNAL_BIN/Documentation/" "$img"
|
||||
|
||||
rm -rf -- "$img"
|
||||
|
Loading…
Reference in New Issue
Block a user