Skip to content

Commit

Permalink
fix snapshot block device path in 1000-simple.sh
Browse files Browse the repository at this point in the history
The snapshot device path is changed from /dev/veeamblksnap-image0 to
/dev/veeamblksnapimg0.

Fixes: bf92996 ("struct blk_major_name.name has a limit of 16 bytes")

Signed-off-by: Ray Lee <hburaylee@gmail.com>
  • Loading branch information
hburaylee committed Nov 28, 2023
1 parent 2952410 commit 1a9e080
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/1000-simple.sh
Original file line number Diff line number Diff line change
Expand Up @@ -83,15 +83,15 @@ check_files ${MOUNTPOINT_1}
echo "Check snapshots"
IMAGE_1=${TESTDIR}/image0
mkdir -p ${IMAGE_1}
mount /dev/veeamblksnap-image0 ${IMAGE_1}
mount /dev/veeamblksnapimg0 ${IMAGE_1}
check_files ${IMAGE_1}

echo "Write to snapshot"
generate_files ${IMAGE_1} "snapshot" 3

drop_cache
umount /dev/veeamblksnap-image0
mount /dev/veeamblksnap-image0 ${IMAGE_1}
umount /dev/veeamblksnapimg0
mount /dev/veeamblksnapimg0 ${IMAGE_1}

check_files ${IMAGE_1}

Expand Down

0 comments on commit 1a9e080

Please sign in to comment.