4 FS
=${FS:-${objdir}/../appl/fs/fs}
6 (yes |
dd count
=512 bs
=1024 of
=one
2>&4) ||
exit 1
7 (yes |
dd count
=512 bs
=1024 of
=two
2>&4) ||
exit 1
9 ${FS} flush two ||
exit 1
11 # check that utimes, which triggers write_attr() or truncate_file(),
12 # doesn't do bad things
17 ${FS} flush two ||
exit 1
19 # check that write to the beginning of the file doesn't do bad things
20 (yes |
dd count
=1 bs
=1024 of
=two conv
=notrunc
2>&4) ||
exit 1