Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rpkg-macros.spec'], chrootPath='/var/lib/mock/rhel+epel-9-x86_64-1676478539.551295/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.me3lkh9k:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.me3lkh9k:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '94d9352c9bb0451bafd54bd88d41a91b', '-D', '/var/lib/mock/rhel+epel-9-x86_64-1676478539.551295/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.me3lkh9k:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rpkg-macros.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1658534400 Wrote: /builddir/build/SRPMS/rpkg-macros-2.0-4.el9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/rpkg-macros.spec'], chrootPath='/var/lib/mock/rhel+epel-9-x86_64-1676478539.551295/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.me3lkh9k:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.me3lkh9k:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'a28481b23ea74d36ae277d1b14b4252f', '-D', '/var/lib/mock/rhel+epel-9-x86_64-1676478539.551295/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.me3lkh9k:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/rpkg-macros.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1658534400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.CpWvxC + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rpkg-util-macros + /usr/bin/gzip -dc /builddir/build/SOURCES/rpkg-util-macros-28034317.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd rpkg-util-macros + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.F8ADLP + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rpkg-macros-2.0-4.el9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rpkg-macros-2.0-4.el9.x86_64 ++ dirname /builddir/build/BUILDROOT/rpkg-macros-2.0-4.el9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rpkg-macros-2.0-4.el9.x86_64 + cd rpkg-util-macros + install -d /builddir/build/BUILDROOT/rpkg-macros-2.0-4.el9.x86_64/usr/lib + install -d /builddir/build/BUILDROOT/rpkg-macros-2.0-4.el9.x86_64/usr/lib/rpkg.macros.d + cp -ar macros.d/all.bash macros.d/git.bash macros.d/helpers macros.d/library /builddir/build/BUILDROOT/rpkg-macros-2.0-4.el9.x86_64/usr/lib/rpkg.macros.d + install -d /builddir/build/BUILDROOT/rpkg-macros-2.0-4.el9.x86_64/usr/bin + install -p -m 755 bin/pack_sources /builddir/build/BUILDROOT/rpkg-macros-2.0-4.el9.x86_64/usr/bin/pack_sources + install -d /builddir/build/BUILDROOT/rpkg-macros-2.0-4.el9.x86_64/usr/share/man/man1 + install -p -m 644 man/rpkg-macros.1 /builddir/build/BUILDROOT/rpkg-macros-2.0-4.el9.x86_64//usr/share/man/man1/ + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 2.0-4.el9 --unique-debug-suffix -2.0-4.el9.x86_64 --unique-debug-src-base rpkg-macros-2.0-4.el9.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 --remove-section .gnu.build.attributes -S debugsourcefiles.list /builddir/build/BUILD/rpkg-util-macros find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/bin/pack_sources from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib/rpkg.macros.d/helpers/git_submodule_refs from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib/rpkg.macros.d/helpers/git_status from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib/rpkg.macros.d/helpers/git_root from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib/rpkg.macros.d/helpers/git_remote_url from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib/rpkg.macros.d/helpers/git_remote from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib/rpkg.macros.d/helpers/git_merged_tag_refs from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib/rpkg.macros.d/helpers/git_head_short from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib/rpkg.macros.d/helpers/git_head from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib/rpkg.macros.d/helpers/git_branch from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib/rpkg.macros.d/helpers/git from /bin/bash to #!/usr/bin/bash Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.7oqwsu + umask 022 + cd /builddir/build/BUILD + cd rpkg-util-macros + PATH=bin/:/builddir/.local/bin:/builddir/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + tests/run ====================== test_bash ====================== hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m Initialized empty Git repository in /tmp/tmp.64mhWajGD4/.git/ > cat /tmp/tmp.64mhWajGD4/input | preproc -C /tmp/tmp.64mhWajGD4 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.64mhWajGD4' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.OLKO5sp3ku/output | log_filter > /tmp/tmp.OLKO5sp3ku/log > diff /tmp/tmp.IveO4ePcys/output /tmp/tmp.OLKO5sp3ku/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.OLKO5sp3ku/log && die; } > diff log /tmp/tmp.OLKO5sp3ku/log || die success. ====================== test_committed ====================== hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m Initialized empty Git repository in /tmp/tmp.Sz0oq5ymf4/.git/ [master (root-commit) aca6453] commit 1 1 file changed, 117 insertions(+) create mode 100644 input [master e0ff2ec] commit 2 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 foo/file [master d175148] commit 3 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 bar/file > cat /tmp/tmp.Sz0oq5ymf4/input | preproc -C /tmp/tmp.Sz0oq5ymf4 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.Sz0oq5ymf4' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.i4SiAguu84/output | log_filter > /tmp/tmp.i4SiAguu84/log > diff /tmp/tmp.7KA1xrRCpr/output /tmp/tmp.i4SiAguu84/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.i4SiAguu84/log && die; } > diff log /tmp/tmp.i4SiAguu84/log || die success. ====================== test_dirty ====================== hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m Initialized empty Git repository in /tmp/tmp.32jliPeLX5/.git/ [master (root-commit) e0aa302] inital_commit 2 files changed, 117 insertions(+) create mode 100644 foo/file create mode 100644 input > cat /tmp/tmp.32jliPeLX5/input | preproc -C /tmp/tmp.32jliPeLX5 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.32jliPeLX5' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.PxQP53GWny/output | log_filter > /tmp/tmp.PxQP53GWny/log > diff /tmp/tmp.TpXvKrc6bO/output /tmp/tmp.PxQP53GWny/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.PxQP53GWny/log && die; } > diff log /tmp/tmp.PxQP53GWny/log || die success. ====================== test_fn_bumped_version ====================== > cat /tmp/tmp.oyv443NPiJ/input | preproc -C /tmp/tmp.oyv443NPiJ -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.oyv443NPiJ' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.V3NlcRimfG/output | log_filter > /tmp/tmp.V3NlcRimfG/log > diff /tmp/tmp.IVmBJ62eoI/output /tmp/tmp.V3NlcRimfG/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.V3NlcRimfG/log && die; } > diff log /tmp/tmp.V3NlcRimfG/log || die success. ====================== test_fn_git_prefix ====================== hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m Initialized empty Git repository in /tmp/tmp.Hq1XHGyW8J/.git/ [master (root-commit) 60b0c66] add subdir with file 2 files changed, 6 insertions(+) create mode 100644 input create mode 100644 subdir/file Cloning into '/tmp/tmp.Hq1XHGyW8J/submodule'... done. [master c007362] add submodule 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 submodule > cat /tmp/tmp.Hq1XHGyW8J/input | preproc -C /tmp/tmp.Hq1XHGyW8J -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.Hq1XHGyW8J' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.3OapgVCTbm/output | log_filter > /tmp/tmp.3OapgVCTbm/log > diff /tmp/tmp.Bg9qIJFudt/output /tmp/tmp.3OapgVCTbm/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.3OapgVCTbm/log && die; } > diff log /tmp/tmp.3OapgVCTbm/log || die success. ====================== test_fn_is_physical_subpath ====================== hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m Initialized empty Git repository in /tmp/tmp.uwHjOwkPGD/.git/ > cat /tmp/tmp.uwHjOwkPGD/input | preproc -C /tmp/tmp.uwHjOwkPGD -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.uwHjOwkPGD' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.c91L7xCC6Y/output | log_filter > /tmp/tmp.c91L7xCC6Y/log > diff /tmp/tmp.FLZrpk31hR/output /tmp/tmp.c91L7xCC6Y/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.c91L7xCC6Y/log && die; } > diff log /tmp/tmp.c91L7xCC6Y/log || die success. ====================== test_fn_is_strict_physical_subpath ====================== hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m Initialized empty Git repository in /tmp/tmp.Kg9KL3qASq/.git/ > cat /tmp/tmp.Kg9KL3qASq/input | preproc -C /tmp/tmp.Kg9KL3qASq -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.Kg9KL3qASq' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.wDuj5HGxAW/output | log_filter > /tmp/tmp.wDuj5HGxAW/log > diff /tmp/tmp.5j9lspQcIx/output /tmp/tmp.wDuj5HGxAW/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.wDuj5HGxAW/log && die; } > diff log /tmp/tmp.wDuj5HGxAW/log || die success. ====================== test_fn_version_dirty_appendix ====================== hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m Initialized empty Git repository in /tmp/tmp.xhueLF7gX6/.git/ [master (root-commit) 3c941d4] hello world 3 files changed, 3 insertions(+) create mode 100644 cookie create mode 100644 foo/cookie create mode 100644 input > cat /tmp/tmp.xhueLF7gX6/input | preproc -C /tmp/tmp.xhueLF7gX6 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.xhueLF7gX6' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.ws1khcCavj/output | log_filter > /tmp/tmp.ws1khcCavj/log > diff /tmp/tmp.e7BWW5lrky/output_clean /tmp/tmp.ws1khcCavj/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.ws1khcCavj/log && die; } > diff log /tmp/tmp.ws1khcCavj/log || die success. > cat /tmp/tmp.xhueLF7gX6/input | preproc -C /tmp/tmp.xhueLF7gX6 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.xhueLF7gX6' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.ws1khcCavj/output | log_filter > /tmp/tmp.ws1khcCavj/log > diff /tmp/tmp.e7BWW5lrky/output_dirty /tmp/tmp.ws1khcCavj/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.ws1khcCavj/log && die; } > diff log /tmp/tmp.ws1khcCavj/log || die success. Updated 1 path from the index > cat /tmp/tmp.xhueLF7gX6/input | preproc -C /tmp/tmp.xhueLF7gX6 -e GIT_DIRTY=1 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.xhueLF7gX6' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.ws1khcCavj/output | log_filter > /tmp/tmp.ws1khcCavj/log > diff /tmp/tmp.e7BWW5lrky/output_dirty_manual /tmp/tmp.ws1khcCavj/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.ws1khcCavj/log && die; } > diff log /tmp/tmp.ws1khcCavj/log || die success. ====================== test_inited ====================== hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m Initialized empty Git repository in /tmp/tmp.kHRxovySLN/.git/ > cat /tmp/tmp.kHRxovySLN/input | preproc -C /tmp/tmp.kHRxovySLN -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.kHRxovySLN' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.G5QDAsduvb/output | log_filter > /tmp/tmp.G5QDAsduvb/log > diff /tmp/tmp.f1puLT8iDZ/output /tmp/tmp.G5QDAsduvb/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.G5QDAsduvb/log && die; } > diff log /tmp/tmp.G5QDAsduvb/log || die success. ====================== test_inited_origin_set ====================== hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m Initialized empty Git repository in /tmp/tmp.fDjySg3HOe/.git/ > cat /tmp/tmp.fDjySg3HOe/input | preproc -C /tmp/tmp.fDjySg3HOe -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.fDjySg3HOe' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.QNcek0RcbY/output | log_filter > /tmp/tmp.QNcek0RcbY/log > diff /tmp/tmp.m8ehdsJOAv/output /tmp/tmp.QNcek0RcbY/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.QNcek0RcbY/log && die; } > diff log /tmp/tmp.QNcek0RcbY/log || die success. ====================== test_sources ====================== hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m Initialized empty Git repository in /tmp/tmp.oCYd9f0qsa/.git/ > cat /tmp/tmp.oCYd9f0qsa/input | preproc -C /tmp/tmp.oCYd9f0qsa -e OUTDIR=/tmp/tmp.smx2UI3w1D -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.oCYd9f0qsa' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.smx2UI3w1D/output | log_filter > /tmp/tmp.smx2UI3w1D/log > diff /tmp/tmp.1Q2Abw2kBA/output /tmp/tmp.smx2UI3w1D/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.smx2UI3w1D/log && die; } > diff log /tmp/tmp.smx2UI3w1D/log || die > custom_test > tar -C /tmp/tmp.smx2UI3w1D -xf /tmp/tmp.smx2UI3w1D/foo.tar.gz || die > diff /tmp/tmp.smx2UI3w1D/foo/cookie /tmp/tmp.oCYd9f0qsa/cookie || die > ls /tmp/tmp.smx2UI3w1D/foo/cookie_ignored 2>/dev/null && die > ls /tmp/tmp.smx2UI3w1D/foo/cookie_unadded 2>/dev/null && die success. ====================== test_sources_committed ====================== hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m Initialized empty Git repository in /tmp/tmp.m4i9ZxsKqO/.git/ [master (root-commit) c5c37b1] commit 1 2 files changed, 3 insertions(+) create mode 100644 cookie create mode 100644 input > cat /tmp/tmp.m4i9ZxsKqO/input | preproc -C /tmp/tmp.m4i9ZxsKqO -e OUTDIR=/tmp/tmp.un7UVbQvzM -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.m4i9ZxsKqO' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.un7UVbQvzM/output | log_filter > /tmp/tmp.un7UVbQvzM/log > diff /tmp/tmp.Rfu5f3VLkR/output /tmp/tmp.un7UVbQvzM/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.un7UVbQvzM/log && die; } > diff log /tmp/tmp.un7UVbQvzM/log || die > custom_test > tar -C /tmp/tmp.un7UVbQvzM -xf /tmp/tmp.un7UVbQvzM/foo.tar.gz || die > diff /tmp/tmp.un7UVbQvzM/foo/cookie /tmp/tmp.m4i9ZxsKqO/cookie || die > [ 'c5c37b1ac4f97700ebaacb6b8b8795e29f557552' = 'c5c37b1ac4f97700ebaacb6b8b8795e29f557552' ] || die > tar -C /tmp/tmp.un7UVbQvzM -xf /tmp/tmp.un7UVbQvzM/bar.tar.gz || die > diff /tmp/tmp.un7UVbQvzM/bar/cookie /tmp/tmp.m4i9ZxsKqO/cookie || die > [ 'c5c37b1ac4f97700ebaacb6b8b8795e29f557552' = 'c5c37b1ac4f97700ebaacb6b8b8795e29f557552' ] || die success. > cat /tmp/tmp.m4i9ZxsKqO/input | preproc -C /tmp/tmp.m4i9ZxsKqO -e OUTDIR=/tmp/tmp.un7UVbQvzM -e GIT_STATUS=somestatus -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.m4i9ZxsKqO' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.un7UVbQvzM/output | log_filter > /tmp/tmp.un7UVbQvzM/log > test_nonempty_git_status > tar -C /tmp/tmp.un7UVbQvzM -xf /tmp/tmp.un7UVbQvzM/foo.tar.gz || die > diff /tmp/tmp.un7UVbQvzM/foo/cookie /tmp/tmp.m4i9ZxsKqO/cookie || die > [ 'c5c37b1ac4f97700ebaacb6b8b8795e29f557552' = '' ] && die > tar -C /tmp/tmp.un7UVbQvzM -xf /tmp/tmp.un7UVbQvzM/bar.tar.gz || die > diff /tmp/tmp.un7UVbQvzM/bar/cookie /tmp/tmp.m4i9ZxsKqO/cookie || die > [ 'c5c37b1ac4f97700ebaacb6b8b8795e29f557552' = 'c5c37b1ac4f97700ebaacb6b8b8795e29f557552' ] || die success. > cat /tmp/tmp.m4i9ZxsKqO/input | preproc -C /tmp/tmp.m4i9ZxsKqO -e OUTDIR=/tmp/tmp.un7UVbQvzM -e GIT_HEAD=somehead -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.m4i9ZxsKqO' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.un7UVbQvzM/output | log_filter > /tmp/tmp.un7UVbQvzM/log > test_invalid_git_head > [ -f '/tmp/tmp.un7UVbQvzM/foo.tar.gz' ] && die > [ -f '/tmp/tmp.un7UVbQvzM/bar.tar.gz' ] && die success. > cat /tmp/tmp.m4i9ZxsKqO/input | preproc -C /tmp/tmp.m4i9ZxsKqO -e OUTDIR=/tmp/tmp.un7UVbQvzM -e GIT_HEAD= -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.m4i9ZxsKqO' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.un7UVbQvzM/output | log_filter > /tmp/tmp.un7UVbQvzM/log > test_empty_git_head > tar -C /tmp/tmp.un7UVbQvzM -xf /tmp/tmp.un7UVbQvzM/foo.tar.gz || die > diff /tmp/tmp.un7UVbQvzM/foo/cookie /tmp/tmp.m4i9ZxsKqO/cookie || die > [ 'c5c37b1ac4f97700ebaacb6b8b8795e29f557552' = '' ] && die > [ -f '/tmp/tmp.un7UVbQvzM/bar.tar.gz' ] && die success. ====================== test_sources_committed_dirty ====================== hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m Initialized empty Git repository in /tmp/tmp.syspInD7XE/.git/ [master (root-commit) 4033b08] commit 1 2 files changed, 3 insertions(+) create mode 100644 cookie create mode 100644 input > cat /tmp/tmp.syspInD7XE/input | preproc -C /tmp/tmp.syspInD7XE -e OUTDIR=/tmp/tmp.0dtrarbylX -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.syspInD7XE' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.0dtrarbylX/output | log_filter > /tmp/tmp.0dtrarbylX/log > diff /tmp/tmp.mtmQMKa22H/output /tmp/tmp.0dtrarbylX/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.0dtrarbylX/log && die; } > diff log /tmp/tmp.0dtrarbylX/log || die > custom_test > tar -C /tmp/tmp.0dtrarbylX -xf /tmp/tmp.0dtrarbylX/foo.tar.gz || die > diff /tmp/tmp.0dtrarbylX/foo/cookie /tmp/tmp.syspInD7XE/cookie || die > [ '4033b08fd145618e70b12ab8f5603b4550245a7e' = '' ] && die > tar -C /tmp/tmp.0dtrarbylX -xf /tmp/tmp.0dtrarbylX/bar.tar.gz || die > diff /tmp/tmp.0dtrarbylX/bar/cookie /tmp/tmp.syspInD7XE/cookie >/dev/null && die > [ '4033b08fd145618e70b12ab8f5603b4550245a7e' = '4033b08fd145618e70b12ab8f5603b4550245a7e' ] || die success. ====================== test_sources_subdir ====================== hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m Initialized empty Git repository in /tmp/tmp.w7jiR0OQpK/.git/ [master (root-commit) dfab827] commit 1 5 files changed, 21 insertions(+) create mode 100644 .gitignore create mode 100644 bar/cookie create mode 100644 bar/input create mode 100644 baz/cookie create mode 100644 foo/cookie > cat /tmp/tmp.w7jiR0OQpK/bar/input | preproc -C /tmp/tmp.w7jiR0OQpK/foo -e OUTDIR=/tmp/tmp.30NmYHI6so -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.w7jiR0OQpK/bar' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.30NmYHI6so/output | log_filter > /tmp/tmp.30NmYHI6so/log > diff /tmp/tmp.cDJZ0vp8gn/output /tmp/tmp.30NmYHI6so/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.30NmYHI6so/log && die; } > diff log /tmp/tmp.30NmYHI6so/log || die > custom_test > tar -C /tmp/tmp.30NmYHI6so -xf /tmp/tmp.30NmYHI6so/dir_pack_nodirname.tar.gz || die > diff /tmp/tmp.30NmYHI6so/test-bar/cookie /tmp/tmp.w7jiR0OQpK/bar/cookie || die > tar -C /tmp/tmp.30NmYHI6so -xf /tmp/tmp.30NmYHI6so/dir_archive_nodirname.tar.gz || die > diff /tmp/tmp.30NmYHI6so/test-bar/cookie /tmp/tmp.w7jiR0OQpK/bar/cookie || die > tar -C /tmp/tmp.30NmYHI6so -xf /tmp/tmp.30NmYHI6so/dir_pack_foo.tar.gz || die > diff /tmp/tmp.30NmYHI6so/foo/cookie /tmp/tmp.w7jiR0OQpK/bar/cookie || die > tar -C /tmp/tmp.30NmYHI6so -xf /tmp/tmp.30NmYHI6so/dir_archive_bar.tar.gz || die > diff /tmp/tmp.30NmYHI6so/bar/cookie /tmp/tmp.w7jiR0OQpK/bar/cookie || die > tar -C /tmp/tmp.30NmYHI6so -xf /tmp/tmp.30NmYHI6so/cwd_pack_nodirname.tar.gz || die > diff /tmp/tmp.30NmYHI6so/test-foo/cookie /tmp/tmp.w7jiR0OQpK/foo/cookie || die > tar -C /tmp/tmp.30NmYHI6so -xf /tmp/tmp.30NmYHI6so/cwd_archive_nodirname.tar.gz || die > diff /tmp/tmp.30NmYHI6so/test-foo/cookie /tmp/tmp.w7jiR0OQpK/foo/cookie || die > tar -C /tmp/tmp.30NmYHI6so -xf /tmp/tmp.30NmYHI6so/cwd_pack_foo.tar.gz || die > diff /tmp/tmp.30NmYHI6so/foo/cookie /tmp/tmp.w7jiR0OQpK/foo/cookie || die > tar -C /tmp/tmp.30NmYHI6so -xf /tmp/tmp.30NmYHI6so/cwd_archive_bar.tar.gz || die > diff /tmp/tmp.30NmYHI6so/bar/cookie /tmp/tmp.w7jiR0OQpK/foo/cookie || die > tar -C /tmp/tmp.30NmYHI6so -xf /tmp/tmp.30NmYHI6so/baz_pack_nodirname.tar.gz || die > diff /tmp/tmp.30NmYHI6so/test-baz/cookie /tmp/tmp.w7jiR0OQpK/baz/cookie || die > tar -C /tmp/tmp.30NmYHI6so -xf /tmp/tmp.30NmYHI6so/baz_archive_nodirname.tar.gz || die > diff /tmp/tmp.30NmYHI6so/test-baz/cookie /tmp/tmp.w7jiR0OQpK/baz/cookie || die > tar -C /tmp/tmp.30NmYHI6so -xf /tmp/tmp.30NmYHI6so/baz_pack_foo.tar.gz || die > diff /tmp/tmp.30NmYHI6so/foo/cookie /tmp/tmp.w7jiR0OQpK/baz/cookie || die > ls /tmp/tmp.30NmYHI6so/foo/cookie_ignored 2>/dev/null && die > ls /tmp/tmp.30NmYHI6so/foo/cookie_unadded 2>/dev/null && die > tar -C /tmp/tmp.30NmYHI6so -xf /tmp/tmp.30NmYHI6so/baz_archive_bar.tar.gz || die > diff /tmp/tmp.30NmYHI6so/bar/cookie /tmp/tmp.w7jiR0OQpK/baz/cookie || die > ls /tmp/tmp.30NmYHI6so/bar/cookie_ignored 2>/dev/null && die > ls /tmp/tmp.30NmYHI6so/bar/cookie_unadded 2>/dev/null && die success. ====================== test_subdir ====================== hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m Initialized empty Git repository in /tmp/tmp.hhJwpDsU5R/.git/ > cat /tmp/tmp.hhJwpDsU5R/bar/input | preproc -C /tmp/tmp.hhJwpDsU5R/foo -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.hhJwpDsU5R/bar' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.KINlSEPNaD/output | log_filter > /tmp/tmp.KINlSEPNaD/log > diff /tmp/tmp.d43LNb9TSt/output /tmp/tmp.KINlSEPNaD/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.KINlSEPNaD/log && die; } > diff log /tmp/tmp.KINlSEPNaD/log || die success. ====================== test_submodule ====================== hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m Initialized empty Git repository in /tmp/tmp.bk7NIVZMAD/.git/ [master (root-commit) 85e5208] initial commit 4 files changed, 26 insertions(+) create mode 100644 input create mode 100644 input_cwd create mode 100644 input_dir create mode 100644 subdir/file Cloning into '/tmp/tmp.bk7NIVZMAD/submodule'... done. [master 202733c] add submodule 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 submodule > cat /tmp/tmp.bk7NIVZMAD/input | preproc -C /tmp/tmp.bk7NIVZMAD -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.bk7NIVZMAD' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.4GuKvdA8bC/output | log_filter > /tmp/tmp.4GuKvdA8bC/log > diff /tmp/tmp.DsH0b7wKrU/output /tmp/tmp.4GuKvdA8bC/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.4GuKvdA8bC/log && die; } > diff log /tmp/tmp.4GuKvdA8bC/log || die success. > cat /tmp/tmp.bk7NIVZMAD/submodule/input_dir | preproc -C /tmp/tmp.bk7NIVZMAD -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.bk7NIVZMAD/submodule' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.4GuKvdA8bC/output | log_filter > /tmp/tmp.4GuKvdA8bC/log > diff /tmp/tmp.DsH0b7wKrU/output_dir /tmp/tmp.4GuKvdA8bC/output || { echo 'LOG DIFF:' && diff log_dir /tmp/tmp.4GuKvdA8bC/log && die; } > diff log_dir /tmp/tmp.4GuKvdA8bC/log || die success. > cat /tmp/tmp.bk7NIVZMAD/submodule/input_cwd | preproc -C /tmp/tmp.bk7NIVZMAD/submodule/subdir -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.bk7NIVZMAD/submodule' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.4GuKvdA8bC/output | log_filter > /tmp/tmp.4GuKvdA8bC/log > diff /tmp/tmp.DsH0b7wKrU/output_cwd /tmp/tmp.4GuKvdA8bC/output || { echo 'LOG DIFF:' && diff log_cwd /tmp/tmp.4GuKvdA8bC/log && die; } > diff log_cwd /tmp/tmp.4GuKvdA8bC/log || die success. ====================== test_submodule_sources ====================== hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m Initialized empty Git repository in /tmp/tmp.mgVXCoRZbW/.git/ [master (root-commit) 1a7649f] initial commit 3 files changed, 7 insertions(+) create mode 100644 input_archive create mode 100644 input_pack create mode 100644 subdir/cookie Cloning into '/tmp/tmp.mgVXCoRZbW/submodule'... done. [master 9e58d08] add submodule 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 submodule > cat /tmp/tmp.mgVXCoRZbW/input_archive | preproc -C /tmp/tmp.mgVXCoRZbW -e OUTDIR=/tmp/tmp.i2bXhctkL0 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.mgVXCoRZbW' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.i2bXhctkL0/output | log_filter > /tmp/tmp.i2bXhctkL0/log > custom_test_archive_clean > tar -C /tmp/tmp.i2bXhctkL0 -xf /tmp/tmp.i2bXhctkL0/test-9e58d082.tar.gz || die > [ -d /tmp/tmp.i2bXhctkL0/test/submodule/subdir ] && die > tar -C /tmp/tmp.i2bXhctkL0 -xf /tmp/tmp.i2bXhctkL0/test-submodule-9e58d082.tar.gz || die > [ -f /tmp/tmp.i2bXhctkL0/test-submodule/subdir/cookie ] || die > cat /tmp/tmp.i2bXhctkL0/test-submodule/subdir/cookie | grep -q 0 || die > tar -C /tmp/tmp.i2bXhctkL0 -xf /tmp/tmp.i2bXhctkL0/test-submodule-subdir-9e58d082.tar.gz || die > [ -f /tmp/tmp.i2bXhctkL0/test-submodule-subdir/cookie ] || die > cat /tmp/tmp.i2bXhctkL0/test-submodule-subdir/cookie | grep -q 0 || die success. > cat /tmp/tmp.mgVXCoRZbW/input_pack | preproc -C /tmp/tmp.mgVXCoRZbW -e OUTDIR=/tmp/tmp.i2bXhctkL0 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.mgVXCoRZbW' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.i2bXhctkL0/output | log_filter > /tmp/tmp.i2bXhctkL0/log > custom_test_pack_clean > tar -C /tmp/tmp.i2bXhctkL0 -xf /tmp/tmp.i2bXhctkL0/test-9e58d082.tar.gz || die > [ -f /tmp/tmp.i2bXhctkL0/test/submodule/subdir ] && die > tar -C /tmp/tmp.i2bXhctkL0 -xf /tmp/tmp.i2bXhctkL0/test-submodule-9e58d082.tar.gz || die > [ -f /tmp/tmp.i2bXhctkL0/test-submodule/subdir/cookie ] || die > cat /tmp/tmp.i2bXhctkL0/test-submodule/subdir/cookie | grep -q 0 || die > tar -C /tmp/tmp.i2bXhctkL0 -xf /tmp/tmp.i2bXhctkL0/test-submodule-subdir-9e58d082.tar.gz || die > [ -f /tmp/tmp.i2bXhctkL0/test-submodule-subdir/cookie ] || die > cat /tmp/tmp.i2bXhctkL0/test-submodule-subdir/cookie | grep -q 0 || die success. [master 3fd4133] submodule new commit 1 file changed, 1 insertion(+) > cat /tmp/tmp.mgVXCoRZbW/input_archive | preproc -C /tmp/tmp.mgVXCoRZbW -e OUTDIR=/tmp/tmp.i2bXhctkL0 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.mgVXCoRZbW' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.i2bXhctkL0/output | log_filter > /tmp/tmp.i2bXhctkL0/log > custom_test_archive_submodule_new_commit > tar -C /tmp/tmp.i2bXhctkL0 -xf /tmp/tmp.i2bXhctkL0/test-9e58d082.tar.gz || die > [ -d /tmp/tmp.i2bXhctkL0/test/submodule/subdir ] && die > tar -C /tmp/tmp.i2bXhctkL0 -xf /tmp/tmp.i2bXhctkL0/test-submodule-9e58d082.tar.gz || die > [ -f /tmp/tmp.i2bXhctkL0/test-submodule/subdir/cookie ] || die > cat /tmp/tmp.i2bXhctkL0/test-submodule/subdir/cookie | grep -q 0 || die > tar -C /tmp/tmp.i2bXhctkL0 -xf /tmp/tmp.i2bXhctkL0/test-submodule-subdir-9e58d082.tar.gz || die > [ -f /tmp/tmp.i2bXhctkL0/test-submodule-subdir/cookie ] || die > cat /tmp/tmp.i2bXhctkL0/test-submodule-subdir/cookie | grep -q 0 || die success. > cat /tmp/tmp.mgVXCoRZbW/input_pack | preproc -C /tmp/tmp.mgVXCoRZbW -e OUTDIR=/tmp/tmp.i2bXhctkL0 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.mgVXCoRZbW' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.i2bXhctkL0/output | log_filter > /tmp/tmp.i2bXhctkL0/log > custom_test_pack_submodule_new_commit > tar -C /tmp/tmp.i2bXhctkL0 -xf /tmp/tmp.i2bXhctkL0/test-9e58d082-dirty.tar.gz || die > [ -d /tmp/tmp.i2bXhctkL0/test/submodule/subdir ] && die > tar -C /tmp/tmp.i2bXhctkL0 -xf /tmp/tmp.i2bXhctkL0/test-submodule-9e58d082-dirty.tar.gz || die > cat /tmp/tmp.i2bXhctkL0/test-submodule/subdir/cookie | grep -q 1 || die > tar -C /tmp/tmp.i2bXhctkL0 -xf /tmp/tmp.i2bXhctkL0/test-submodule-subdir-9e58d082.tar.gz || die > cat /tmp/tmp.i2bXhctkL0/test-submodule-subdir/cookie | grep -q 1 || die success. > cat /tmp/tmp.mgVXCoRZbW/input_archive | preproc -C /tmp/tmp.mgVXCoRZbW -e OUTDIR=/tmp/tmp.i2bXhctkL0 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.mgVXCoRZbW' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.i2bXhctkL0/output | log_filter > /tmp/tmp.i2bXhctkL0/log > custom_test_archive_submodule_dirty > tar -C /tmp/tmp.i2bXhctkL0 -xf /tmp/tmp.i2bXhctkL0/test-9e58d082.tar.gz || die > [ -d /tmp/tmp.i2bXhctkL0/test/submodule/subdir ] && die > tar -C /tmp/tmp.i2bXhctkL0 -xf /tmp/tmp.i2bXhctkL0/test-submodule-9e58d082.tar.gz || die > [ -f /tmp/tmp.i2bXhctkL0/test-submodule/subdir/cookie ] || die > cat /tmp/tmp.i2bXhctkL0/test-submodule/subdir/cookie | grep -q 0 || die > tar -C /tmp/tmp.i2bXhctkL0 -xf /tmp/tmp.i2bXhctkL0/test-submodule-subdir-9e58d082.tar.gz || die > [ -f /tmp/tmp.i2bXhctkL0/test-submodule-subdir/cookie ] || die > cat /tmp/tmp.i2bXhctkL0/test-submodule-subdir/cookie | grep -q 0 || die success. > cat /tmp/tmp.mgVXCoRZbW/input_pack | preproc -C /tmp/tmp.mgVXCoRZbW -e OUTDIR=/tmp/tmp.i2bXhctkL0 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.mgVXCoRZbW' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.i2bXhctkL0/output | log_filter > /tmp/tmp.i2bXhctkL0/log > custom_test_pack_submodule_dirty > tar -C /tmp/tmp.i2bXhctkL0 -xf /tmp/tmp.i2bXhctkL0/test-9e58d082-dirty.tar.gz || die > [ -d /tmp/tmp.i2bXhctkL0/test/submodule/subdir ] && die > tar -C /tmp/tmp.i2bXhctkL0 -xf /tmp/tmp.i2bXhctkL0/test-submodule-9e58d082-dirty.tar.gz || die > cat /tmp/tmp.i2bXhctkL0/test-submodule/subdir/cookie | grep -q 2 || die > tar -C /tmp/tmp.i2bXhctkL0 -xf /tmp/tmp.i2bXhctkL0/test-submodule-subdir-9e58d082.tar.gz || die > cat /tmp/tmp.i2bXhctkL0/test-submodule-subdir/cookie | grep -q 2 || die success. ====================== test_tagged ====================== hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m Initialized empty Git repository in /tmp/tmp.TdjufSAeVP/.git/ [master (root-commit) f4bbc25] inital_commit 2 files changed, 117 insertions(+) create mode 100644 foo/file create mode 100644 input Switched to a new branch 'side_branch' [side_branch 29e0163] side branch commit 1 file changed, 1 insertion(+) Switched to branch 'master' > cat /tmp/tmp.TdjufSAeVP/input | preproc -C /tmp/tmp.TdjufSAeVP -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.TdjufSAeVP' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.yUsBv3bLFm/output | log_filter > /tmp/tmp.yUsBv3bLFm/log > diff /tmp/tmp.aqDaykNlRI/output /tmp/tmp.yUsBv3bLFm/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.yUsBv3bLFm/log && die; } > diff log /tmp/tmp.yUsBv3bLFm/log || die success. ====================== test_tagged_committed ====================== hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m Initialized empty Git repository in /tmp/tmp.STe5rNaApp/.git/ [master (root-commit) 9ea06ea] inital_commit 2 files changed, 117 insertions(+) create mode 100644 foo/file create mode 100644 input [master 879090b] commit after tag 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 file > cat /tmp/tmp.STe5rNaApp/input | preproc -C /tmp/tmp.STe5rNaApp -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.STe5rNaApp' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.DIM3MEyCfS/output | log_filter > /tmp/tmp.DIM3MEyCfS/log > diff /tmp/tmp.Vye3M1CIax/output /tmp/tmp.DIM3MEyCfS/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.DIM3MEyCfS/log && die; } > diff log /tmp/tmp.DIM3MEyCfS/log || die success. ====================== test_uninited ====================== > cat /tmp/tmp.bstblKNyUi/input | preproc -C /tmp/tmp.bstblKNyUi -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.bstblKNyUi' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.yqMUCmN5yN/output | log_filter > /tmp/tmp.yqMUCmN5yN/log > diff /tmp/tmp.kja1Cu1KBZ/output /tmp/tmp.yqMUCmN5yN/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.yqMUCmN5yN/log && die; } > diff log /tmp/tmp.yqMUCmN5yN/log || die success. + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rpkg-macros-2.0-4.el9.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.aGrqFb + umask 022 + cd /builddir/build/BUILD + cd rpkg-util-macros + LICENSEDIR=/builddir/build/BUILDROOT/rpkg-macros-2.0-4.el9.x86_64/usr/share/licenses/rpkg-macros + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rpkg-macros-2.0-4.el9.x86_64/usr/share/licenses/rpkg-macros + cp -pr LICENSE /builddir/build/BUILDROOT/rpkg-macros-2.0-4.el9.x86_64/usr/share/licenses/rpkg-macros + RPM_EC=0 ++ jobs -p + exit 0 Provides: rpkg-macros = 2.0-4.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/bash Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rpkg-macros-2.0-4.el9.x86_64 Wrote: /builddir/build/RPMS/rpkg-macros-2.0-4.el9.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.1POzjW + umask 022 + cd /builddir/build/BUILD + cd rpkg-util-macros + /usr/bin/rm -rf /builddir/build/BUILDROOT/rpkg-macros-2.0-4.el9.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0