Fix samehash and lookup_v5 tests
This commit is contained in:
parent
59ac33c787
commit
e8f75d1d03
2
README
2
README
@ -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.
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user