Debian Codegraph @

tests/kern/t22

raw
1 #!/bin/bash -e
2
3 echo writing 4k file
4 dd status=noxfer bs=4096 if=/dev/zero >>$PATH_MNTDIR/a count=1
5 echo appending 3 bytes
6 echo -n foo >>$PATH_MNTDIR/a
7 echo verifying
8 cmp $PATH_EXPDIR/a $PATH_MNTDIR/a
9 echo "size is `stat -c "%s" $PATH_EXPDIR/a`"
10 hexdump -C $PATH_EXPDIR/a