Test case: usr.sbin/makefs/makefs_cd9660_tests:o_flag_allow_max_name

Metadata

Standard output

Executing command [ mkdir -m 0777 -p /tmp/kyua.uhEj9X/5547/work/mnt ]
Executing command [ mkdir -m 0777 -p /tmp/kyua.uhEj9X/5547/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 [ touch /tmp/kyua.uhEj9X/5547/work/inputs/0000000000000000000000000000000000000 ]
Executing command [ makefs -t cd9660 -o allow-max-name /tmp/kyua.uhEj9X/5547/work/test.img /tmp/kyua.uhEj9X/5547/work/inputs ]
Id  Refs Name
 39    1 cd9660
Executing command [ mdconfig -a -f /tmp/kyua.uhEj9X/5547/work/test.img ]
Executing command [ mount_cd9660 /dev/md0 /tmp/kyua.uhEj9X/5547/work/mnt ]
<---- Input spec BEGIN ---->
#	   user: root
#	machine: qemu
#	   tree: /tmp/kyua.uhEj9X/5547/work/inputs
#	   date: Tue Dec 25 23:06:38 2018

# .
/set type=file uid=0 gid=0 mode=0644
.               type=dir mode=0777
    .f          size=0
    0000000000000000000000000000000000000 \
                size=0
    0b00000001  size=0
    0b00000010  size=0
    0b00000011  size=0
    0b00000100  size=0
    0b00000101  size=0
    0b00000110  size=0
    0b00000111  size=0
    0b00001000  size=0
    0b00001001  size=0
    0b00001010  size=0
    0b00001011  size=0
    0b00001100  size=0
    0b00001101  size=0
    0b00001110  size=0
    1.file      size=2
    10240.file  size=10241
    2048.file   size=2049
    512.file    size=513
    524288.file size=524289
    d           size=0
    e           size=0
    i           size=1000
    klmn        size=0
    opqr        size=0
    stuv        size=0
    wxyz        mode=0755 size=0

# ./.g
.g              type=dir mode=0755
# ./.g
..


# ./a
/set type=file uid=0 gid=0 mode=0755
a               type=dir

# ./a/b
b               type=dir

# ./a/b/1
1               type=dir
# ./a/b/1
..

# ./a/b
..

# ./a
..

<---- Input spec END ---->
Executing command [ mtree -UW -f input_spec.mtree -p /tmp/kyua.uhEj9X/5547/work/mnt -X excludes.txt ]

Standard error

Fail: stdout not empty
--- /dev/null	2018-12-25 23:06:39.270458000 +0000
+++ /tmp/kyua.uhEj9X/5547/work/check.mpyUvZ/stdout	2018-12-25 23:06:39.212733000 +0000
@@ -0,0 +1,2 @@
+extra: 000000000000000000000000000000
+./0000000000000000000000000000000000000 missing