Fix samehash and lookup_v5 tests

This commit is contained in:
Ivan Baravy 2023-01-09 03:54:00 +00:00
parent 59ac33c787
commit e8f75d1d03
4 changed files with 6 additions and 6 deletions

2
README
View File

@ -115,7 +115,7 @@ Allow reading process_vm_readv syscall.
To create tap devices. To create tap devices.
# setcap cap_net_admin+ep ../umka_os # setcap cap_net_admin+ep umka_os
To load apps at 0 address. To load apps at 0 address.

View File

@ -151,7 +151,7 @@ xfs_lookup_v5.qcow2 () {
local img=$FUNCNAME local img=$FUNCNAME
local img_raw=$(basename $img .qcow2).raw local img_raw=$(basename $img .qcow2).raw
fallocate -l 3GiB $img_raw fallocate -l 5GiB $img_raw
$SGDISK --clear --new=0:0:0 $img_raw > /dev/null $SGDISK --clear --new=0:0:0 $img_raw > /dev/null
sudo losetup -P $LOOP_DEV $img_raw sudo losetup -P $LOOP_DEV $img_raw
local p1="$LOOP_DEV"p1 local p1="$LOOP_DEV"p1

View File

@ -1,7 +1,7 @@
/> umka_init /> umka_init
/> disk_add ../img/xfs_lookup_v5.qcow2 hd0 -c 524288 /> disk_add ../img/xfs_lookup_v5.qcow2 hd0 -c 524288
/hd0: sector_size=512, capacity=6291456 (3 GiB), num_partitions=1 /hd0: sector_size=512, capacity=10485760 (5 GiB), num_partitions=1
/hd0/1: fs=xfs, start=2048 (1 MiB), length=6287360 (3070 MiB) /hd0/1: fs=xfs, start=2048 (1 MiB), length=10481664 (5118 MiB)
/> cd /hd0/1/dir_sf /> cd /hd0/1/dir_sf
dir_sf> stat70 d0000000000/d0000000000 dir_sf> stat70 d0000000000/d0000000000
status = 0 success status = 0 success

View File

@ -1,7 +1,7 @@
/> umka_init /> umka_init
/> disk_add ../img/xfs_samehash_s05k.raw hd0 -c 0 /> disk_add ../img/xfs_samehash_s05k.raw hd0 -c 0
/hd0: sector_size=512, capacity=2099200 (1025 MiB), num_partitions=1 /hd0: sector_size=512, capacity=2097152 (1 GiB), num_partitions=1
/hd0/1: fs=xfs, start=2048 (1 MiB), length=2097152 (1 GiB) /hd0/1: fs=xfs, start=2048 (1 MiB), length=2093056 (1022 MiB)
/> ls70 /hd0/1/dir_sf /> ls70 /hd0/1/dir_sf
status = 6 end_of_file, count = 4 status = 6 end_of_file, count = 4
total = 4 total = 4