Test case: usr.sbin/makefs/makefs_ffs_tests:autocalculate_image_size

Metadata

Standard output

Executing command [ mkdir -m 0777 -p /tmp/kyua.TrhFmT/1404/work/mnt ]
Executing command [ mkdir -m 0777 -p /tmp/kyua.TrhFmT/1404/work/inputs ]
Executing command [ mkdir -m 0755 -p a/b/1 ]
Executing command [ ln -s a/b c ]
Executing command [ touch d ]
Executing command [ ln d e ]
Executing command [ touch .f ]
Executing command [ mkdir .g ]
Executing command [ dd if=/dev/zero of=i count=1000 bs=1 ]
Executing command [ touch klmn ]
Executing command [ touch opqr ]
Executing command [ touch stuv ]
Executing command [ install -m 0755 /dev/null wxyz ]
Executing command [ touch 0b00000001 ]
Executing command [ touch 0b00000010 ]
Executing command [ touch 0b00000011 ]
Executing command [ touch 0b00000100 ]
Executing command [ touch 0b00000101 ]
Executing command [ touch 0b00000110 ]
Executing command [ touch 0b00000111 ]
Executing command [ touch 0b00001000 ]
Executing command [ touch 0b00001001 ]
Executing command [ touch 0b00001010 ]
Executing command [ touch 0b00001011 ]
Executing command [ touch 0b00001100 ]
Executing command [ touch 0b00001101 ]
Executing command [ touch 0b00001110 ]
Executing command [ dd if=/dev/zero of=1.file bs=1 count=1 oseek=1 conv=sparse ]
Executing command [ dd if=/dev/zero of=512.file bs=1 count=1 oseek=512 conv=sparse ]
Executing command [ dd if=/dev/zero of=2048.file bs=1 count=1 oseek=2048 conv=sparse ]
Executing command [ dd if=/dev/zero of=10240.file bs=1 count=1 oseek=10240 conv=sparse ]
Executing command [ dd if=/dev/zero of=524288.file bs=1 count=1 oseek=524288 conv=sparse ]
Executing command [ mtree -c -k type,mode,gid,uid,size,link,time -p /tmp/kyua.TrhFmT/1404/work/inputs ]
Executing command [ makefs -t ffs /tmp/kyua.TrhFmT/1404/work/test.img /tmp/kyua.TrhFmT/1404/work/mtree.spec ]
/tmp/kyua.TrhFmT/1404/work/md.output could not be opened; has an md(4) device been attached?

Standard error

Fail: incorrect exit status: 1, expected: 0
stdout:
Calculated size of `/tmp/kyua.TrhFmT/1404/work/test.img': 688128 bytes, 33 inodes
Extent size set to 32768
/tmp/kyua.TrhFmT/1404/work/test.img: 0.7MB (1344 sectors) block size 32768, fragment size 4096
	using 1 cylinder groups of 0.66MB, 21 blks, 256 inodes.
super-block backups (for fsck -b #) at:
 64,
Populating `/tmp/kyua.TrhFmT/1404/work/test.img'

stderr:
makefs: Writing inode 22 (524288.file), bytes 491520 + 32768: No space left on device

cat: /tmp/kyua.TrhFmT/1404/work/md.output: No such file or directory