Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rpkg-macros.spec'], chrootPath='/var/lib/mock/rhel+epel-9-x86_64-1678143956.655114/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.b213xw7k:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.b213xw7k:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'a0fbaf3bf4df4f439e60d2a7e272e72e', '-D', '/var/lib/mock/rhel+epel-9-x86_64-1678143956.655114/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.b213xw7k:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rpkg-macros.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1610928000 Wrote: /builddir/build/SRPMS/rpkg-macros-2.0.git.67.0afd61f2-1.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-1678143956.655114/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.b213xw7k:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.b213xw7k:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '06f0714ef8d346f8847a344e968fe198', '-D', '/var/lib/mock/rhel+epel-9-x86_64-1678143956.655114/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.b213xw7k:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/rpkg-macros.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1610928000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.fTaMGB + 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-0afd61f2.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.Lh8boj + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rpkg-macros-2.0.git.67.0afd61f2-1.el9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rpkg-macros-2.0.git.67.0afd61f2-1.el9.x86_64 ++ dirname /builddir/build/BUILDROOT/rpkg-macros-2.0.git.67.0afd61f2-1.el9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rpkg-macros-2.0.git.67.0afd61f2-1.el9.x86_64 + cd rpkg-util-macros + install -d /builddir/build/BUILDROOT/rpkg-macros-2.0.git.67.0afd61f2-1.el9.x86_64/usr/lib + install -d /builddir/build/BUILDROOT/rpkg-macros-2.0.git.67.0afd61f2-1.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.git.67.0afd61f2-1.el9.x86_64/usr/lib/rpkg.macros.d + install -d /builddir/build/BUILDROOT/rpkg-macros-2.0.git.67.0afd61f2-1.el9.x86_64/usr/bin + install -p -m 755 bin/pack_sources /builddir/build/BUILDROOT/rpkg-macros-2.0.git.67.0afd61f2-1.el9.x86_64/usr/bin/pack_sources + install -d /builddir/build/BUILDROOT/rpkg-macros-2.0.git.67.0afd61f2-1.el9.x86_64/usr/share/man/man1 + install -p -m 644 man/rpkg-macros.1 /builddir/build/BUILDROOT/rpkg-macros-2.0.git.67.0afd61f2-1.el9.x86_64//usr/share/man/man1/ + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 2.0.git.67.0afd61f2-1.el9 --unique-debug-suffix -2.0.git.67.0afd61f2-1.el9.x86_64 --unique-debug-src-base rpkg-macros-2.0.git.67.0afd61f2-1.el9.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 --remove-section .gnu.build.attributes -S debugsourcefiles.list /builddir/build/BUILD/rpkg-util-macros find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/bin/pack_sources from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib/rpkg.macros.d/helpers/git_submodule_refs from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib/rpkg.macros.d/helpers/git_status from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib/rpkg.macros.d/helpers/git_root from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib/rpkg.macros.d/helpers/git_remote_url from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib/rpkg.macros.d/helpers/git_remote from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib/rpkg.macros.d/helpers/git_merged_tag_refs from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib/rpkg.macros.d/helpers/git_head_short from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib/rpkg.macros.d/helpers/git_head from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib/rpkg.macros.d/helpers/git_branch from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib/rpkg.macros.d/helpers/git from /bin/bash to #!/usr/bin/bash Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.0ZE9Xe + 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.a6N9n4F47z/.git/ > cat /tmp/tmp.a6N9n4F47z/input | preproc -C /tmp/tmp.a6N9n4F47z -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.a6N9n4F47z' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.KWCsORWmPN/output | log_filter > /tmp/tmp.KWCsORWmPN/log > diff /tmp/tmp.mXplUb54la/output /tmp/tmp.KWCsORWmPN/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.KWCsORWmPN/log && die; } > diff log /tmp/tmp.KWCsORWmPN/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.m1m0W5YWoW/.git/ [master (root-commit) 1ee8ccb] commit 1 1 file changed, 117 insertions(+) create mode 100644 input [master 5934336] commit 2 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 foo/file [master 406407b] commit 3 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 bar/file > cat /tmp/tmp.m1m0W5YWoW/input | preproc -C /tmp/tmp.m1m0W5YWoW -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.m1m0W5YWoW' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.8MVDvf19K1/output | log_filter > /tmp/tmp.8MVDvf19K1/log > diff /tmp/tmp.ei7aVyhTaR/output /tmp/tmp.8MVDvf19K1/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.8MVDvf19K1/log && die; } > diff log /tmp/tmp.8MVDvf19K1/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.Vj159HLvPS/.git/ [master (root-commit) 9042e96] inital_commit 2 files changed, 117 insertions(+) create mode 100644 foo/file create mode 100644 input > cat /tmp/tmp.Vj159HLvPS/input | preproc -C /tmp/tmp.Vj159HLvPS -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.Vj159HLvPS' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.C03cabv9Uj/output | log_filter > /tmp/tmp.C03cabv9Uj/log > diff /tmp/tmp.jyq9MnrCql/output /tmp/tmp.C03cabv9Uj/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.C03cabv9Uj/log && die; } > diff log /tmp/tmp.C03cabv9Uj/log || die success. ====================== test_fn_bumped_version ====================== > cat /tmp/tmp.cs11GC1pqs/input | preproc -C /tmp/tmp.cs11GC1pqs -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.cs11GC1pqs' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.KM8a8qJDvD/output | log_filter > /tmp/tmp.KM8a8qJDvD/log > diff /tmp/tmp.XtgkyVcv0l/output /tmp/tmp.KM8a8qJDvD/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.KM8a8qJDvD/log && die; } > diff log /tmp/tmp.KM8a8qJDvD/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.fNRVX9SIBu/.git/ [master (root-commit) c747ca2] add subdir with file 2 files changed, 6 insertions(+) create mode 100644 input create mode 100644 subdir/file Cloning into '/tmp/tmp.fNRVX9SIBu/submodule'... done. [master 89f1bb7] add submodule 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 submodule > cat /tmp/tmp.fNRVX9SIBu/input | preproc -C /tmp/tmp.fNRVX9SIBu -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.fNRVX9SIBu' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.3eQOudc9BM/output | log_filter > /tmp/tmp.3eQOudc9BM/log > diff /tmp/tmp.cMjfamZ5Wu/output /tmp/tmp.3eQOudc9BM/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.3eQOudc9BM/log && die; } > diff log /tmp/tmp.3eQOudc9BM/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.pYB6rjO4EH/.git/ > cat /tmp/tmp.pYB6rjO4EH/input | preproc -C /tmp/tmp.pYB6rjO4EH -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.pYB6rjO4EH' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.d9oG1lJ5Ak/output | log_filter > /tmp/tmp.d9oG1lJ5Ak/log > diff /tmp/tmp.1EV5rwp8xb/output /tmp/tmp.d9oG1lJ5Ak/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.d9oG1lJ5Ak/log && die; } > diff log /tmp/tmp.d9oG1lJ5Ak/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.yfzewHakcR/.git/ > cat /tmp/tmp.yfzewHakcR/input | preproc -C /tmp/tmp.yfzewHakcR -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.yfzewHakcR' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.0OXsW9iNQ3/output | log_filter > /tmp/tmp.0OXsW9iNQ3/log > diff /tmp/tmp.uxa6fIE4Su/output /tmp/tmp.0OXsW9iNQ3/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.0OXsW9iNQ3/log && die; } > diff log /tmp/tmp.0OXsW9iNQ3/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.taPulFuXAv/.git/ [master (root-commit) 4731412] hello world 3 files changed, 3 insertions(+) create mode 100644 cookie create mode 100644 foo/cookie create mode 100644 input > cat /tmp/tmp.taPulFuXAv/input | preproc -C /tmp/tmp.taPulFuXAv -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.taPulFuXAv' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.nXDsOn0GPX/output | log_filter > /tmp/tmp.nXDsOn0GPX/log > diff /tmp/tmp.tlGlrswsf0/output_clean /tmp/tmp.nXDsOn0GPX/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.nXDsOn0GPX/log && die; } > diff log /tmp/tmp.nXDsOn0GPX/log || die success. > cat /tmp/tmp.taPulFuXAv/input | preproc -C /tmp/tmp.taPulFuXAv -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.taPulFuXAv' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.nXDsOn0GPX/output | log_filter > /tmp/tmp.nXDsOn0GPX/log > diff /tmp/tmp.tlGlrswsf0/output_dirty /tmp/tmp.nXDsOn0GPX/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.nXDsOn0GPX/log && die; } > diff log /tmp/tmp.nXDsOn0GPX/log || die success. Updated 1 path from the index > cat /tmp/tmp.taPulFuXAv/input | preproc -C /tmp/tmp.taPulFuXAv -e GIT_DIRTY=1 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.taPulFuXAv' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.nXDsOn0GPX/output | log_filter > /tmp/tmp.nXDsOn0GPX/log > diff /tmp/tmp.tlGlrswsf0/output_dirty_manual /tmp/tmp.nXDsOn0GPX/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.nXDsOn0GPX/log && die; } > diff log /tmp/tmp.nXDsOn0GPX/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.Mds8APaRXM/.git/ > cat /tmp/tmp.Mds8APaRXM/input | preproc -C /tmp/tmp.Mds8APaRXM -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.Mds8APaRXM' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.6ZJ5Li11O3/output | log_filter > /tmp/tmp.6ZJ5Li11O3/log > diff /tmp/tmp.YkFSNnphyN/output /tmp/tmp.6ZJ5Li11O3/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.6ZJ5Li11O3/log && die; } > diff log /tmp/tmp.6ZJ5Li11O3/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.9vQwWx9FDB/.git/ > cat /tmp/tmp.9vQwWx9FDB/input | preproc -C /tmp/tmp.9vQwWx9FDB -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.9vQwWx9FDB' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.RLXFgEx9z3/output | log_filter > /tmp/tmp.RLXFgEx9z3/log > diff /tmp/tmp.XOCUgZMqwU/output /tmp/tmp.RLXFgEx9z3/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.RLXFgEx9z3/log && die; } > diff log /tmp/tmp.RLXFgEx9z3/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.fEiIMNLcrq/.git/ > cat /tmp/tmp.fEiIMNLcrq/input | preproc -C /tmp/tmp.fEiIMNLcrq -e OUTDIR=/tmp/tmp.JZnWzZGKqT -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.fEiIMNLcrq' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.JZnWzZGKqT/output | log_filter > /tmp/tmp.JZnWzZGKqT/log > diff /tmp/tmp.OcUtARsw6t/output /tmp/tmp.JZnWzZGKqT/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.JZnWzZGKqT/log && die; } > diff log /tmp/tmp.JZnWzZGKqT/log || die > custom_test > tar -C /tmp/tmp.JZnWzZGKqT -xf /tmp/tmp.JZnWzZGKqT/foo.tar.gz || die > diff /tmp/tmp.JZnWzZGKqT/foo/cookie /tmp/tmp.fEiIMNLcrq/cookie || die > ls /tmp/tmp.JZnWzZGKqT/foo/cookie_ignored 2>/dev/null && die > ls /tmp/tmp.JZnWzZGKqT/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.r3JPI5GWne/.git/ [master (root-commit) 05dc46e] commit 1 2 files changed, 3 insertions(+) create mode 100644 cookie create mode 100644 input > cat /tmp/tmp.r3JPI5GWne/input | preproc -C /tmp/tmp.r3JPI5GWne -e OUTDIR=/tmp/tmp.RASEeHQ3To -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.r3JPI5GWne' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.RASEeHQ3To/output | log_filter > /tmp/tmp.RASEeHQ3To/log > diff /tmp/tmp.4ZWTUAp6St/output /tmp/tmp.RASEeHQ3To/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.RASEeHQ3To/log && die; } > diff log /tmp/tmp.RASEeHQ3To/log || die > custom_test > tar -C /tmp/tmp.RASEeHQ3To -xf /tmp/tmp.RASEeHQ3To/foo.tar.gz || die > diff /tmp/tmp.RASEeHQ3To/foo/cookie /tmp/tmp.r3JPI5GWne/cookie || die > [ '05dc46ebf96c843bb2dda5fefa51abb8c422a4b9' = '05dc46ebf96c843bb2dda5fefa51abb8c422a4b9' ] || die > tar -C /tmp/tmp.RASEeHQ3To -xf /tmp/tmp.RASEeHQ3To/bar.tar.gz || die > diff /tmp/tmp.RASEeHQ3To/bar/cookie /tmp/tmp.r3JPI5GWne/cookie || die > [ '05dc46ebf96c843bb2dda5fefa51abb8c422a4b9' = '05dc46ebf96c843bb2dda5fefa51abb8c422a4b9' ] || die success. > cat /tmp/tmp.r3JPI5GWne/input | preproc -C /tmp/tmp.r3JPI5GWne -e OUTDIR=/tmp/tmp.RASEeHQ3To -e GIT_STATUS=somestatus -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.r3JPI5GWne' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.RASEeHQ3To/output | log_filter > /tmp/tmp.RASEeHQ3To/log > test_nonempty_git_status > tar -C /tmp/tmp.RASEeHQ3To -xf /tmp/tmp.RASEeHQ3To/foo.tar.gz || die > diff /tmp/tmp.RASEeHQ3To/foo/cookie /tmp/tmp.r3JPI5GWne/cookie || die > [ '05dc46ebf96c843bb2dda5fefa51abb8c422a4b9' = '' ] && die > tar -C /tmp/tmp.RASEeHQ3To -xf /tmp/tmp.RASEeHQ3To/bar.tar.gz || die > diff /tmp/tmp.RASEeHQ3To/bar/cookie /tmp/tmp.r3JPI5GWne/cookie || die > [ '05dc46ebf96c843bb2dda5fefa51abb8c422a4b9' = '05dc46ebf96c843bb2dda5fefa51abb8c422a4b9' ] || die success. > cat /tmp/tmp.r3JPI5GWne/input | preproc -C /tmp/tmp.r3JPI5GWne -e OUTDIR=/tmp/tmp.RASEeHQ3To -e GIT_HEAD=somehead -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.r3JPI5GWne' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.RASEeHQ3To/output | log_filter > /tmp/tmp.RASEeHQ3To/log > test_invalid_git_head > [ -f '/tmp/tmp.RASEeHQ3To/foo.tar.gz' ] && die > [ -f '/tmp/tmp.RASEeHQ3To/bar.tar.gz' ] && die success. > cat /tmp/tmp.r3JPI5GWne/input | preproc -C /tmp/tmp.r3JPI5GWne -e OUTDIR=/tmp/tmp.RASEeHQ3To -e GIT_HEAD= -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.r3JPI5GWne' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.RASEeHQ3To/output | log_filter > /tmp/tmp.RASEeHQ3To/log > test_empty_git_head > tar -C /tmp/tmp.RASEeHQ3To -xf /tmp/tmp.RASEeHQ3To/foo.tar.gz || die > diff /tmp/tmp.RASEeHQ3To/foo/cookie /tmp/tmp.r3JPI5GWne/cookie || die > [ '05dc46ebf96c843bb2dda5fefa51abb8c422a4b9' = '' ] && die > [ -f '/tmp/tmp.RASEeHQ3To/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.uDrNfcPALr/.git/ [master (root-commit) c7bb617] commit 1 2 files changed, 3 insertions(+) create mode 100644 cookie create mode 100644 input > cat /tmp/tmp.uDrNfcPALr/input | preproc -C /tmp/tmp.uDrNfcPALr -e OUTDIR=/tmp/tmp.f3xCmpim5T -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.uDrNfcPALr' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.f3xCmpim5T/output | log_filter > /tmp/tmp.f3xCmpim5T/log > diff /tmp/tmp.ha2yZvi4cz/output /tmp/tmp.f3xCmpim5T/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.f3xCmpim5T/log && die; } > diff log /tmp/tmp.f3xCmpim5T/log || die > custom_test > tar -C /tmp/tmp.f3xCmpim5T -xf /tmp/tmp.f3xCmpim5T/foo.tar.gz || die > diff /tmp/tmp.f3xCmpim5T/foo/cookie /tmp/tmp.uDrNfcPALr/cookie || die > [ 'c7bb617fe0996b8f56dcc0309bd7f9fe68fc6937' = '' ] && die > tar -C /tmp/tmp.f3xCmpim5T -xf /tmp/tmp.f3xCmpim5T/bar.tar.gz || die > diff /tmp/tmp.f3xCmpim5T/bar/cookie /tmp/tmp.uDrNfcPALr/cookie >/dev/null && die > [ 'c7bb617fe0996b8f56dcc0309bd7f9fe68fc6937' = 'c7bb617fe0996b8f56dcc0309bd7f9fe68fc6937' ] || 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.9jNhboqPj7/.git/ [master (root-commit) 4db1d7b] 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.9jNhboqPj7/bar/input | preproc -C /tmp/tmp.9jNhboqPj7/foo -e OUTDIR=/tmp/tmp.exnB96j24s -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.9jNhboqPj7/bar' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.exnB96j24s/output | log_filter > /tmp/tmp.exnB96j24s/log > diff /tmp/tmp.mxBcrbanLk/output /tmp/tmp.exnB96j24s/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.exnB96j24s/log && die; } > diff log /tmp/tmp.exnB96j24s/log || die > custom_test > tar -C /tmp/tmp.exnB96j24s -xf /tmp/tmp.exnB96j24s/dir_pack_nodirname.tar.gz || die > diff /tmp/tmp.exnB96j24s/test-bar/cookie /tmp/tmp.9jNhboqPj7/bar/cookie || die > tar -C /tmp/tmp.exnB96j24s -xf /tmp/tmp.exnB96j24s/dir_archive_nodirname.tar.gz || die > diff /tmp/tmp.exnB96j24s/test-bar/cookie /tmp/tmp.9jNhboqPj7/bar/cookie || die > tar -C /tmp/tmp.exnB96j24s -xf /tmp/tmp.exnB96j24s/dir_pack_foo.tar.gz || die > diff /tmp/tmp.exnB96j24s/foo/cookie /tmp/tmp.9jNhboqPj7/bar/cookie || die > tar -C /tmp/tmp.exnB96j24s -xf /tmp/tmp.exnB96j24s/dir_archive_bar.tar.gz || die > diff /tmp/tmp.exnB96j24s/bar/cookie /tmp/tmp.9jNhboqPj7/bar/cookie || die > tar -C /tmp/tmp.exnB96j24s -xf /tmp/tmp.exnB96j24s/cwd_pack_nodirname.tar.gz || die > diff /tmp/tmp.exnB96j24s/test-foo/cookie /tmp/tmp.9jNhboqPj7/foo/cookie || die > tar -C /tmp/tmp.exnB96j24s -xf /tmp/tmp.exnB96j24s/cwd_archive_nodirname.tar.gz || die > diff /tmp/tmp.exnB96j24s/test-foo/cookie /tmp/tmp.9jNhboqPj7/foo/cookie || die > tar -C /tmp/tmp.exnB96j24s -xf /tmp/tmp.exnB96j24s/cwd_pack_foo.tar.gz || die > diff /tmp/tmp.exnB96j24s/foo/cookie /tmp/tmp.9jNhboqPj7/foo/cookie || die > tar -C /tmp/tmp.exnB96j24s -xf /tmp/tmp.exnB96j24s/cwd_archive_bar.tar.gz || die > diff /tmp/tmp.exnB96j24s/bar/cookie /tmp/tmp.9jNhboqPj7/foo/cookie || die > tar -C /tmp/tmp.exnB96j24s -xf /tmp/tmp.exnB96j24s/baz_pack_nodirname.tar.gz || die > diff /tmp/tmp.exnB96j24s/test-baz/cookie /tmp/tmp.9jNhboqPj7/baz/cookie || die > tar -C /tmp/tmp.exnB96j24s -xf /tmp/tmp.exnB96j24s/baz_archive_nodirname.tar.gz || die > diff /tmp/tmp.exnB96j24s/test-baz/cookie /tmp/tmp.9jNhboqPj7/baz/cookie || die > tar -C /tmp/tmp.exnB96j24s -xf /tmp/tmp.exnB96j24s/baz_pack_foo.tar.gz || die > diff /tmp/tmp.exnB96j24s/foo/cookie /tmp/tmp.9jNhboqPj7/baz/cookie || die > ls /tmp/tmp.exnB96j24s/foo/cookie_ignored 2>/dev/null && die > ls /tmp/tmp.exnB96j24s/foo/cookie_unadded 2>/dev/null && die > tar -C /tmp/tmp.exnB96j24s -xf /tmp/tmp.exnB96j24s/baz_archive_bar.tar.gz || die > diff /tmp/tmp.exnB96j24s/bar/cookie /tmp/tmp.9jNhboqPj7/baz/cookie || die > ls /tmp/tmp.exnB96j24s/bar/cookie_ignored 2>/dev/null && die > ls /tmp/tmp.exnB96j24s/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.ANWYLlSwPU/.git/ > cat /tmp/tmp.ANWYLlSwPU/bar/input | preproc -C /tmp/tmp.ANWYLlSwPU/foo -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.ANWYLlSwPU/bar' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.Llsd6qpICV/output | log_filter > /tmp/tmp.Llsd6qpICV/log > diff /tmp/tmp.mwUJx28dXj/output /tmp/tmp.Llsd6qpICV/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.Llsd6qpICV/log && die; } > diff log /tmp/tmp.Llsd6qpICV/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.NHRvN2BT2P/.git/ [master (root-commit) 616c88e] 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.NHRvN2BT2P/submodule'... done. [master 285490b] add submodule 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 submodule > cat /tmp/tmp.NHRvN2BT2P/input | preproc -C /tmp/tmp.NHRvN2BT2P -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.NHRvN2BT2P' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.zIx8VlPJeT/output | log_filter > /tmp/tmp.zIx8VlPJeT/log > diff /tmp/tmp.Wer7ImSwDe/output /tmp/tmp.zIx8VlPJeT/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.zIx8VlPJeT/log && die; } > diff log /tmp/tmp.zIx8VlPJeT/log || die success. > cat /tmp/tmp.NHRvN2BT2P/submodule/input_dir | preproc -C /tmp/tmp.NHRvN2BT2P -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.NHRvN2BT2P/submodule' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.zIx8VlPJeT/output | log_filter > /tmp/tmp.zIx8VlPJeT/log > diff /tmp/tmp.Wer7ImSwDe/output_dir /tmp/tmp.zIx8VlPJeT/output || { echo 'LOG DIFF:' && diff log_dir /tmp/tmp.zIx8VlPJeT/log && die; } > diff log_dir /tmp/tmp.zIx8VlPJeT/log || die success. > cat /tmp/tmp.NHRvN2BT2P/submodule/input_cwd | preproc -C /tmp/tmp.NHRvN2BT2P/submodule/subdir -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.NHRvN2BT2P/submodule' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.zIx8VlPJeT/output | log_filter > /tmp/tmp.zIx8VlPJeT/log > diff /tmp/tmp.Wer7ImSwDe/output_cwd /tmp/tmp.zIx8VlPJeT/output || { echo 'LOG DIFF:' && diff log_cwd /tmp/tmp.zIx8VlPJeT/log && die; } > diff log_cwd /tmp/tmp.zIx8VlPJeT/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.mKTY47R85f/.git/ [master (root-commit) 9d859ee] 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.mKTY47R85f/submodule'... done. [master 97cc268] add submodule 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 submodule > cat /tmp/tmp.mKTY47R85f/input_archive | preproc -C /tmp/tmp.mKTY47R85f -e OUTDIR=/tmp/tmp.bdJDPIZS88 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.mKTY47R85f' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.bdJDPIZS88/output | log_filter > /tmp/tmp.bdJDPIZS88/log > custom_test_archive_clean > tar -C /tmp/tmp.bdJDPIZS88 -xf /tmp/tmp.bdJDPIZS88/test-97cc2689.tar.gz || die > [ -d /tmp/tmp.bdJDPIZS88/test/submodule/subdir ] && die > tar -C /tmp/tmp.bdJDPIZS88 -xf /tmp/tmp.bdJDPIZS88/test-submodule-97cc2689.tar.gz || die > [ -f /tmp/tmp.bdJDPIZS88/test-submodule/subdir/cookie ] || die > cat /tmp/tmp.bdJDPIZS88/test-submodule/subdir/cookie | grep -q 0 || die > tar -C /tmp/tmp.bdJDPIZS88 -xf /tmp/tmp.bdJDPIZS88/test-submodule-subdir-97cc2689.tar.gz || die > [ -f /tmp/tmp.bdJDPIZS88/test-submodule-subdir/cookie ] || die > cat /tmp/tmp.bdJDPIZS88/test-submodule-subdir/cookie | grep -q 0 || die success. > cat /tmp/tmp.mKTY47R85f/input_pack | preproc -C /tmp/tmp.mKTY47R85f -e OUTDIR=/tmp/tmp.bdJDPIZS88 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.mKTY47R85f' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.bdJDPIZS88/output | log_filter > /tmp/tmp.bdJDPIZS88/log > custom_test_pack_clean > tar -C /tmp/tmp.bdJDPIZS88 -xf /tmp/tmp.bdJDPIZS88/test-97cc2689.tar.gz || die > [ -f /tmp/tmp.bdJDPIZS88/test/submodule/subdir ] && die > tar -C /tmp/tmp.bdJDPIZS88 -xf /tmp/tmp.bdJDPIZS88/test-submodule-97cc2689.tar.gz || die > [ -f /tmp/tmp.bdJDPIZS88/test-submodule/subdir/cookie ] || die > cat /tmp/tmp.bdJDPIZS88/test-submodule/subdir/cookie | grep -q 0 || die > tar -C /tmp/tmp.bdJDPIZS88 -xf /tmp/tmp.bdJDPIZS88/test-submodule-subdir-97cc2689.tar.gz || die > [ -f /tmp/tmp.bdJDPIZS88/test-submodule-subdir/cookie ] || die > cat /tmp/tmp.bdJDPIZS88/test-submodule-subdir/cookie | grep -q 0 || die success. [master 4ccf4ce] submodule new commit 1 file changed, 1 insertion(+) > cat /tmp/tmp.mKTY47R85f/input_archive | preproc -C /tmp/tmp.mKTY47R85f -e OUTDIR=/tmp/tmp.bdJDPIZS88 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.mKTY47R85f' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.bdJDPIZS88/output | log_filter > /tmp/tmp.bdJDPIZS88/log > custom_test_archive_submodule_new_commit > tar -C /tmp/tmp.bdJDPIZS88 -xf /tmp/tmp.bdJDPIZS88/test-97cc2689.tar.gz || die > [ -d /tmp/tmp.bdJDPIZS88/test/submodule/subdir ] && die > tar -C /tmp/tmp.bdJDPIZS88 -xf /tmp/tmp.bdJDPIZS88/test-submodule-97cc2689.tar.gz || die > [ -f /tmp/tmp.bdJDPIZS88/test-submodule/subdir/cookie ] || die > cat /tmp/tmp.bdJDPIZS88/test-submodule/subdir/cookie | grep -q 0 || die > tar -C /tmp/tmp.bdJDPIZS88 -xf /tmp/tmp.bdJDPIZS88/test-submodule-subdir-97cc2689.tar.gz || die > [ -f /tmp/tmp.bdJDPIZS88/test-submodule-subdir/cookie ] || die > cat /tmp/tmp.bdJDPIZS88/test-submodule-subdir/cookie | grep -q 0 || die success. > cat /tmp/tmp.mKTY47R85f/input_pack | preproc -C /tmp/tmp.mKTY47R85f -e OUTDIR=/tmp/tmp.bdJDPIZS88 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.mKTY47R85f' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.bdJDPIZS88/output | log_filter > /tmp/tmp.bdJDPIZS88/log > custom_test_pack_submodule_new_commit > tar -C /tmp/tmp.bdJDPIZS88 -xf /tmp/tmp.bdJDPIZS88/test-97cc2689-dirty.tar.gz || die > [ -d /tmp/tmp.bdJDPIZS88/test/submodule/subdir ] && die > tar -C /tmp/tmp.bdJDPIZS88 -xf /tmp/tmp.bdJDPIZS88/test-submodule-97cc2689-dirty.tar.gz || die > cat /tmp/tmp.bdJDPIZS88/test-submodule/subdir/cookie | grep -q 1 || die > tar -C /tmp/tmp.bdJDPIZS88 -xf /tmp/tmp.bdJDPIZS88/test-submodule-subdir-97cc2689.tar.gz || die > cat /tmp/tmp.bdJDPIZS88/test-submodule-subdir/cookie | grep -q 1 || die success. > cat /tmp/tmp.mKTY47R85f/input_archive | preproc -C /tmp/tmp.mKTY47R85f -e OUTDIR=/tmp/tmp.bdJDPIZS88 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.mKTY47R85f' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.bdJDPIZS88/output | log_filter > /tmp/tmp.bdJDPIZS88/log > custom_test_archive_submodule_dirty > tar -C /tmp/tmp.bdJDPIZS88 -xf /tmp/tmp.bdJDPIZS88/test-97cc2689.tar.gz || die > [ -d /tmp/tmp.bdJDPIZS88/test/submodule/subdir ] && die > tar -C /tmp/tmp.bdJDPIZS88 -xf /tmp/tmp.bdJDPIZS88/test-submodule-97cc2689.tar.gz || die > [ -f /tmp/tmp.bdJDPIZS88/test-submodule/subdir/cookie ] || die > cat /tmp/tmp.bdJDPIZS88/test-submodule/subdir/cookie | grep -q 0 || die > tar -C /tmp/tmp.bdJDPIZS88 -xf /tmp/tmp.bdJDPIZS88/test-submodule-subdir-97cc2689.tar.gz || die > [ -f /tmp/tmp.bdJDPIZS88/test-submodule-subdir/cookie ] || die > cat /tmp/tmp.bdJDPIZS88/test-submodule-subdir/cookie | grep -q 0 || die success. > cat /tmp/tmp.mKTY47R85f/input_pack | preproc -C /tmp/tmp.mKTY47R85f -e OUTDIR=/tmp/tmp.bdJDPIZS88 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.mKTY47R85f' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.bdJDPIZS88/output | log_filter > /tmp/tmp.bdJDPIZS88/log > custom_test_pack_submodule_dirty > tar -C /tmp/tmp.bdJDPIZS88 -xf /tmp/tmp.bdJDPIZS88/test-97cc2689-dirty.tar.gz || die > [ -d /tmp/tmp.bdJDPIZS88/test/submodule/subdir ] && die > tar -C /tmp/tmp.bdJDPIZS88 -xf /tmp/tmp.bdJDPIZS88/test-submodule-97cc2689-dirty.tar.gz || die > cat /tmp/tmp.bdJDPIZS88/test-submodule/subdir/cookie | grep -q 2 || die > tar -C /tmp/tmp.bdJDPIZS88 -xf /tmp/tmp.bdJDPIZS88/test-submodule-subdir-97cc2689.tar.gz || die > cat /tmp/tmp.bdJDPIZS88/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.Ntm8ey1xcY/.git/ [master (root-commit) 850b147] 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 6bbd467] side branch commit 1 file changed, 1 insertion(+) Switched to branch 'master' > cat /tmp/tmp.Ntm8ey1xcY/input | preproc -C /tmp/tmp.Ntm8ey1xcY -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.Ntm8ey1xcY' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.FlG84019ID/output | log_filter > /tmp/tmp.FlG84019ID/log > diff /tmp/tmp.aM1ToGCWd6/output /tmp/tmp.FlG84019ID/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.FlG84019ID/log && die; } > diff log /tmp/tmp.FlG84019ID/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.camtYIovhZ/.git/ [master (root-commit) 710cfd5] inital_commit 2 files changed, 117 insertions(+) create mode 100644 foo/file create mode 100644 input [master a2449af] commit after tag 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 file > cat /tmp/tmp.camtYIovhZ/input | preproc -C /tmp/tmp.camtYIovhZ -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.camtYIovhZ' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.1bFDETPywH/output | log_filter > /tmp/tmp.1bFDETPywH/log > diff /tmp/tmp.DPq48RUWQY/output /tmp/tmp.1bFDETPywH/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.1bFDETPywH/log && die; } > diff log /tmp/tmp.1bFDETPywH/log || die success. ====================== test_uninited ====================== > cat /tmp/tmp.NJHBFFhuo6/input | preproc -C /tmp/tmp.NJHBFFhuo6 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.NJHBFFhuo6' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.XEmA4GJLfN/output | log_filter > /tmp/tmp.XEmA4GJLfN/log > diff /tmp/tmp.aXTdwbli3L/output /tmp/tmp.XEmA4GJLfN/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.XEmA4GJLfN/log && die; } > diff log /tmp/tmp.XEmA4GJLfN/log || die success. + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rpkg-macros-2.0.git.67.0afd61f2-1.el9.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.QCEef6 + umask 022 + cd /builddir/build/BUILD + cd rpkg-util-macros + LICENSEDIR=/builddir/build/BUILDROOT/rpkg-macros-2.0.git.67.0afd61f2-1.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.git.67.0afd61f2-1.el9.x86_64/usr/share/licenses/rpkg-macros + cp -pr LICENSE /builddir/build/BUILDROOT/rpkg-macros-2.0.git.67.0afd61f2-1.el9.x86_64/usr/share/licenses/rpkg-macros + RPM_EC=0 ++ jobs -p + exit 0 Provides: rpkg-macros = 2.0.git.67.0afd61f2-1.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.git.67.0afd61f2-1.el9.x86_64 Wrote: /builddir/build/RPMS/rpkg-macros-2.0.git.67.0afd61f2-1.el9.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.lqPXhj + umask 022 + cd /builddir/build/BUILD + cd rpkg-util-macros + /usr/bin/rm -rf /builddir/build/BUILDROOT/rpkg-macros-2.0.git.67.0afd61f2-1.el9.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0