Mock Version: 3.3 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-1668272627.888620/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.xfp279wr:/etc/resolv.conf', '--bind=/dev/btrfs-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=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.xfp279wr:/etc/resolv.conf', '--bind=/dev/btrfs-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', '9f8ffb17f21b4c0dbc357ceed765b6a6', '-D', '/var/lib/mock/rhel+epel-9-x86_64-1668272627.888620/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.xfp279wr:/etc/resolv.conf', '--bind=/dev/btrfs-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-1668272627.888620/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.xfp279wr:/etc/resolv.conf', '--bind=/dev/btrfs-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=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.xfp279wr:/etc/resolv.conf', '--bind=/dev/btrfs-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', '2308b803b3574bef9aea5c0ad242c1db', '-D', '/var/lib/mock/rhel+epel-9-x86_64-1668272627.888620/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.xfp279wr:/etc/resolv.conf', '--bind=/dev/btrfs-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.gEMHkE + 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.1lrA8K + 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 -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.cQinpv + 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.kAQOIXEdn7/.git/ > cat /tmp/tmp.kAQOIXEdn7/input | preproc -C /tmp/tmp.kAQOIXEdn7 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.kAQOIXEdn7' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.4yJdfyvvTp/output | log_filter > /tmp/tmp.4yJdfyvvTp/log > diff /tmp/tmp.H6Vy10a3qW/output /tmp/tmp.4yJdfyvvTp/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.4yJdfyvvTp/log && die; } > diff log /tmp/tmp.4yJdfyvvTp/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.pMiijEYOui/.git/ [master (root-commit) c7eeea9] commit 1 1 file changed, 117 insertions(+) create mode 100644 input [master a6d66b8] commit 2 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 foo/file [master 9f10431] commit 3 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 bar/file > cat /tmp/tmp.pMiijEYOui/input | preproc -C /tmp/tmp.pMiijEYOui -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.pMiijEYOui' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.mPXuCbZyw3/output | log_filter > /tmp/tmp.mPXuCbZyw3/log > diff /tmp/tmp.0BdeGSjCnr/output /tmp/tmp.mPXuCbZyw3/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.mPXuCbZyw3/log && die; } > diff log /tmp/tmp.mPXuCbZyw3/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.nQE6BrYPrj/.git/ [master (root-commit) 023106a] inital_commit 2 files changed, 117 insertions(+) create mode 100644 foo/file create mode 100644 input > cat /tmp/tmp.nQE6BrYPrj/input | preproc -C /tmp/tmp.nQE6BrYPrj -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.nQE6BrYPrj' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.44YgASyv2r/output | log_filter > /tmp/tmp.44YgASyv2r/log > diff /tmp/tmp.eRMwByjIaF/output /tmp/tmp.44YgASyv2r/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.44YgASyv2r/log && die; } > diff log /tmp/tmp.44YgASyv2r/log || die success. ====================== test_fn_bumped_version ====================== > cat /tmp/tmp.5PFhfrOs1b/input | preproc -C /tmp/tmp.5PFhfrOs1b -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.5PFhfrOs1b' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.qaw1JLb47e/output | log_filter > /tmp/tmp.qaw1JLb47e/log > diff /tmp/tmp.uAV7Dq4mly/output /tmp/tmp.qaw1JLb47e/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.qaw1JLb47e/log && die; } > diff log /tmp/tmp.qaw1JLb47e/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.WDauhqRKBB/.git/ [master (root-commit) 6021fa0] add subdir with file 2 files changed, 6 insertions(+) create mode 100644 input create mode 100644 subdir/file Cloning into '/tmp/tmp.WDauhqRKBB/submodule'... done. [master 904cf88] add submodule 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 submodule > cat /tmp/tmp.WDauhqRKBB/input | preproc -C /tmp/tmp.WDauhqRKBB -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.WDauhqRKBB' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.G3YSkp4kh3/output | log_filter > /tmp/tmp.G3YSkp4kh3/log > diff /tmp/tmp.nL6wbVvyP3/output /tmp/tmp.G3YSkp4kh3/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.G3YSkp4kh3/log && die; } > diff log /tmp/tmp.G3YSkp4kh3/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.lBlRmr5u5L/.git/ > cat /tmp/tmp.lBlRmr5u5L/input | preproc -C /tmp/tmp.lBlRmr5u5L -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.lBlRmr5u5L' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.9ELuU1nsE3/output | log_filter > /tmp/tmp.9ELuU1nsE3/log > diff /tmp/tmp.nYzIecLiWA/output /tmp/tmp.9ELuU1nsE3/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.9ELuU1nsE3/log && die; } > diff log /tmp/tmp.9ELuU1nsE3/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.g0FsFxOAs4/.git/ > cat /tmp/tmp.g0FsFxOAs4/input | preproc -C /tmp/tmp.g0FsFxOAs4 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.g0FsFxOAs4' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.qIvZ1gg1nQ/output | log_filter > /tmp/tmp.qIvZ1gg1nQ/log > diff /tmp/tmp.DIGE1DPB7h/output /tmp/tmp.qIvZ1gg1nQ/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.qIvZ1gg1nQ/log && die; } > diff log /tmp/tmp.qIvZ1gg1nQ/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.KDllC2H5qF/.git/ [master (root-commit) b718347] hello world 3 files changed, 3 insertions(+) create mode 100644 cookie create mode 100644 foo/cookie create mode 100644 input > cat /tmp/tmp.KDllC2H5qF/input | preproc -C /tmp/tmp.KDllC2H5qF -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.KDllC2H5qF' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.BuHKVZU4xC/output | log_filter > /tmp/tmp.BuHKVZU4xC/log > diff /tmp/tmp.asktGHSgoq/output_clean /tmp/tmp.BuHKVZU4xC/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.BuHKVZU4xC/log && die; } > diff log /tmp/tmp.BuHKVZU4xC/log || die success. > cat /tmp/tmp.KDllC2H5qF/input | preproc -C /tmp/tmp.KDllC2H5qF -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.KDllC2H5qF' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.BuHKVZU4xC/output | log_filter > /tmp/tmp.BuHKVZU4xC/log > diff /tmp/tmp.asktGHSgoq/output_dirty /tmp/tmp.BuHKVZU4xC/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.BuHKVZU4xC/log && die; } > diff log /tmp/tmp.BuHKVZU4xC/log || die success. Updated 1 path from the index > cat /tmp/tmp.KDllC2H5qF/input | preproc -C /tmp/tmp.KDllC2H5qF -e GIT_DIRTY=1 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.KDllC2H5qF' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.BuHKVZU4xC/output | log_filter > /tmp/tmp.BuHKVZU4xC/log > diff /tmp/tmp.asktGHSgoq/output_dirty_manual /tmp/tmp.BuHKVZU4xC/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.BuHKVZU4xC/log && die; } > diff log /tmp/tmp.BuHKVZU4xC/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.2ROKaaS0Ws/.git/ > cat /tmp/tmp.2ROKaaS0Ws/input | preproc -C /tmp/tmp.2ROKaaS0Ws -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.2ROKaaS0Ws' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.KO5CrWhHLK/output | log_filter > /tmp/tmp.KO5CrWhHLK/log > diff /tmp/tmp.0vWEN2RjYE/output /tmp/tmp.KO5CrWhHLK/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.KO5CrWhHLK/log && die; } > diff log /tmp/tmp.KO5CrWhHLK/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.L6tNdQMiiM/.git/ > cat /tmp/tmp.L6tNdQMiiM/input | preproc -C /tmp/tmp.L6tNdQMiiM -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.L6tNdQMiiM' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.pYnj0KPIHM/output | log_filter > /tmp/tmp.pYnj0KPIHM/log > diff /tmp/tmp.oBlHrRt1AO/output /tmp/tmp.pYnj0KPIHM/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.pYnj0KPIHM/log && die; } > diff log /tmp/tmp.pYnj0KPIHM/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.MBUJplsbNe/.git/ > cat /tmp/tmp.MBUJplsbNe/input | preproc -C /tmp/tmp.MBUJplsbNe -e OUTDIR=/tmp/tmp.RrhyxOmGEw -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.MBUJplsbNe' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.RrhyxOmGEw/output | log_filter > /tmp/tmp.RrhyxOmGEw/log > diff /tmp/tmp.rpacrbXpS8/output /tmp/tmp.RrhyxOmGEw/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.RrhyxOmGEw/log && die; } > diff log /tmp/tmp.RrhyxOmGEw/log || die > custom_test > tar -C /tmp/tmp.RrhyxOmGEw -xf /tmp/tmp.RrhyxOmGEw/foo.tar.gz || die > diff /tmp/tmp.RrhyxOmGEw/foo/cookie /tmp/tmp.MBUJplsbNe/cookie || die > ls /tmp/tmp.RrhyxOmGEw/foo/cookie_ignored 2>/dev/null && die > ls /tmp/tmp.RrhyxOmGEw/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.DZ8qzINT7I/.git/ [master (root-commit) 551e80d] commit 1 2 files changed, 3 insertions(+) create mode 100644 cookie create mode 100644 input > cat /tmp/tmp.DZ8qzINT7I/input | preproc -C /tmp/tmp.DZ8qzINT7I -e OUTDIR=/tmp/tmp.UBepL3yjsv -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.DZ8qzINT7I' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.UBepL3yjsv/output | log_filter > /tmp/tmp.UBepL3yjsv/log > diff /tmp/tmp.mwLBw8MuRx/output /tmp/tmp.UBepL3yjsv/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.UBepL3yjsv/log && die; } > diff log /tmp/tmp.UBepL3yjsv/log || die > custom_test > tar -C /tmp/tmp.UBepL3yjsv -xf /tmp/tmp.UBepL3yjsv/foo.tar.gz || die > diff /tmp/tmp.UBepL3yjsv/foo/cookie /tmp/tmp.DZ8qzINT7I/cookie || die > [ '551e80dd25813ff4be048ccd4c8bff6a0b24c517' = '551e80dd25813ff4be048ccd4c8bff6a0b24c517' ] || die > tar -C /tmp/tmp.UBepL3yjsv -xf /tmp/tmp.UBepL3yjsv/bar.tar.gz || die > diff /tmp/tmp.UBepL3yjsv/bar/cookie /tmp/tmp.DZ8qzINT7I/cookie || die > [ '551e80dd25813ff4be048ccd4c8bff6a0b24c517' = '551e80dd25813ff4be048ccd4c8bff6a0b24c517' ] || die success. > cat /tmp/tmp.DZ8qzINT7I/input | preproc -C /tmp/tmp.DZ8qzINT7I -e OUTDIR=/tmp/tmp.UBepL3yjsv -e GIT_STATUS=somestatus -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.DZ8qzINT7I' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.UBepL3yjsv/output | log_filter > /tmp/tmp.UBepL3yjsv/log > test_nonempty_git_status > tar -C /tmp/tmp.UBepL3yjsv -xf /tmp/tmp.UBepL3yjsv/foo.tar.gz || die > diff /tmp/tmp.UBepL3yjsv/foo/cookie /tmp/tmp.DZ8qzINT7I/cookie || die > [ '551e80dd25813ff4be048ccd4c8bff6a0b24c517' = '' ] && die > tar -C /tmp/tmp.UBepL3yjsv -xf /tmp/tmp.UBepL3yjsv/bar.tar.gz || die > diff /tmp/tmp.UBepL3yjsv/bar/cookie /tmp/tmp.DZ8qzINT7I/cookie || die > [ '551e80dd25813ff4be048ccd4c8bff6a0b24c517' = '551e80dd25813ff4be048ccd4c8bff6a0b24c517' ] || die success. > cat /tmp/tmp.DZ8qzINT7I/input | preproc -C /tmp/tmp.DZ8qzINT7I -e OUTDIR=/tmp/tmp.UBepL3yjsv -e GIT_HEAD=somehead -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.DZ8qzINT7I' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.UBepL3yjsv/output | log_filter > /tmp/tmp.UBepL3yjsv/log > test_invalid_git_head > [ -f '/tmp/tmp.UBepL3yjsv/foo.tar.gz' ] && die > [ -f '/tmp/tmp.UBepL3yjsv/bar.tar.gz' ] && die success. > cat /tmp/tmp.DZ8qzINT7I/input | preproc -C /tmp/tmp.DZ8qzINT7I -e OUTDIR=/tmp/tmp.UBepL3yjsv -e GIT_HEAD= -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.DZ8qzINT7I' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.UBepL3yjsv/output | log_filter > /tmp/tmp.UBepL3yjsv/log > test_empty_git_head > tar -C /tmp/tmp.UBepL3yjsv -xf /tmp/tmp.UBepL3yjsv/foo.tar.gz || die > diff /tmp/tmp.UBepL3yjsv/foo/cookie /tmp/tmp.DZ8qzINT7I/cookie || die > [ '551e80dd25813ff4be048ccd4c8bff6a0b24c517' = '' ] && die > [ -f '/tmp/tmp.UBepL3yjsv/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.HOxdmHZ1u8/.git/ [master (root-commit) 21677d2] commit 1 2 files changed, 3 insertions(+) create mode 100644 cookie create mode 100644 input > cat /tmp/tmp.HOxdmHZ1u8/input | preproc -C /tmp/tmp.HOxdmHZ1u8 -e OUTDIR=/tmp/tmp.3L8m7QRI3h -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.HOxdmHZ1u8' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.3L8m7QRI3h/output | log_filter > /tmp/tmp.3L8m7QRI3h/log > diff /tmp/tmp.VN6hF7T4Ji/output /tmp/tmp.3L8m7QRI3h/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.3L8m7QRI3h/log && die; } > diff log /tmp/tmp.3L8m7QRI3h/log || die > custom_test > tar -C /tmp/tmp.3L8m7QRI3h -xf /tmp/tmp.3L8m7QRI3h/foo.tar.gz || die > diff /tmp/tmp.3L8m7QRI3h/foo/cookie /tmp/tmp.HOxdmHZ1u8/cookie || die > [ '21677d204fa7430326c326e91ffaec4c189699fa' = '' ] && die > tar -C /tmp/tmp.3L8m7QRI3h -xf /tmp/tmp.3L8m7QRI3h/bar.tar.gz || die > diff /tmp/tmp.3L8m7QRI3h/bar/cookie /tmp/tmp.HOxdmHZ1u8/cookie >/dev/null && die > [ '21677d204fa7430326c326e91ffaec4c189699fa' = '21677d204fa7430326c326e91ffaec4c189699fa' ] || 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.DN45u8vhEd/.git/ [master (root-commit) 114352c] 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.DN45u8vhEd/bar/input | preproc -C /tmp/tmp.DN45u8vhEd/foo -e OUTDIR=/tmp/tmp.v8AExJ0cMl -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.DN45u8vhEd/bar' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.v8AExJ0cMl/output | log_filter > /tmp/tmp.v8AExJ0cMl/log > diff /tmp/tmp.k2Sr3qOYM1/output /tmp/tmp.v8AExJ0cMl/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.v8AExJ0cMl/log && die; } > diff log /tmp/tmp.v8AExJ0cMl/log || die > custom_test > tar -C /tmp/tmp.v8AExJ0cMl -xf /tmp/tmp.v8AExJ0cMl/dir_pack_nodirname.tar.gz || die > diff /tmp/tmp.v8AExJ0cMl/test-bar/cookie /tmp/tmp.DN45u8vhEd/bar/cookie || die > tar -C /tmp/tmp.v8AExJ0cMl -xf /tmp/tmp.v8AExJ0cMl/dir_archive_nodirname.tar.gz || die > diff /tmp/tmp.v8AExJ0cMl/test-bar/cookie /tmp/tmp.DN45u8vhEd/bar/cookie || die > tar -C /tmp/tmp.v8AExJ0cMl -xf /tmp/tmp.v8AExJ0cMl/dir_pack_foo.tar.gz || die > diff /tmp/tmp.v8AExJ0cMl/foo/cookie /tmp/tmp.DN45u8vhEd/bar/cookie || die > tar -C /tmp/tmp.v8AExJ0cMl -xf /tmp/tmp.v8AExJ0cMl/dir_archive_bar.tar.gz || die > diff /tmp/tmp.v8AExJ0cMl/bar/cookie /tmp/tmp.DN45u8vhEd/bar/cookie || die > tar -C /tmp/tmp.v8AExJ0cMl -xf /tmp/tmp.v8AExJ0cMl/cwd_pack_nodirname.tar.gz || die > diff /tmp/tmp.v8AExJ0cMl/test-foo/cookie /tmp/tmp.DN45u8vhEd/foo/cookie || die > tar -C /tmp/tmp.v8AExJ0cMl -xf /tmp/tmp.v8AExJ0cMl/cwd_archive_nodirname.tar.gz || die > diff /tmp/tmp.v8AExJ0cMl/test-foo/cookie /tmp/tmp.DN45u8vhEd/foo/cookie || die > tar -C /tmp/tmp.v8AExJ0cMl -xf /tmp/tmp.v8AExJ0cMl/cwd_pack_foo.tar.gz || die > diff /tmp/tmp.v8AExJ0cMl/foo/cookie /tmp/tmp.DN45u8vhEd/foo/cookie || die > tar -C /tmp/tmp.v8AExJ0cMl -xf /tmp/tmp.v8AExJ0cMl/cwd_archive_bar.tar.gz || die > diff /tmp/tmp.v8AExJ0cMl/bar/cookie /tmp/tmp.DN45u8vhEd/foo/cookie || die > tar -C /tmp/tmp.v8AExJ0cMl -xf /tmp/tmp.v8AExJ0cMl/baz_pack_nodirname.tar.gz || die > diff /tmp/tmp.v8AExJ0cMl/test-baz/cookie /tmp/tmp.DN45u8vhEd/baz/cookie || die > tar -C /tmp/tmp.v8AExJ0cMl -xf /tmp/tmp.v8AExJ0cMl/baz_archive_nodirname.tar.gz || die > diff /tmp/tmp.v8AExJ0cMl/test-baz/cookie /tmp/tmp.DN45u8vhEd/baz/cookie || die > tar -C /tmp/tmp.v8AExJ0cMl -xf /tmp/tmp.v8AExJ0cMl/baz_pack_foo.tar.gz || die > diff /tmp/tmp.v8AExJ0cMl/foo/cookie /tmp/tmp.DN45u8vhEd/baz/cookie || die > ls /tmp/tmp.v8AExJ0cMl/foo/cookie_ignored 2>/dev/null && die > ls /tmp/tmp.v8AExJ0cMl/foo/cookie_unadded 2>/dev/null && die > tar -C /tmp/tmp.v8AExJ0cMl -xf /tmp/tmp.v8AExJ0cMl/baz_archive_bar.tar.gz || die > diff /tmp/tmp.v8AExJ0cMl/bar/cookie /tmp/tmp.DN45u8vhEd/baz/cookie || die > ls /tmp/tmp.v8AExJ0cMl/bar/cookie_ignored 2>/dev/null && die > ls /tmp/tmp.v8AExJ0cMl/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.D9b1hxrtxa/.git/ > cat /tmp/tmp.D9b1hxrtxa/bar/input | preproc -C /tmp/tmp.D9b1hxrtxa/foo -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.D9b1hxrtxa/bar' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.21M9a1UYKj/output | log_filter > /tmp/tmp.21M9a1UYKj/log > diff /tmp/tmp.NdZ8rootBP/output /tmp/tmp.21M9a1UYKj/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.21M9a1UYKj/log && die; } > diff log /tmp/tmp.21M9a1UYKj/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.kHfl5hT5Hz/.git/ [master (root-commit) 738c386] 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.kHfl5hT5Hz/submodule'... done. [master 06bfaee] add submodule 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 submodule > cat /tmp/tmp.kHfl5hT5Hz/input | preproc -C /tmp/tmp.kHfl5hT5Hz -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.kHfl5hT5Hz' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.6ERJudadxp/output | log_filter > /tmp/tmp.6ERJudadxp/log > diff /tmp/tmp.bmL7t62mC8/output /tmp/tmp.6ERJudadxp/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.6ERJudadxp/log && die; } > diff log /tmp/tmp.6ERJudadxp/log || die success. > cat /tmp/tmp.kHfl5hT5Hz/submodule/input_dir | preproc -C /tmp/tmp.kHfl5hT5Hz -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.kHfl5hT5Hz/submodule' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.6ERJudadxp/output | log_filter > /tmp/tmp.6ERJudadxp/log > diff /tmp/tmp.bmL7t62mC8/output_dir /tmp/tmp.6ERJudadxp/output || { echo 'LOG DIFF:' && diff log_dir /tmp/tmp.6ERJudadxp/log && die; } > diff log_dir /tmp/tmp.6ERJudadxp/log || die success. > cat /tmp/tmp.kHfl5hT5Hz/submodule/input_cwd | preproc -C /tmp/tmp.kHfl5hT5Hz/submodule/subdir -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.kHfl5hT5Hz/submodule' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.6ERJudadxp/output | log_filter > /tmp/tmp.6ERJudadxp/log > diff /tmp/tmp.bmL7t62mC8/output_cwd /tmp/tmp.6ERJudadxp/output || { echo 'LOG DIFF:' && diff log_cwd /tmp/tmp.6ERJudadxp/log && die; } > diff log_cwd /tmp/tmp.6ERJudadxp/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.nipZwsp8vP/.git/ [master (root-commit) 4ef68c6] 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.nipZwsp8vP/submodule'... done. [master 65423d6] add submodule 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 submodule > cat /tmp/tmp.nipZwsp8vP/input_archive | preproc -C /tmp/tmp.nipZwsp8vP -e OUTDIR=/tmp/tmp.VCEiR0PXhq -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.nipZwsp8vP' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.VCEiR0PXhq/output | log_filter > /tmp/tmp.VCEiR0PXhq/log > custom_test_archive_clean > tar -C /tmp/tmp.VCEiR0PXhq -xf /tmp/tmp.VCEiR0PXhq/test-65423d66.tar.gz || die > [ -d /tmp/tmp.VCEiR0PXhq/test/submodule/subdir ] && die > tar -C /tmp/tmp.VCEiR0PXhq -xf /tmp/tmp.VCEiR0PXhq/test-submodule-65423d66.tar.gz || die > [ -f /tmp/tmp.VCEiR0PXhq/test-submodule/subdir/cookie ] || die > cat /tmp/tmp.VCEiR0PXhq/test-submodule/subdir/cookie | grep -q 0 || die > tar -C /tmp/tmp.VCEiR0PXhq -xf /tmp/tmp.VCEiR0PXhq/test-submodule-subdir-65423d66.tar.gz || die > [ -f /tmp/tmp.VCEiR0PXhq/test-submodule-subdir/cookie ] || die > cat /tmp/tmp.VCEiR0PXhq/test-submodule-subdir/cookie | grep -q 0 || die success. > cat /tmp/tmp.nipZwsp8vP/input_pack | preproc -C /tmp/tmp.nipZwsp8vP -e OUTDIR=/tmp/tmp.VCEiR0PXhq -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.nipZwsp8vP' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.VCEiR0PXhq/output | log_filter > /tmp/tmp.VCEiR0PXhq/log > custom_test_pack_clean > tar -C /tmp/tmp.VCEiR0PXhq -xf /tmp/tmp.VCEiR0PXhq/test-65423d66.tar.gz || die > [ -f /tmp/tmp.VCEiR0PXhq/test/submodule/subdir ] && die > tar -C /tmp/tmp.VCEiR0PXhq -xf /tmp/tmp.VCEiR0PXhq/test-submodule-65423d66.tar.gz || die > [ -f /tmp/tmp.VCEiR0PXhq/test-submodule/subdir/cookie ] || die > cat /tmp/tmp.VCEiR0PXhq/test-submodule/subdir/cookie | grep -q 0 || die > tar -C /tmp/tmp.VCEiR0PXhq -xf /tmp/tmp.VCEiR0PXhq/test-submodule-subdir-65423d66.tar.gz || die > [ -f /tmp/tmp.VCEiR0PXhq/test-submodule-subdir/cookie ] || die > cat /tmp/tmp.VCEiR0PXhq/test-submodule-subdir/cookie | grep -q 0 || die success. [master 52b1c52] submodule new commit 1 file changed, 1 insertion(+) > cat /tmp/tmp.nipZwsp8vP/input_archive | preproc -C /tmp/tmp.nipZwsp8vP -e OUTDIR=/tmp/tmp.VCEiR0PXhq -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.nipZwsp8vP' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.VCEiR0PXhq/output | log_filter > /tmp/tmp.VCEiR0PXhq/log > custom_test_archive_submodule_new_commit > tar -C /tmp/tmp.VCEiR0PXhq -xf /tmp/tmp.VCEiR0PXhq/test-65423d66.tar.gz || die > [ -d /tmp/tmp.VCEiR0PXhq/test/submodule/subdir ] && die > tar -C /tmp/tmp.VCEiR0PXhq -xf /tmp/tmp.VCEiR0PXhq/test-submodule-65423d66.tar.gz || die > [ -f /tmp/tmp.VCEiR0PXhq/test-submodule/subdir/cookie ] || die > cat /tmp/tmp.VCEiR0PXhq/test-submodule/subdir/cookie | grep -q 0 || die > tar -C /tmp/tmp.VCEiR0PXhq -xf /tmp/tmp.VCEiR0PXhq/test-submodule-subdir-65423d66.tar.gz || die > [ -f /tmp/tmp.VCEiR0PXhq/test-submodule-subdir/cookie ] || die > cat /tmp/tmp.VCEiR0PXhq/test-submodule-subdir/cookie | grep -q 0 || die success. > cat /tmp/tmp.nipZwsp8vP/input_pack | preproc -C /tmp/tmp.nipZwsp8vP -e OUTDIR=/tmp/tmp.VCEiR0PXhq -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.nipZwsp8vP' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.VCEiR0PXhq/output | log_filter > /tmp/tmp.VCEiR0PXhq/log > custom_test_pack_submodule_new_commit > tar -C /tmp/tmp.VCEiR0PXhq -xf /tmp/tmp.VCEiR0PXhq/test-65423d66-dirty.tar.gz || die > [ -d /tmp/tmp.VCEiR0PXhq/test/submodule/subdir ] && die > tar -C /tmp/tmp.VCEiR0PXhq -xf /tmp/tmp.VCEiR0PXhq/test-submodule-65423d66-dirty.tar.gz || die > cat /tmp/tmp.VCEiR0PXhq/test-submodule/subdir/cookie | grep -q 1 || die > tar -C /tmp/tmp.VCEiR0PXhq -xf /tmp/tmp.VCEiR0PXhq/test-submodule-subdir-65423d66.tar.gz || die > cat /tmp/tmp.VCEiR0PXhq/test-submodule-subdir/cookie | grep -q 1 || die success. > cat /tmp/tmp.nipZwsp8vP/input_archive | preproc -C /tmp/tmp.nipZwsp8vP -e OUTDIR=/tmp/tmp.VCEiR0PXhq -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.nipZwsp8vP' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.VCEiR0PXhq/output | log_filter > /tmp/tmp.VCEiR0PXhq/log > custom_test_archive_submodule_dirty > tar -C /tmp/tmp.VCEiR0PXhq -xf /tmp/tmp.VCEiR0PXhq/test-65423d66.tar.gz || die > [ -d /tmp/tmp.VCEiR0PXhq/test/submodule/subdir ] && die > tar -C /tmp/tmp.VCEiR0PXhq -xf /tmp/tmp.VCEiR0PXhq/test-submodule-65423d66.tar.gz || die > [ -f /tmp/tmp.VCEiR0PXhq/test-submodule/subdir/cookie ] || die > cat /tmp/tmp.VCEiR0PXhq/test-submodule/subdir/cookie | grep -q 0 || die > tar -C /tmp/tmp.VCEiR0PXhq -xf /tmp/tmp.VCEiR0PXhq/test-submodule-subdir-65423d66.tar.gz || die > [ -f /tmp/tmp.VCEiR0PXhq/test-submodule-subdir/cookie ] || die > cat /tmp/tmp.VCEiR0PXhq/test-submodule-subdir/cookie | grep -q 0 || die success. > cat /tmp/tmp.nipZwsp8vP/input_pack | preproc -C /tmp/tmp.nipZwsp8vP -e OUTDIR=/tmp/tmp.VCEiR0PXhq -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.nipZwsp8vP' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.VCEiR0PXhq/output | log_filter > /tmp/tmp.VCEiR0PXhq/log > custom_test_pack_submodule_dirty > tar -C /tmp/tmp.VCEiR0PXhq -xf /tmp/tmp.VCEiR0PXhq/test-65423d66-dirty.tar.gz || die > [ -d /tmp/tmp.VCEiR0PXhq/test/submodule/subdir ] && die > tar -C /tmp/tmp.VCEiR0PXhq -xf /tmp/tmp.VCEiR0PXhq/test-submodule-65423d66-dirty.tar.gz || die > cat /tmp/tmp.VCEiR0PXhq/test-submodule/subdir/cookie | grep -q 2 || die > tar -C /tmp/tmp.VCEiR0PXhq -xf /tmp/tmp.VCEiR0PXhq/test-submodule-subdir-65423d66.tar.gz || die > cat /tmp/tmp.VCEiR0PXhq/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.aSDx82NpgK/.git/ [master (root-commit) 6ba1963] 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 ed913d1] side branch commit 1 file changed, 1 insertion(+) Switched to branch 'master' > cat /tmp/tmp.aSDx82NpgK/input | preproc -C /tmp/tmp.aSDx82NpgK -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.aSDx82NpgK' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.QpsCOGpm3j/output | log_filter > /tmp/tmp.QpsCOGpm3j/log > diff /tmp/tmp.1sfYq4NP5H/output /tmp/tmp.QpsCOGpm3j/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.QpsCOGpm3j/log && die; } > diff log /tmp/tmp.QpsCOGpm3j/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.sy7Is3IQ5C/.git/ [master (root-commit) 7a33b99] inital_commit 2 files changed, 117 insertions(+) create mode 100644 foo/file create mode 100644 input [master 686f9f5] commit after tag 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 file > cat /tmp/tmp.sy7Is3IQ5C/input | preproc -C /tmp/tmp.sy7Is3IQ5C -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.sy7Is3IQ5C' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.PrT6p29ly8/output | log_filter > /tmp/tmp.PrT6p29ly8/log > diff /tmp/tmp.UiJVFd7bIh/output /tmp/tmp.PrT6p29ly8/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.PrT6p29ly8/log && die; } > diff log /tmp/tmp.PrT6p29ly8/log || die success. ====================== test_uninited ====================== > cat /tmp/tmp.bNXnaywupc/input | preproc -C /tmp/tmp.bNXnaywupc -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.bNXnaywupc' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.lcfKzB9VYz/output | log_filter > /tmp/tmp.lcfKzB9VYz/log > diff /tmp/tmp.eqaWXg5GiI/output /tmp/tmp.lcfKzB9VYz/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.lcfKzB9VYz/log && die; } > diff log /tmp/tmp.lcfKzB9VYz/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.NEmUVG + 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.psYBs2 + 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