mirror of
https://github.com/psankar/simplefs.git
synced 2025-07-30 09:24:12 +02:00
test: read file after truncate it to more smaller size.
Just write less bytes.
This commit is contained in:
parent
d67a2974e5
commit
d976c4f65e
@ -64,6 +64,10 @@ function do_some_operations()
|
|||||||
|
|
||||||
echo "Second level directory" > hello
|
echo "Second level directory" > hello
|
||||||
cat hello
|
cat hello
|
||||||
|
|
||||||
|
cp hello hello_smaller
|
||||||
|
echo "directory" > hello_smaller
|
||||||
|
cat hello_smaller
|
||||||
}
|
}
|
||||||
function do_read_operations()
|
function do_read_operations()
|
||||||
{
|
{
|
||||||
@ -80,6 +84,7 @@ function do_read_operations()
|
|||||||
|
|
||||||
cd dir2
|
cd dir2
|
||||||
cat hello
|
cat hello
|
||||||
|
cat hello_smaller
|
||||||
}
|
}
|
||||||
function cleanup()
|
function cleanup()
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user