Mock Version: 2.12 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/fedora-rawhide-x86_64-1633576024.187455/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.pqtmp412:/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=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.pqtmp412:/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', 'd4e04d3cacef4dbf88a41f23ff8dea89', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1633576024.187455/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.pqtmp412:/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'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1610928000 Wrote: /builddir/build/SRPMS/rpkg-macros-.0.git.56.3f4188b-1.fc36.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/fedora-rawhide-x86_64-1633576024.187455/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.pqtmp412:/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=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.pqtmp412:/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', 'c1a2a47a06e647e6a2bcfad7bdf1b104', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1633576024.187455/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.pqtmp412:/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'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1610928000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.HwL2YZ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rpkg-macros-.0.git.56.3f4188b + /usr/bin/gzip -dc /builddir/build/SOURCES/rpkg-macros-.0.git.56.3f4188b.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd rpkg-macros-.0.git.56.3f4188b + /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.aq9mQW + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rpkg-macros-.0.git.56.3f4188b-1.fc36.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rpkg-macros-.0.git.56.3f4188b-1.fc36.x86_64 ++ dirname /builddir/build/BUILDROOT/rpkg-macros-.0.git.56.3f4188b-1.fc36.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rpkg-macros-.0.git.56.3f4188b-1.fc36.x86_64 + cd rpkg-macros-.0.git.56.3f4188b + install -d /builddir/build/BUILDROOT/rpkg-macros-.0.git.56.3f4188b-1.fc36.x86_64/usr/lib + install -d /builddir/build/BUILDROOT/rpkg-macros-.0.git.56.3f4188b-1.fc36.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-.0.git.56.3f4188b-1.fc36.x86_64/usr/lib/rpkg.macros.d + install -d /builddir/build/BUILDROOT/rpkg-macros-.0.git.56.3f4188b-1.fc36.x86_64/usr/bin + install -p -m 755 bin/pack_sources /builddir/build/BUILDROOT/rpkg-macros-.0.git.56.3f4188b-1.fc36.x86_64/usr/bin/pack_sources + install -d /builddir/build/BUILDROOT/rpkg-macros-.0.git.56.3f4188b-1.fc36.x86_64/usr/share/man/man1 + install -p -m 644 man/rpkg-macros.1 /builddir/build/BUILDROOT/rpkg-macros-.0.git.56.3f4188b-1.fc36.x86_64//usr/share/man/man1/ + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed .0.git.56.3f4188b-1.fc36 --unique-debug-suffix -.0.git.56.3f4188b-1.fc36.x86_64 --unique-debug-src-base rpkg-macros-.0.git.56.3f4188b-1.fc36.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/rpkg-macros-.0.git.56.3f4188b 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/check-rpaths + /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_status 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_root 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 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_branch 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 from /bin/bash to #!/usr/bin/bash + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.gdzCl0 + umask 022 + cd /builddir/build/BUILD + cd rpkg-macros-.0.git.56.3f4188b + 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.Ug3OeDcp6d/.git/ > cat /tmp/tmp.Ug3OeDcp6d/input | preproc -C /tmp/tmp.Ug3OeDcp6d -e PATH=/builddir/build/BUILD/rpkg-macros-.0.git.56.3f4188b/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.Ug3OeDcp6d' -s /builddir/build/BUILD/rpkg-macros-.0.git.56.3f4188b/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.VIXpyGGRHK/output | log_filter > /tmp/tmp.VIXpyGGRHK/log > diff /tmp/tmp.RdiSxeHlAe/output /tmp/tmp.VIXpyGGRHK/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.VIXpyGGRHK/log && die; } > diff log /tmp/tmp.VIXpyGGRHK/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.EXW71BExi0/.git/ [master (root-commit) d9630fc] commit 1 1 file changed, 117 insertions(+) create mode 100644 input [master 160db78] commit 2 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 foo/file [master bda763a] commit 3 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 bar/file > cat /tmp/tmp.EXW71BExi0/input | preproc -C /tmp/tmp.EXW71BExi0 -e PATH=/builddir/build/BUILD/rpkg-macros-.0.git.56.3f4188b/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.EXW71BExi0' -s /builddir/build/BUILD/rpkg-macros-.0.git.56.3f4188b/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.GSfvYxhz9W/output | log_filter > /tmp/tmp.GSfvYxhz9W/log > diff /tmp/tmp.kciN0xiNQ3/output /tmp/tmp.GSfvYxhz9W/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.GSfvYxhz9W/log && die; } > diff log /tmp/tmp.GSfvYxhz9W/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.80J69gDvpL/.git/ [master (root-commit) ed77489] inital_commit 2 files changed, 117 insertions(+) create mode 100644 foo/file create mode 100644 input > cat /tmp/tmp.80J69gDvpL/input | preproc -C /tmp/tmp.80J69gDvpL -e PATH=/builddir/build/BUILD/rpkg-macros-.0.git.56.3f4188b/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.80J69gDvpL' -s /builddir/build/BUILD/rpkg-macros-.0.git.56.3f4188b/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.yDoRY6TXCB/output | log_filter > /tmp/tmp.yDoRY6TXCB/log > diff /tmp/tmp.yfO1OulFGm/output /tmp/tmp.yDoRY6TXCB/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.yDoRY6TXCB/log && die; } > diff log /tmp/tmp.yDoRY6TXCB/log || die success. ====================== test_fn_bumped_version ====================== > cat /tmp/tmp.P1qXzo8cYa/input | preproc -C /tmp/tmp.P1qXzo8cYa -e PATH=/builddir/build/BUILD/rpkg-macros-.0.git.56.3f4188b/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.P1qXzo8cYa' -s /builddir/build/BUILD/rpkg-macros-.0.git.56.3f4188b/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.LrVLnvlNFc/output | log_filter > /tmp/tmp.LrVLnvlNFc/log > diff /tmp/tmp.RxoR8fO0Mm/output /tmp/tmp.LrVLnvlNFc/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.LrVLnvlNFc/log && die; } > diff log /tmp/tmp.LrVLnvlNFc/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.TgyCOaIwtc/.git/ [master (root-commit) c963f46] add subdir with file 2 files changed, 6 insertions(+) create mode 100644 input create mode 100644 subdir/file Cloning into '/tmp/tmp.TgyCOaIwtc/submodule'... done. [master 5e8b4e5] add submodule 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 submodule > cat /tmp/tmp.TgyCOaIwtc/input | preproc -C /tmp/tmp.TgyCOaIwtc -e PATH=/builddir/build/BUILD/rpkg-macros-.0.git.56.3f4188b/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.TgyCOaIwtc' -s /builddir/build/BUILD/rpkg-macros-.0.git.56.3f4188b/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.8Ef4DXvb6l/output | log_filter > /tmp/tmp.8Ef4DXvb6l/log > diff /tmp/tmp.mY0SS60JrN/output /tmp/tmp.8Ef4DXvb6l/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.8Ef4DXvb6l/log && die; } > diff log /tmp/tmp.8Ef4DXvb6l/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.xYuY0UtwvP/.git/ > cat /tmp/tmp.xYuY0UtwvP/input | preproc -C /tmp/tmp.xYuY0UtwvP -e PATH=/builddir/build/BUILD/rpkg-macros-.0.git.56.3f4188b/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.xYuY0UtwvP' -s /builddir/build/BUILD/rpkg-macros-.0.git.56.3f4188b/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.RVaUu9SL03/output | log_filter > /tmp/tmp.RVaUu9SL03/log > diff /tmp/tmp.RgUMzqpuVi/output /tmp/tmp.RVaUu9SL03/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.RVaUu9SL03/log && die; } > diff log /tmp/tmp.RVaUu9SL03/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.2YLOrFNGev/.git/ > cat /tmp/tmp.2YLOrFNGev/input | preproc -C /tmp/tmp.2YLOrFNGev -e PATH=/builddir/build/BUILD/rpkg-macros-.0.git.56.3f4188b/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.2YLOrFNGev' -s /builddir/build/BUILD/rpkg-macros-.0.git.56.3f4188b/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.bcOx5LVEJm/output | log_filter > /tmp/tmp.bcOx5LVEJm/log > diff /tmp/tmp.4se17ZKv2O/output /tmp/tmp.bcOx5LVEJm/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.bcOx5LVEJm/log && die; } > diff log /tmp/tmp.bcOx5LVEJm/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.r7avHQW4kI/.git/ [master (root-commit) a941d7a] hello world 3 files changed, 3 insertions(+) create mode 100644 cookie create mode 100644 foo/cookie create mode 100644 input > cat /tmp/tmp.r7avHQW4kI/input | preproc -C /tmp/tmp.r7avHQW4kI -e PATH=/builddir/build/BUILD/rpkg-macros-.0.git.56.3f4188b/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.r7avHQW4kI' -s /builddir/build/BUILD/rpkg-macros-.0.git.56.3f4188b/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.Aaowg4SXb7/output | log_filter > /tmp/tmp.Aaowg4SXb7/log > diff /tmp/tmp.LfShCFmBpU/output_clean /tmp/tmp.Aaowg4SXb7/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.Aaowg4SXb7/log && die; } > diff log /tmp/tmp.Aaowg4SXb7/log || die success. > cat /tmp/tmp.r7avHQW4kI/input | preproc -C /tmp/tmp.r7avHQW4kI -e PATH=/builddir/build/BUILD/rpkg-macros-.0.git.56.3f4188b/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.r7avHQW4kI' -s /builddir/build/BUILD/rpkg-macros-.0.git.56.3f4188b/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.Aaowg4SXb7/output | log_filter > /tmp/tmp.Aaowg4SXb7/log > diff /tmp/tmp.LfShCFmBpU/output_dirty /tmp/tmp.Aaowg4SXb7/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.Aaowg4SXb7/log && die; } > diff log /tmp/tmp.Aaowg4SXb7/log || die success. Updated 1 path from the index > cat /tmp/tmp.r7avHQW4kI/input | preproc -C /tmp/tmp.r7avHQW4kI -e GIT_DIRTY=1 -e PATH=/builddir/build/BUILD/rpkg-macros-.0.git.56.3f4188b/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.r7avHQW4kI' -s /builddir/build/BUILD/rpkg-macros-.0.git.56.3f4188b/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.Aaowg4SXb7/output | log_filter > /tmp/tmp.Aaowg4SXb7/log > diff /tmp/tmp.LfShCFmBpU/output_dirty_manual /tmp/tmp.Aaowg4SXb7/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.Aaowg4SXb7/log && die; } > diff log /tmp/tmp.Aaowg4SXb7/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.1ZOkoJAxgs/.git/ > cat /tmp/tmp.1ZOkoJAxgs/input | preproc -C /tmp/tmp.1ZOkoJAxgs -e PATH=/builddir/build/BUILD/rpkg-macros-.0.git.56.3f4188b/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.1ZOkoJAxgs' -s /builddir/build/BUILD/rpkg-macros-.0.git.56.3f4188b/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.iE5eMj9Udf/output | log_filter > /tmp/tmp.iE5eMj9Udf/log > diff /tmp/tmp.dDMVpdWq0f/output /tmp/tmp.iE5eMj9Udf/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.iE5eMj9Udf/log && die; } > diff log /tmp/tmp.iE5eMj9Udf/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.76GP8bdg0T/.git/ > cat /tmp/tmp.76GP8bdg0T/input | preproc -C /tmp/tmp.76GP8bdg0T -e PATH=/builddir/build/BUILD/rpkg-macros-.0.git.56.3f4188b/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.76GP8bdg0T' -s /builddir/build/BUILD/rpkg-macros-.0.git.56.3f4188b/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.3veV6TU3nA/output | log_filter > /tmp/tmp.3veV6TU3nA/log > diff /tmp/tmp.Vr4GMRKDC0/output /tmp/tmp.3veV6TU3nA/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.3veV6TU3nA/log && die; } > diff log /tmp/tmp.3veV6TU3nA/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.2L5pAUVcsX/.git/ > cat /tmp/tmp.2L5pAUVcsX/input | preproc -C /tmp/tmp.2L5pAUVcsX -e OUTDIR=/tmp/tmp.zCiyPzb4Tc -e PATH=/builddir/build/BUILD/rpkg-macros-.0.git.56.3f4188b/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.2L5pAUVcsX' -s /builddir/build/BUILD/rpkg-macros-.0.git.56.3f4188b/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.zCiyPzb4Tc/output | log_filter > /tmp/tmp.zCiyPzb4Tc/log > diff /tmp/tmp.6a1J0RuLc8/output /tmp/tmp.zCiyPzb4Tc/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.zCiyPzb4Tc/log && die; } > diff log /tmp/tmp.zCiyPzb4Tc/log || die > custom_test > tar -C /tmp/tmp.zCiyPzb4Tc -xf /tmp/tmp.zCiyPzb4Tc/foo.tar.gz || die > diff /tmp/tmp.zCiyPzb4Tc/foo/cookie /tmp/tmp.2L5pAUVcsX/cookie || die > ls /tmp/tmp.zCiyPzb4Tc/foo/cookie_ignored 2>/dev/null && die > ls /tmp/tmp.zCiyPzb4Tc/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.GMy9mthiH3/.git/ [master (root-commit) 7c5a8ba] commit 1 2 files changed, 3 insertions(+) create mode 100644 cookie create mode 100644 input > cat /tmp/tmp.GMy9mthiH3/input | preproc -C /tmp/tmp.GMy9mthiH3 -e OUTDIR=/tmp/tmp.MpyhWgeNVl -e PATH=/builddir/build/BUILD/rpkg-macros-.0.git.56.3f4188b/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.GMy9mthiH3' -s /builddir/build/BUILD/rpkg-macros-.0.git.56.3f4188b/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.MpyhWgeNVl/output | log_filter > /tmp/tmp.MpyhWgeNVl/log > diff /tmp/tmp.d5yhpyUrJI/output /tmp/tmp.MpyhWgeNVl/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.MpyhWgeNVl/log && die; } > diff log /tmp/tmp.MpyhWgeNVl/log || die > custom_test > tar -C /tmp/tmp.MpyhWgeNVl -xf /tmp/tmp.MpyhWgeNVl/foo.tar.gz || die > diff /tmp/tmp.MpyhWgeNVl/foo/cookie /tmp/tmp.GMy9mthiH3/cookie || die > [ '7c5a8ba3746609f50a599be6535d8f46d1cb9bb4' = '7c5a8ba3746609f50a599be6535d8f46d1cb9bb4' ] || die > tar -C /tmp/tmp.MpyhWgeNVl -xf /tmp/tmp.MpyhWgeNVl/bar.tar.gz || die > diff /tmp/tmp.MpyhWgeNVl/bar/cookie /tmp/tmp.GMy9mthiH3/cookie || die > [ '7c5a8ba3746609f50a599be6535d8f46d1cb9bb4' = '7c5a8ba3746609f50a599be6535d8f46d1cb9bb4' ] || die success. > cat /tmp/tmp.GMy9mthiH3/input | preproc -C /tmp/tmp.GMy9mthiH3 -e OUTDIR=/tmp/tmp.MpyhWgeNVl -e GIT_STATUS=somestatus -e PATH=/builddir/build/BUILD/rpkg-macros-.0.git.56.3f4188b/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.GMy9mthiH3' -s /builddir/build/BUILD/rpkg-macros-.0.git.56.3f4188b/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.MpyhWgeNVl/output | log_filter > /tmp/tmp.MpyhWgeNVl/log > test_nonempty_git_status > tar -C /tmp/tmp.MpyhWgeNVl -xf /tmp/tmp.MpyhWgeNVl/foo.tar.gz || die > diff /tmp/tmp.MpyhWgeNVl/foo/cookie /tmp/tmp.GMy9mthiH3/cookie || die > [ '7c5a8ba3746609f50a599be6535d8f46d1cb9bb4' = '' ] && die > tar -C /tmp/tmp.MpyhWgeNVl -xf /tmp/tmp.MpyhWgeNVl/bar.tar.gz || die > diff /tmp/tmp.MpyhWgeNVl/bar/cookie /tmp/tmp.GMy9mthiH3/cookie || die > [ '7c5a8ba3746609f50a599be6535d8f46d1cb9bb4' = '7c5a8ba3746609f50a599be6535d8f46d1cb9bb4' ] || die success. > cat /tmp/tmp.GMy9mthiH3/input | preproc -C /tmp/tmp.GMy9mthiH3 -e OUTDIR=/tmp/tmp.MpyhWgeNVl -e GIT_HEAD=somehead -e PATH=/builddir/build/BUILD/rpkg-macros-.0.git.56.3f4188b/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.GMy9mthiH3' -s /builddir/build/BUILD/rpkg-macros-.0.git.56.3f4188b/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.MpyhWgeNVl/output | log_filter > /tmp/tmp.MpyhWgeNVl/log > test_invalid_git_head > [ -f '/tmp/tmp.MpyhWgeNVl/foo.tar.gz' ] && die > [ -f '/tmp/tmp.MpyhWgeNVl/bar.tar.gz' ] && die success. > cat /tmp/tmp.GMy9mthiH3/input | preproc -C /tmp/tmp.GMy9mthiH3 -e OUTDIR=/tmp/tmp.MpyhWgeNVl -e GIT_HEAD= -e PATH=/builddir/build/BUILD/rpkg-macros-.0.git.56.3f4188b/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.GMy9mthiH3' -s /builddir/build/BUILD/rpkg-macros-.0.git.56.3f4188b/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.MpyhWgeNVl/output | log_filter > /tmp/tmp.MpyhWgeNVl/log > test_empty_git_head > tar -C /tmp/tmp.MpyhWgeNVl -xf /tmp/tmp.MpyhWgeNVl/foo.tar.gz || die > diff /tmp/tmp.MpyhWgeNVl/foo/cookie /tmp/tmp.GMy9mthiH3/cookie || die > [ '7c5a8ba3746609f50a599be6535d8f46d1cb9bb4' = '' ] && die > [ -f '/tmp/tmp.MpyhWgeNVl/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.8rT3SBxJus/.git/ [master (root-commit) 7c5a8ba] commit 1 2 files changed, 3 insertions(+) create mode 100644 cookie create mode 100644 input > cat /tmp/tmp.8rT3SBxJus/input | preproc -C /tmp/tmp.8rT3SBxJus -e OUTDIR=/tmp/tmp.XT3X7Uh3Kn -e PATH=/builddir/build/BUILD/rpkg-macros-.0.git.56.3f4188b/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.8rT3SBxJus' -s /builddir/build/BUILD/rpkg-macros-.0.git.56.3f4188b/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.XT3X7Uh3Kn/output | log_filter > /tmp/tmp.XT3X7Uh3Kn/log > diff /tmp/tmp.hVJ1yQoKBz/output /tmp/tmp.XT3X7Uh3Kn/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.XT3X7Uh3Kn/log && die; } > diff log /tmp/tmp.XT3X7Uh3Kn/log || die > custom_test > tar -C /tmp/tmp.XT3X7Uh3Kn -xf /tmp/tmp.XT3X7Uh3Kn/foo.tar.gz || die > diff /tmp/tmp.XT3X7Uh3Kn/foo/cookie /tmp/tmp.8rT3SBxJus/cookie || die > [ '7c5a8ba3746609f50a599be6535d8f46d1cb9bb4' = '' ] && die > tar -C /tmp/tmp.XT3X7Uh3Kn -xf /tmp/tmp.XT3X7Uh3Kn/bar.tar.gz || die > diff /tmp/tmp.XT3X7Uh3Kn/bar/cookie /tmp/tmp.8rT3SBxJus/cookie >/dev/null && die > [ '7c5a8ba3746609f50a599be6535d8f46d1cb9bb4' = '7c5a8ba3746609f50a599be6535d8f46d1cb9bb4' ] || 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.mHdvQNQgk4/.git/ [master (root-commit) 07655b6] 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.mHdvQNQgk4/bar/input | preproc -C /tmp/tmp.mHdvQNQgk4/foo -e OUTDIR=/tmp/tmp.ksU6rtcIlO -e PATH=/builddir/build/BUILD/rpkg-macros-.0.git.56.3f4188b/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.mHdvQNQgk4/bar' -s /builddir/build/BUILD/rpkg-macros-.0.git.56.3f4188b/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.ksU6rtcIlO/output | log_filter > /tmp/tmp.ksU6rtcIlO/log > diff /tmp/tmp.ovArkAWO4i/output /tmp/tmp.ksU6rtcIlO/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.ksU6rtcIlO/log && die; } > diff log /tmp/tmp.ksU6rtcIlO/log || die > custom_test > tar -C /tmp/tmp.ksU6rtcIlO -xf /tmp/tmp.ksU6rtcIlO/dir_pack_nodirname.tar.gz || die > diff /tmp/tmp.ksU6rtcIlO/test-bar/cookie /tmp/tmp.mHdvQNQgk4/bar/cookie || die > tar -C /tmp/tmp.ksU6rtcIlO -xf /tmp/tmp.ksU6rtcIlO/dir_archive_nodirname.tar.gz || die > diff /tmp/tmp.ksU6rtcIlO/test-bar/cookie /tmp/tmp.mHdvQNQgk4/bar/cookie || die > tar -C /tmp/tmp.ksU6rtcIlO -xf /tmp/tmp.ksU6rtcIlO/dir_pack_foo.tar.gz || die > diff /tmp/tmp.ksU6rtcIlO/foo/cookie /tmp/tmp.mHdvQNQgk4/bar/cookie || die > tar -C /tmp/tmp.ksU6rtcIlO -xf /tmp/tmp.ksU6rtcIlO/dir_archive_bar.tar.gz || die > diff /tmp/tmp.ksU6rtcIlO/bar/cookie /tmp/tmp.mHdvQNQgk4/bar/cookie || die > tar -C /tmp/tmp.ksU6rtcIlO -xf /tmp/tmp.ksU6rtcIlO/cwd_pack_nodirname.tar.gz || die > diff /tmp/tmp.ksU6rtcIlO/test-foo/cookie /tmp/tmp.mHdvQNQgk4/foo/cookie || die > tar -C /tmp/tmp.ksU6rtcIlO -xf /tmp/tmp.ksU6rtcIlO/cwd_archive_nodirname.tar.gz || die > diff /tmp/tmp.ksU6rtcIlO/test-foo/cookie /tmp/tmp.mHdvQNQgk4/foo/cookie || die > tar -C /tmp/tmp.ksU6rtcIlO -xf /tmp/tmp.ksU6rtcIlO/cwd_pack_foo.tar.gz || die > diff /tmp/tmp.ksU6rtcIlO/foo/cookie /tmp/tmp.mHdvQNQgk4/foo/cookie || die > tar -C /tmp/tmp.ksU6rtcIlO -xf /tmp/tmp.ksU6rtcIlO/cwd_archive_bar.tar.gz || die > diff /tmp/tmp.ksU6rtcIlO/bar/cookie /tmp/tmp.mHdvQNQgk4/foo/cookie || die > tar -C /tmp/tmp.ksU6rtcIlO -xf /tmp/tmp.ksU6rtcIlO/baz_pack_nodirname.tar.gz || die > diff /tmp/tmp.ksU6rtcIlO/test-baz/cookie /tmp/tmp.mHdvQNQgk4/baz/cookie || die > tar -C /tmp/tmp.ksU6rtcIlO -xf /tmp/tmp.ksU6rtcIlO/baz_archive_nodirname.tar.gz || die > diff /tmp/tmp.ksU6rtcIlO/test-baz/cookie /tmp/tmp.mHdvQNQgk4/baz/cookie || die > tar -C /tmp/tmp.ksU6rtcIlO -xf /tmp/tmp.ksU6rtcIlO/baz_pack_foo.tar.gz || die > diff /tmp/tmp.ksU6rtcIlO/foo/cookie /tmp/tmp.mHdvQNQgk4/baz/cookie || die > ls /tmp/tmp.ksU6rtcIlO/foo/cookie_ignored 2>/dev/null && die > ls /tmp/tmp.ksU6rtcIlO/foo/cookie_unadded 2>/dev/null && die > tar -C /tmp/tmp.ksU6rtcIlO -xf /tmp/tmp.ksU6rtcIlO/baz_archive_bar.tar.gz || die > diff /tmp/tmp.ksU6rtcIlO/bar/cookie /tmp/tmp.mHdvQNQgk4/baz/cookie || die > ls /tmp/tmp.ksU6rtcIlO/bar/cookie_ignored 2>/dev/null && die > ls /tmp/tmp.ksU6rtcIlO/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.ANtshv0eui/.git/ > cat /tmp/tmp.ANtshv0eui/bar/input | preproc -C /tmp/tmp.ANtshv0eui/foo -e PATH=/builddir/build/BUILD/rpkg-macros-.0.git.56.3f4188b/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.ANtshv0eui/bar' -s /builddir/build/BUILD/rpkg-macros-.0.git.56.3f4188b/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.BZ475qn1rY/output | log_filter > /tmp/tmp.BZ475qn1rY/log > diff /tmp/tmp.ocCwifitdC/output /tmp/tmp.BZ475qn1rY/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.BZ475qn1rY/log && die; } > diff log /tmp/tmp.BZ475qn1rY/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.TB9WJMmpBg/.git/ [master (root-commit) c6fe84f] 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.TB9WJMmpBg/submodule'... done. [master 97494a9] add submodule 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 submodule > cat /tmp/tmp.TB9WJMmpBg/input | preproc -C /tmp/tmp.TB9WJMmpBg -e PATH=/builddir/build/BUILD/rpkg-macros-.0.git.56.3f4188b/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.TB9WJMmpBg' -s /builddir/build/BUILD/rpkg-macros-.0.git.56.3f4188b/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.FpyajNv1kt/output | log_filter > /tmp/tmp.FpyajNv1kt/log > diff /tmp/tmp.dpQKZv1xt4/output /tmp/tmp.FpyajNv1kt/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.FpyajNv1kt/log && die; } > diff log /tmp/tmp.FpyajNv1kt/log || die success. > cat /tmp/tmp.TB9WJMmpBg/submodule/input_dir | preproc -C /tmp/tmp.TB9WJMmpBg -e PATH=/builddir/build/BUILD/rpkg-macros-.0.git.56.3f4188b/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.TB9WJMmpBg/submodule' -s /builddir/build/BUILD/rpkg-macros-.0.git.56.3f4188b/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.FpyajNv1kt/output | log_filter > /tmp/tmp.FpyajNv1kt/log > diff /tmp/tmp.dpQKZv1xt4/output_dir /tmp/tmp.FpyajNv1kt/output || { echo 'LOG DIFF:' && diff log_dir /tmp/tmp.FpyajNv1kt/log && die; } > diff log_dir /tmp/tmp.FpyajNv1kt/log || die success. > cat /tmp/tmp.TB9WJMmpBg/submodule/input_cwd | preproc -C /tmp/tmp.TB9WJMmpBg/submodule/subdir -e PATH=/builddir/build/BUILD/rpkg-macros-.0.git.56.3f4188b/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.TB9WJMmpBg/submodule' -s /builddir/build/BUILD/rpkg-macros-.0.git.56.3f4188b/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.FpyajNv1kt/output | log_filter > /tmp/tmp.FpyajNv1kt/log > diff /tmp/tmp.dpQKZv1xt4/output_cwd /tmp/tmp.FpyajNv1kt/output || { echo 'LOG DIFF:' && diff log_cwd /tmp/tmp.FpyajNv1kt/log && die; } > diff log_cwd /tmp/tmp.FpyajNv1kt/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.gN6hIxYupg/.git/ [master (root-commit) 59cb9ea] 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.gN6hIxYupg/submodule'... done. [master ec8c2d9] add submodule 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 submodule > cat /tmp/tmp.gN6hIxYupg/input_archive | preproc -C /tmp/tmp.gN6hIxYupg -e OUTDIR=/tmp/tmp.O2IkAN8s5a -e PATH=/builddir/build/BUILD/rpkg-macros-.0.git.56.3f4188b/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.gN6hIxYupg' -s /builddir/build/BUILD/rpkg-macros-.0.git.56.3f4188b/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.O2IkAN8s5a/output | log_filter > /tmp/tmp.O2IkAN8s5a/log > custom_test_archive_clean > tar -C /tmp/tmp.O2IkAN8s5a -xf /tmp/tmp.O2IkAN8s5a/test-ec8c2d96.tar.gz || die > [ -d /tmp/tmp.O2IkAN8s5a/test/submodule/subdir ] && die > tar -C /tmp/tmp.O2IkAN8s5a -xf /tmp/tmp.O2IkAN8s5a/test-submodule-ec8c2d96.tar.gz || die > [ -f /tmp/tmp.O2IkAN8s5a/test-submodule/subdir/cookie ] || die > cat /tmp/tmp.O2IkAN8s5a/test-submodule/subdir/cookie | grep -q 0 || die > tar -C /tmp/tmp.O2IkAN8s5a -xf /tmp/tmp.O2IkAN8s5a/test-submodule-subdir-ec8c2d96.tar.gz || die > [ -f /tmp/tmp.O2IkAN8s5a/test-submodule-subdir/cookie ] || die > cat /tmp/tmp.O2IkAN8s5a/test-submodule-subdir/cookie | grep -q 0 || die success. > cat /tmp/tmp.gN6hIxYupg/input_pack | preproc -C /tmp/tmp.gN6hIxYupg -e OUTDIR=/tmp/tmp.O2IkAN8s5a -e PATH=/builddir/build/BUILD/rpkg-macros-.0.git.56.3f4188b/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.gN6hIxYupg' -s /builddir/build/BUILD/rpkg-macros-.0.git.56.3f4188b/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.O2IkAN8s5a/output | log_filter > /tmp/tmp.O2IkAN8s5a/log > custom_test_pack_clean > tar -C /tmp/tmp.O2IkAN8s5a -xf /tmp/tmp.O2IkAN8s5a/test-ec8c2d96.tar.gz || die > [ -f /tmp/tmp.O2IkAN8s5a/test/submodule/subdir ] && die > tar -C /tmp/tmp.O2IkAN8s5a -xf /tmp/tmp.O2IkAN8s5a/test-submodule-ec8c2d96.tar.gz || die > [ -f /tmp/tmp.O2IkAN8s5a/test-submodule/subdir/cookie ] || die > cat /tmp/tmp.O2IkAN8s5a/test-submodule/subdir/cookie | grep -q 0 || die > tar -C /tmp/tmp.O2IkAN8s5a -xf /tmp/tmp.O2IkAN8s5a/test-submodule-subdir-ec8c2d96.tar.gz || die > [ -f /tmp/tmp.O2IkAN8s5a/test-submodule-subdir/cookie ] || die > cat /tmp/tmp.O2IkAN8s5a/test-submodule-subdir/cookie | grep -q 0 || die success. [master 57f8673] submodule new commit 1 file changed, 1 insertion(+) > cat /tmp/tmp.gN6hIxYupg/input_archive | preproc -C /tmp/tmp.gN6hIxYupg -e OUTDIR=/tmp/tmp.O2IkAN8s5a -e PATH=/builddir/build/BUILD/rpkg-macros-.0.git.56.3f4188b/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.gN6hIxYupg' -s /builddir/build/BUILD/rpkg-macros-.0.git.56.3f4188b/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.O2IkAN8s5a/output | log_filter > /tmp/tmp.O2IkAN8s5a/log > custom_test_archive_submodule_new_commit > tar -C /tmp/tmp.O2IkAN8s5a -xf /tmp/tmp.O2IkAN8s5a/test-ec8c2d96.tar.gz || die > [ -d /tmp/tmp.O2IkAN8s5a/test/submodule/subdir ] && die > tar -C /tmp/tmp.O2IkAN8s5a -xf /tmp/tmp.O2IkAN8s5a/test-submodule-ec8c2d96.tar.gz || die > [ -f /tmp/tmp.O2IkAN8s5a/test-submodule/subdir/cookie ] || die > cat /tmp/tmp.O2IkAN8s5a/test-submodule/subdir/cookie | grep -q 0 || die > tar -C /tmp/tmp.O2IkAN8s5a -xf /tmp/tmp.O2IkAN8s5a/test-submodule-subdir-ec8c2d96.tar.gz || die > [ -f /tmp/tmp.O2IkAN8s5a/test-submodule-subdir/cookie ] || die > cat /tmp/tmp.O2IkAN8s5a/test-submodule-subdir/cookie | grep -q 0 || die success. > cat /tmp/tmp.gN6hIxYupg/input_pack | preproc -C /tmp/tmp.gN6hIxYupg -e OUTDIR=/tmp/tmp.O2IkAN8s5a -e PATH=/builddir/build/BUILD/rpkg-macros-.0.git.56.3f4188b/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.gN6hIxYupg' -s /builddir/build/BUILD/rpkg-macros-.0.git.56.3f4188b/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.O2IkAN8s5a/output | log_filter > /tmp/tmp.O2IkAN8s5a/log > custom_test_pack_submodule_new_commit > tar -C /tmp/tmp.O2IkAN8s5a -xf /tmp/tmp.O2IkAN8s5a/test-ec8c2d96-dirty.tar.gz || die > [ -d /tmp/tmp.O2IkAN8s5a/test/submodule/subdir ] && die > tar -C /tmp/tmp.O2IkAN8s5a -xf /tmp/tmp.O2IkAN8s5a/test-submodule-ec8c2d96-dirty.tar.gz || die > cat /tmp/tmp.O2IkAN8s5a/test-submodule/subdir/cookie | grep -q 1 || die > tar -C /tmp/tmp.O2IkAN8s5a -xf /tmp/tmp.O2IkAN8s5a/test-submodule-subdir-ec8c2d96.tar.gz || die > cat /tmp/tmp.O2IkAN8s5a/test-submodule-subdir/cookie | grep -q 1 || die success. > cat /tmp/tmp.gN6hIxYupg/input_archive | preproc -C /tmp/tmp.gN6hIxYupg -e OUTDIR=/tmp/tmp.O2IkAN8s5a -e PATH=/builddir/build/BUILD/rpkg-macros-.0.git.56.3f4188b/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.gN6hIxYupg' -s /builddir/build/BUILD/rpkg-macros-.0.git.56.3f4188b/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.O2IkAN8s5a/output | log_filter > /tmp/tmp.O2IkAN8s5a/log > custom_test_archive_submodule_dirty > tar -C /tmp/tmp.O2IkAN8s5a -xf /tmp/tmp.O2IkAN8s5a/test-ec8c2d96.tar.gz || die > [ -d /tmp/tmp.O2IkAN8s5a/test/submodule/subdir ] && die > tar -C /tmp/tmp.O2IkAN8s5a -xf /tmp/tmp.O2IkAN8s5a/test-submodule-ec8c2d96.tar.gz || die > [ -f /tmp/tmp.O2IkAN8s5a/test-submodule/subdir/cookie ] || die > cat /tmp/tmp.O2IkAN8s5a/test-submodule/subdir/cookie | grep -q 0 || die > tar -C /tmp/tmp.O2IkAN8s5a -xf /tmp/tmp.O2IkAN8s5a/test-submodule-subdir-ec8c2d96.tar.gz || die > [ -f /tmp/tmp.O2IkAN8s5a/test-submodule-subdir/cookie ] || die > cat /tmp/tmp.O2IkAN8s5a/test-submodule-subdir/cookie | grep -q 0 || die success. > cat /tmp/tmp.gN6hIxYupg/input_pack | preproc -C /tmp/tmp.gN6hIxYupg -e OUTDIR=/tmp/tmp.O2IkAN8s5a -e PATH=/builddir/build/BUILD/rpkg-macros-.0.git.56.3f4188b/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.gN6hIxYupg' -s /builddir/build/BUILD/rpkg-macros-.0.git.56.3f4188b/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.O2IkAN8s5a/output | log_filter > /tmp/tmp.O2IkAN8s5a/log > custom_test_pack_submodule_dirty > tar -C /tmp/tmp.O2IkAN8s5a -xf /tmp/tmp.O2IkAN8s5a/test-ec8c2d96-dirty.tar.gz || die > [ -d /tmp/tmp.O2IkAN8s5a/test/submodule/subdir ] && die > tar -C /tmp/tmp.O2IkAN8s5a -xf /tmp/tmp.O2IkAN8s5a/test-submodule-ec8c2d96-dirty.tar.gz || die > cat /tmp/tmp.O2IkAN8s5a/test-submodule/subdir/cookie | grep -q 2 || die > tar -C /tmp/tmp.O2IkAN8s5a -xf /tmp/tmp.O2IkAN8s5a/test-submodule-subdir-ec8c2d96.tar.gz || die > cat /tmp/tmp.O2IkAN8s5a/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.br8k1zLmTU/.git/ [master (root-commit) 807b151] 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 5660d32] side branch commit 1 file changed, 1 insertion(+) Switched to branch 'master' > cat /tmp/tmp.br8k1zLmTU/input | preproc -C /tmp/tmp.br8k1zLmTU -e PATH=/builddir/build/BUILD/rpkg-macros-.0.git.56.3f4188b/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.br8k1zLmTU' -s /builddir/build/BUILD/rpkg-macros-.0.git.56.3f4188b/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.VRKp63FN8d/output | log_filter > /tmp/tmp.VRKp63FN8d/log > diff /tmp/tmp.SnYSzqmeQT/output /tmp/tmp.VRKp63FN8d/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.VRKp63FN8d/log && die; } > diff log /tmp/tmp.VRKp63FN8d/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.c7nUbEX6aU/.git/ [master (root-commit) de305fc] inital_commit 2 files changed, 117 insertions(+) create mode 100644 foo/file create mode 100644 input [master 9098ab5] commit after tag 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 file > cat /tmp/tmp.c7nUbEX6aU/input | preproc -C /tmp/tmp.c7nUbEX6aU -e PATH=/builddir/build/BUILD/rpkg-macros-.0.git.56.3f4188b/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.c7nUbEX6aU' -s /builddir/build/BUILD/rpkg-macros-.0.git.56.3f4188b/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.0qnCIC8ndw/output | log_filter > /tmp/tmp.0qnCIC8ndw/log > diff /tmp/tmp.kZ6chE0Sqj/output /tmp/tmp.0qnCIC8ndw/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.0qnCIC8ndw/log && die; } > diff log /tmp/tmp.0qnCIC8ndw/log || die success. ====================== test_uninited ====================== > cat /tmp/tmp.cuABEmXRYp/input | preproc -C /tmp/tmp.cuABEmXRYp -e PATH=/builddir/build/BUILD/rpkg-macros-.0.git.56.3f4188b/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.cuABEmXRYp' -s /builddir/build/BUILD/rpkg-macros-.0.git.56.3f4188b/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.YBbwuTf75w/output | log_filter > /tmp/tmp.YBbwuTf75w/log > diff /tmp/tmp.gSCfGj4nOK/output /tmp/tmp.YBbwuTf75w/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.YBbwuTf75w/log && die; } > diff log /tmp/tmp.YBbwuTf75w/log || die success. + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rpkg-macros-.0.git.56.3f4188b-1.fc36.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.GsrUwN + umask 022 + cd /builddir/build/BUILD + cd rpkg-macros-.0.git.56.3f4188b + LICENSEDIR=/builddir/build/BUILDROOT/rpkg-macros-.0.git.56.3f4188b-1.fc36.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-.0.git.56.3f4188b-1.fc36.x86_64/usr/share/licenses/rpkg-macros + cp -pr LICENSE /builddir/build/BUILDROOT/rpkg-macros-.0.git.56.3f4188b-1.fc36.x86_64/usr/share/licenses/rpkg-macros + RPM_EC=0 ++ jobs -p + exit 0 Provides: rpkg-macros = .0.git.56.3f4188b-1.fc36 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-.0.git.56.3f4188b-1.fc36.x86_64 Wrote: /builddir/build/RPMS/rpkg-macros-.0.git.56.3f4188b-1.fc36.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.MWlLcA + umask 022 + cd /builddir/build/BUILD + cd rpkg-macros-.0.git.56.3f4188b + /usr/bin/rm -rf /builddir/build/BUILDROOT/rpkg-macros-.0.git.56.3f4188b-1.fc36.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0