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

Metadata

Standard output

Executing command [ mkdir -m 0777 -p /tmp/kyua.xSr3Eb/2892/work/mnt ]
Executing command [ mkdir -m 0777 -p /tmp/kyua.xSr3Eb/2892/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.xSr3Eb/2892/work/inputs/0000000000000000000000000000000000000 ]
Executing command [ makefs -t cd9660 -o allow-max-name /tmp/kyua.xSr3Eb/2892/work/test.img /tmp/kyua.xSr3Eb/2892/work/inputs ]
Id  Refs Name
214    1 cd9660
Executing command [ mdconfig -a -f /tmp/kyua.xSr3Eb/2892/work/test.img ]
Executing command [ mount_cd9660 /dev/md0 /tmp/kyua.xSr3Eb/2892/work/mnt ]
<---- Input spec BEGIN ---->
#	   user: root
#	machine: 
#	   tree: /tmp/kyua.xSr3Eb/2892/work/inputs
#	   date: Tue Oct 13 12:51:33 2020

# .
/set type=file uid=0 gid=0 mode=0644
.               type=dir mode=0777 time=1602596988.809748000
    .f          size=0 time=1602596988.303127000
    0000000000000000000000000000000000000 \
                size=0 time=1602596988.809737000
    0b00000001  size=0 time=1602596988.438438000
    0b00000010  size=0 time=1602596988.457393000
    0b00000011  size=0 time=1602596988.476526000
    0b00000100  size=0 time=1602596988.495809000
    0b00000101  size=0 time=1602596988.514227000
    0b00000110  size=0 time=1602596988.533201000
    0b00000111  size=0 time=1602596988.551814000
    0b00001000  size=0 time=1602596988.570695000
    0b00001001  size=0 time=1602596988.589613000
    0b00001010  size=0 time=1602596988.608306000
    0b00001011  size=0 time=1602596988.627382000
    0b00001100  size=0 time=1602596988.646307000
    0b00001101  size=0 time=1602596988.665368000
    0b00001110  size=0 time=1602596988.684161000
    1.file      size=2 time=1602596988.704052000
    10240.file  size=10241 time=1602596988.764464000
    2048.file   size=2049 time=1602596988.744276000
    512.file    size=513 time=1602596988.724345000
    524288.file size=524289 time=1602596988.784391000
    d           size=0 time=1602596988.264138000
    e           size=0 time=1602596988.264138000
    i           size=1000 time=1602596988.343211000
    klmn        size=0 time=1602596988.362200000
    opqr        size=0 time=1602596988.381305000
    stuv        size=0 time=1602596988.399831000
    wxyz        mode=0755 size=0 time=1602596988.419161000

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


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

# ./a/b
b               type=dir time=1602596988.224647000

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

# ./a/b
..

# ./a
..

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

Standard error

Fail: stdout not empty
--- /dev/null	2020-10-13 13:49:49.046622000 +0000
+++ /tmp/kyua.xSr3Eb/2892/work/check.Kc2KDZ/stdout	2020-10-13 13:49:49.036190000 +0000
@@ -0,0 +1,2 @@
+extra: 000000000000000000000000000000
+./0000000000000000000000000000000000000 missing