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/openeuler-24.03_LTS_SP1-x86_64-1739788355.460556/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=[]unshare_net=TrueprintOutput=True) Executing command: ['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'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/rpkg-macros-2.0-1.src.rpm Child return code was: 0 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/openeuler-24.03_LTS_SP1-x86_64-1739788355.460556/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=[]unshare_net=TrueprintOutput=True) Executing command: ['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'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/rpkg-macros-2.0-1.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/openeuler-24.03_LTS_SP1-x86_64-1739788355.460556/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=[]unshare_net=TrueprintOutput=True) Executing command: ['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'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.2wpVBx + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rpkg-util-macros + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/rpkg-util-macros-28034317.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd rpkg-util-macros + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/allow_protocol_file.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.AitIBq + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rpkg-macros-2.0-1.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rpkg-macros-2.0-1.x86_64 ++ dirname /builddir/build/BUILDROOT/rpkg-macros-2.0-1.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rpkg-macros-2.0-1.x86_64 + cd rpkg-util-macros + install -d /builddir/build/BUILDROOT/rpkg-macros-2.0-1.x86_64/usr/lib + install -d /builddir/build/BUILDROOT/rpkg-macros-2.0-1.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-1.x86_64/usr/lib/rpkg.macros.d + install -d /builddir/build/BUILDROOT/rpkg-macros-2.0-1.x86_64/usr/bin + install -p -m 755 bin/pack_sources /builddir/build/BUILDROOT/rpkg-macros-2.0-1.x86_64/usr/bin/pack_sources + install -d /builddir/build/BUILDROOT/rpkg-macros-2.0-1.x86_64/usr/share/man/man1 + install -p -m 644 man/rpkg-macros.1 /builddir/build/BUILDROOT/rpkg-macros-2.0-1.x86_64//usr/share/man/man1/ + /usr/bin/find-debuginfo -j4 --strict-build-id -i --build-id-seed 2.0-1 --unique-debug-suffix -2.0-1.x86_64 --unique-debug-src-base rpkg-macros-2.0-1.x86_64 -S debugsourcefiles.list /builddir/build/BUILD/rpkg-util-macros find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 1 + /usr/lib/rpm/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.6Wg2Ix + umask 022 + cd /builddir/build/BUILD + cd rpkg-util-macros + git config --global protocol.file.allow always + PATH=bin/:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + tests/run fatal: not in a git directory ====================== 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.by3R1M6BEb/.git/ > cat /tmp/tmp.by3R1M6BEb/input | preproc -C /tmp/tmp.by3R1M6BEb -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.by3R1M6BEb' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.i62SC52PhV/output | log_filter > /tmp/tmp.i62SC52PhV/log > diff /tmp/tmp.VZlPavHQ16/output /tmp/tmp.i62SC52PhV/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.i62SC52PhV/log && die; } > diff log /tmp/tmp.i62SC52PhV/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.f7lAvwG6gN/.git/ [master (root-commit) 5b0afb3] commit 1 1 file changed, 117 insertions(+) create mode 100644 input [master 5448b4f] commit 2 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 foo/file [master b961fc1] commit 3 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 bar/file > cat /tmp/tmp.f7lAvwG6gN/input | preproc -C /tmp/tmp.f7lAvwG6gN -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.f7lAvwG6gN' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.EhdPN9qOol/output | log_filter > /tmp/tmp.EhdPN9qOol/log > diff /tmp/tmp.NN9Qjo6KfU/output /tmp/tmp.EhdPN9qOol/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.EhdPN9qOol/log && die; } > diff log /tmp/tmp.EhdPN9qOol/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.9M4wz5IWuc/.git/ [master (root-commit) 2cea84f] inital_commit 2 files changed, 117 insertions(+) create mode 100644 foo/file create mode 100644 input > cat /tmp/tmp.9M4wz5IWuc/input | preproc -C /tmp/tmp.9M4wz5IWuc -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.9M4wz5IWuc' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.xTQFnWfgr3/output | log_filter > /tmp/tmp.xTQFnWfgr3/log > diff /tmp/tmp.9p7kKOquOF/output /tmp/tmp.xTQFnWfgr3/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.xTQFnWfgr3/log && die; } > diff log /tmp/tmp.xTQFnWfgr3/log || die success. ====================== test_fn_bumped_version ====================== > cat /tmp/tmp.u8KKJ9tVmT/input | preproc -C /tmp/tmp.u8KKJ9tVmT -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.u8KKJ9tVmT' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.vTsCPCIbH5/output | log_filter > /tmp/tmp.vTsCPCIbH5/log > diff /tmp/tmp.JPAHFDT74J/output /tmp/tmp.vTsCPCIbH5/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.vTsCPCIbH5/log && die; } > diff log /tmp/tmp.vTsCPCIbH5/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.fAMbmJH73c/.git/ [master (root-commit) 0e6c4c6] add subdir with file 2 files changed, 6 insertions(+) create mode 100644 input create mode 100644 subdir/file Cloning into '/tmp/tmp.fAMbmJH73c/submodule'... done. [master a430f42] add submodule 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 submodule > cat /tmp/tmp.fAMbmJH73c/input | preproc -C /tmp/tmp.fAMbmJH73c -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.fAMbmJH73c' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.ygMTLHyePa/output | log_filter > /tmp/tmp.ygMTLHyePa/log > diff /tmp/tmp.uWub2HKo7q/output /tmp/tmp.ygMTLHyePa/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.ygMTLHyePa/log && die; } > diff log /tmp/tmp.ygMTLHyePa/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.8aeTADVb4X/.git/ > cat /tmp/tmp.8aeTADVb4X/input | preproc -C /tmp/tmp.8aeTADVb4X -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.8aeTADVb4X' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.clueNNFSC8/output | log_filter > /tmp/tmp.clueNNFSC8/log > diff /tmp/tmp.04hID5MC4o/output /tmp/tmp.clueNNFSC8/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.clueNNFSC8/log && die; } > diff log /tmp/tmp.clueNNFSC8/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.O7AM7QPzlg/.git/ > cat /tmp/tmp.O7AM7QPzlg/input | preproc -C /tmp/tmp.O7AM7QPzlg -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.O7AM7QPzlg' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.pJ6hkBgvxr/output | log_filter > /tmp/tmp.pJ6hkBgvxr/log > diff /tmp/tmp.oObVEyoTuv/output /tmp/tmp.pJ6hkBgvxr/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.pJ6hkBgvxr/log && die; } > diff log /tmp/tmp.pJ6hkBgvxr/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.kCJC6Erzui/.git/ [master (root-commit) e3c1ec3] hello world 3 files changed, 3 insertions(+) create mode 100644 cookie create mode 100644 foo/cookie create mode 100644 input > cat /tmp/tmp.kCJC6Erzui/input | preproc -C /tmp/tmp.kCJC6Erzui -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.kCJC6Erzui' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.LpmI9l8PPZ/output | log_filter > /tmp/tmp.LpmI9l8PPZ/log > diff /tmp/tmp.WXUOhsoGLq/output_clean /tmp/tmp.LpmI9l8PPZ/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.LpmI9l8PPZ/log && die; } > diff log /tmp/tmp.LpmI9l8PPZ/log || die success. > cat /tmp/tmp.kCJC6Erzui/input | preproc -C /tmp/tmp.kCJC6Erzui -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.kCJC6Erzui' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.LpmI9l8PPZ/output | log_filter > /tmp/tmp.LpmI9l8PPZ/log > diff /tmp/tmp.WXUOhsoGLq/output_dirty /tmp/tmp.LpmI9l8PPZ/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.LpmI9l8PPZ/log && die; } > diff log /tmp/tmp.LpmI9l8PPZ/log || die success. Updated 1 path from the index > cat /tmp/tmp.kCJC6Erzui/input | preproc -C /tmp/tmp.kCJC6Erzui -e GIT_DIRTY=1 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.kCJC6Erzui' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.LpmI9l8PPZ/output | log_filter > /tmp/tmp.LpmI9l8PPZ/log > diff /tmp/tmp.WXUOhsoGLq/output_dirty_manual /tmp/tmp.LpmI9l8PPZ/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.LpmI9l8PPZ/log && die; } > diff log /tmp/tmp.LpmI9l8PPZ/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.5wSWSKFiRd/.git/ > cat /tmp/tmp.5wSWSKFiRd/input | preproc -C /tmp/tmp.5wSWSKFiRd -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.5wSWSKFiRd' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.IEuLvDkVge/output | log_filter > /tmp/tmp.IEuLvDkVge/log > diff /tmp/tmp.PLHrtRIP5B/output /tmp/tmp.IEuLvDkVge/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.IEuLvDkVge/log && die; } > diff log /tmp/tmp.IEuLvDkVge/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.JNV97F1WSU/.git/ > cat /tmp/tmp.JNV97F1WSU/input | preproc -C /tmp/tmp.JNV97F1WSU -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.JNV97F1WSU' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.4ahNTNWuGn/output | log_filter > /tmp/tmp.4ahNTNWuGn/log > diff /tmp/tmp.tgJv1wXRsq/output /tmp/tmp.4ahNTNWuGn/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.4ahNTNWuGn/log && die; } > diff log /tmp/tmp.4ahNTNWuGn/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.qRzNJhvTNF/.git/ > cat /tmp/tmp.qRzNJhvTNF/input | preproc -C /tmp/tmp.qRzNJhvTNF -e OUTDIR=/tmp/tmp.FdZC9x342s -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.qRzNJhvTNF' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.FdZC9x342s/output | log_filter > /tmp/tmp.FdZC9x342s/log > diff /tmp/tmp.A5QVVSGqoe/output /tmp/tmp.FdZC9x342s/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.FdZC9x342s/log && die; } > diff log /tmp/tmp.FdZC9x342s/log || die > custom_test > tar -C /tmp/tmp.FdZC9x342s -xf /tmp/tmp.FdZC9x342s/foo.tar.gz || die > diff /tmp/tmp.FdZC9x342s/foo/cookie /tmp/tmp.qRzNJhvTNF/cookie || die > ls /tmp/tmp.FdZC9x342s/foo/cookie_ignored 2>/dev/null && die > ls /tmp/tmp.FdZC9x342s/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.r2b0myk2H5/.git/ [master (root-commit) 2514131] commit 1 2 files changed, 3 insertions(+) create mode 100644 cookie create mode 100644 input > cat /tmp/tmp.r2b0myk2H5/input | preproc -C /tmp/tmp.r2b0myk2H5 -e OUTDIR=/tmp/tmp.21SFsxvkq0 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.r2b0myk2H5' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.21SFsxvkq0/output | log_filter > /tmp/tmp.21SFsxvkq0/log > diff /tmp/tmp.73tLVpHo8Q/output /tmp/tmp.21SFsxvkq0/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.21SFsxvkq0/log && die; } > diff log /tmp/tmp.21SFsxvkq0/log || die > custom_test > tar -C /tmp/tmp.21SFsxvkq0 -xf /tmp/tmp.21SFsxvkq0/foo.tar.gz || die > diff /tmp/tmp.21SFsxvkq0/foo/cookie /tmp/tmp.r2b0myk2H5/cookie || die > [ '25141318774453e0464c7ac6d204a2f3b1092939' = '25141318774453e0464c7ac6d204a2f3b1092939' ] || die > tar -C /tmp/tmp.21SFsxvkq0 -xf /tmp/tmp.21SFsxvkq0/bar.tar.gz || die > diff /tmp/tmp.21SFsxvkq0/bar/cookie /tmp/tmp.r2b0myk2H5/cookie || die > [ '25141318774453e0464c7ac6d204a2f3b1092939' = '25141318774453e0464c7ac6d204a2f3b1092939' ] || die success. > cat /tmp/tmp.r2b0myk2H5/input | preproc -C /tmp/tmp.r2b0myk2H5 -e OUTDIR=/tmp/tmp.21SFsxvkq0 -e GIT_STATUS=somestatus -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.r2b0myk2H5' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.21SFsxvkq0/output | log_filter > /tmp/tmp.21SFsxvkq0/log > test_nonempty_git_status > tar -C /tmp/tmp.21SFsxvkq0 -xf /tmp/tmp.21SFsxvkq0/foo.tar.gz || die > diff /tmp/tmp.21SFsxvkq0/foo/cookie /tmp/tmp.r2b0myk2H5/cookie || die > [ '25141318774453e0464c7ac6d204a2f3b1092939' = '' ] && die > tar -C /tmp/tmp.21SFsxvkq0 -xf /tmp/tmp.21SFsxvkq0/bar.tar.gz || die > diff /tmp/tmp.21SFsxvkq0/bar/cookie /tmp/tmp.r2b0myk2H5/cookie || die > [ '25141318774453e0464c7ac6d204a2f3b1092939' = '25141318774453e0464c7ac6d204a2f3b1092939' ] || die success. > cat /tmp/tmp.r2b0myk2H5/input | preproc -C /tmp/tmp.r2b0myk2H5 -e OUTDIR=/tmp/tmp.21SFsxvkq0 -e GIT_HEAD=somehead -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.r2b0myk2H5' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.21SFsxvkq0/output | log_filter > /tmp/tmp.21SFsxvkq0/log > test_invalid_git_head > [ -f '/tmp/tmp.21SFsxvkq0/foo.tar.gz' ] && die > [ -f '/tmp/tmp.21SFsxvkq0/bar.tar.gz' ] && die success. > cat /tmp/tmp.r2b0myk2H5/input | preproc -C /tmp/tmp.r2b0myk2H5 -e OUTDIR=/tmp/tmp.21SFsxvkq0 -e GIT_HEAD= -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.r2b0myk2H5' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.21SFsxvkq0/output | log_filter > /tmp/tmp.21SFsxvkq0/log > test_empty_git_head > tar -C /tmp/tmp.21SFsxvkq0 -xf /tmp/tmp.21SFsxvkq0/foo.tar.gz || die > diff /tmp/tmp.21SFsxvkq0/foo/cookie /tmp/tmp.r2b0myk2H5/cookie || die > [ '25141318774453e0464c7ac6d204a2f3b1092939' = '' ] && die > [ -f '/tmp/tmp.21SFsxvkq0/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.STx75lL2CM/.git/ [master (root-commit) 61dcf03] commit 1 2 files changed, 3 insertions(+) create mode 100644 cookie create mode 100644 input > cat /tmp/tmp.STx75lL2CM/input | preproc -C /tmp/tmp.STx75lL2CM -e OUTDIR=/tmp/tmp.tImTx4l5kj -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.STx75lL2CM' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.tImTx4l5kj/output | log_filter > /tmp/tmp.tImTx4l5kj/log > diff /tmp/tmp.kjkk0W001g/output /tmp/tmp.tImTx4l5kj/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.tImTx4l5kj/log && die; } > diff log /tmp/tmp.tImTx4l5kj/log || die > custom_test > tar -C /tmp/tmp.tImTx4l5kj -xf /tmp/tmp.tImTx4l5kj/foo.tar.gz || die > diff /tmp/tmp.tImTx4l5kj/foo/cookie /tmp/tmp.STx75lL2CM/cookie || die > [ '61dcf03987b994c43ee14b9dabab030df009982b' = '' ] && die > tar -C /tmp/tmp.tImTx4l5kj -xf /tmp/tmp.tImTx4l5kj/bar.tar.gz || die > diff /tmp/tmp.tImTx4l5kj/bar/cookie /tmp/tmp.STx75lL2CM/cookie >/dev/null && die > [ '61dcf03987b994c43ee14b9dabab030df009982b' = '61dcf03987b994c43ee14b9dabab030df009982b' ] || 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.yQBzg40PO6/.git/ [master (root-commit) 4260003] 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.yQBzg40PO6/bar/input | preproc -C /tmp/tmp.yQBzg40PO6/foo -e OUTDIR=/tmp/tmp.3y1tAGv8JN -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.yQBzg40PO6/bar' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.3y1tAGv8JN/output | log_filter > /tmp/tmp.3y1tAGv8JN/log > diff /tmp/tmp.R6X56kpXnH/output /tmp/tmp.3y1tAGv8JN/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.3y1tAGv8JN/log && die; } > diff log /tmp/tmp.3y1tAGv8JN/log || die > custom_test > tar -C /tmp/tmp.3y1tAGv8JN -xf /tmp/tmp.3y1tAGv8JN/dir_pack_nodirname.tar.gz || die > diff /tmp/tmp.3y1tAGv8JN/test-bar/cookie /tmp/tmp.yQBzg40PO6/bar/cookie || die > tar -C /tmp/tmp.3y1tAGv8JN -xf /tmp/tmp.3y1tAGv8JN/dir_archive_nodirname.tar.gz || die > diff /tmp/tmp.3y1tAGv8JN/test-bar/cookie /tmp/tmp.yQBzg40PO6/bar/cookie || die > tar -C /tmp/tmp.3y1tAGv8JN -xf /tmp/tmp.3y1tAGv8JN/dir_pack_foo.tar.gz || die > diff /tmp/tmp.3y1tAGv8JN/foo/cookie /tmp/tmp.yQBzg40PO6/bar/cookie || die > tar -C /tmp/tmp.3y1tAGv8JN -xf /tmp/tmp.3y1tAGv8JN/dir_archive_bar.tar.gz || die > diff /tmp/tmp.3y1tAGv8JN/bar/cookie /tmp/tmp.yQBzg40PO6/bar/cookie || die > tar -C /tmp/tmp.3y1tAGv8JN -xf /tmp/tmp.3y1tAGv8JN/cwd_pack_nodirname.tar.gz || die > diff /tmp/tmp.3y1tAGv8JN/test-foo/cookie /tmp/tmp.yQBzg40PO6/foo/cookie || die > tar -C /tmp/tmp.3y1tAGv8JN -xf /tmp/tmp.3y1tAGv8JN/cwd_archive_nodirname.tar.gz || die > diff /tmp/tmp.3y1tAGv8JN/test-foo/cookie /tmp/tmp.yQBzg40PO6/foo/cookie || die > tar -C /tmp/tmp.3y1tAGv8JN -xf /tmp/tmp.3y1tAGv8JN/cwd_pack_foo.tar.gz || die > diff /tmp/tmp.3y1tAGv8JN/foo/cookie /tmp/tmp.yQBzg40PO6/foo/cookie || die > tar -C /tmp/tmp.3y1tAGv8JN -xf /tmp/tmp.3y1tAGv8JN/cwd_archive_bar.tar.gz || die > diff /tmp/tmp.3y1tAGv8JN/bar/cookie /tmp/tmp.yQBzg40PO6/foo/cookie || die > tar -C /tmp/tmp.3y1tAGv8JN -xf /tmp/tmp.3y1tAGv8JN/baz_pack_nodirname.tar.gz || die > diff /tmp/tmp.3y1tAGv8JN/test-baz/cookie /tmp/tmp.yQBzg40PO6/baz/cookie || die > tar -C /tmp/tmp.3y1tAGv8JN -xf /tmp/tmp.3y1tAGv8JN/baz_archive_nodirname.tar.gz || die > diff /tmp/tmp.3y1tAGv8JN/test-baz/cookie /tmp/tmp.yQBzg40PO6/baz/cookie || die > tar -C /tmp/tmp.3y1tAGv8JN -xf /tmp/tmp.3y1tAGv8JN/baz_pack_foo.tar.gz || die > diff /tmp/tmp.3y1tAGv8JN/foo/cookie /tmp/tmp.yQBzg40PO6/baz/cookie || die > ls /tmp/tmp.3y1tAGv8JN/foo/cookie_ignored 2>/dev/null && die > ls /tmp/tmp.3y1tAGv8JN/foo/cookie_unadded 2>/dev/null && die > tar -C /tmp/tmp.3y1tAGv8JN -xf /tmp/tmp.3y1tAGv8JN/baz_archive_bar.tar.gz || die > diff /tmp/tmp.3y1tAGv8JN/bar/cookie /tmp/tmp.yQBzg40PO6/baz/cookie || die > ls /tmp/tmp.3y1tAGv8JN/bar/cookie_ignored 2>/dev/null && die > ls /tmp/tmp.3y1tAGv8JN/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.ZnZLJj1t4n/.git/ > cat /tmp/tmp.ZnZLJj1t4n/bar/input | preproc -C /tmp/tmp.ZnZLJj1t4n/foo -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.ZnZLJj1t4n/bar' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.RIaF3KwA9t/output | log_filter > /tmp/tmp.RIaF3KwA9t/log > diff /tmp/tmp.M7DZ5cjdPv/output /tmp/tmp.RIaF3KwA9t/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.RIaF3KwA9t/log && die; } > diff log /tmp/tmp.RIaF3KwA9t/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.cxS4qx8a8T/.git/ [master (root-commit) 76beb56] 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.cxS4qx8a8T/submodule'... done. [master b169529] add submodule 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 submodule > cat /tmp/tmp.cxS4qx8a8T/input | preproc -C /tmp/tmp.cxS4qx8a8T -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.cxS4qx8a8T' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.RiddtKmNIT/output | log_filter > /tmp/tmp.RiddtKmNIT/log > diff /tmp/tmp.ryateMqKwm/output /tmp/tmp.RiddtKmNIT/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.RiddtKmNIT/log && die; } > diff log /tmp/tmp.RiddtKmNIT/log || die success. > cat /tmp/tmp.cxS4qx8a8T/submodule/input_dir | preproc -C /tmp/tmp.cxS4qx8a8T -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.cxS4qx8a8T/submodule' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.RiddtKmNIT/output | log_filter > /tmp/tmp.RiddtKmNIT/log > diff /tmp/tmp.ryateMqKwm/output_dir /tmp/tmp.RiddtKmNIT/output || { echo 'LOG DIFF:' && diff log_dir /tmp/tmp.RiddtKmNIT/log && die; } > diff log_dir /tmp/tmp.RiddtKmNIT/log || die success. > cat /tmp/tmp.cxS4qx8a8T/submodule/input_cwd | preproc -C /tmp/tmp.cxS4qx8a8T/submodule/subdir -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.cxS4qx8a8T/submodule' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.RiddtKmNIT/output | log_filter > /tmp/tmp.RiddtKmNIT/log > diff /tmp/tmp.ryateMqKwm/output_cwd /tmp/tmp.RiddtKmNIT/output || { echo 'LOG DIFF:' && diff log_cwd /tmp/tmp.RiddtKmNIT/log && die; } > diff log_cwd /tmp/tmp.RiddtKmNIT/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.ZK5iWvX0SZ/.git/ [master (root-commit) 08e8e13] 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.ZK5iWvX0SZ/submodule'... done. [master 2b91dca] add submodule 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 submodule > cat /tmp/tmp.ZK5iWvX0SZ/input_archive | preproc -C /tmp/tmp.ZK5iWvX0SZ -e OUTDIR=/tmp/tmp.kIFbviQfnT -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.ZK5iWvX0SZ' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.kIFbviQfnT/output | log_filter > /tmp/tmp.kIFbviQfnT/log > custom_test_archive_clean > tar -C /tmp/tmp.kIFbviQfnT -xf /tmp/tmp.kIFbviQfnT/test-2b91dca9.tar.gz || die > [ -d /tmp/tmp.kIFbviQfnT/test/submodule/subdir ] && die > tar -C /tmp/tmp.kIFbviQfnT -xf /tmp/tmp.kIFbviQfnT/test-submodule-2b91dca9.tar.gz || die > [ -f /tmp/tmp.kIFbviQfnT/test-submodule/subdir/cookie ] || die > cat /tmp/tmp.kIFbviQfnT/test-submodule/subdir/cookie | grep -q 0 || die > tar -C /tmp/tmp.kIFbviQfnT -xf /tmp/tmp.kIFbviQfnT/test-submodule-subdir-2b91dca9.tar.gz || die > [ -f /tmp/tmp.kIFbviQfnT/test-submodule-subdir/cookie ] || die > cat /tmp/tmp.kIFbviQfnT/test-submodule-subdir/cookie | grep -q 0 || die success. > cat /tmp/tmp.ZK5iWvX0SZ/input_pack | preproc -C /tmp/tmp.ZK5iWvX0SZ -e OUTDIR=/tmp/tmp.kIFbviQfnT -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.ZK5iWvX0SZ' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.kIFbviQfnT/output | log_filter > /tmp/tmp.kIFbviQfnT/log > custom_test_pack_clean > tar -C /tmp/tmp.kIFbviQfnT -xf /tmp/tmp.kIFbviQfnT/test-2b91dca9.tar.gz || die > [ -f /tmp/tmp.kIFbviQfnT/test/submodule/subdir ] && die > tar -C /tmp/tmp.kIFbviQfnT -xf /tmp/tmp.kIFbviQfnT/test-submodule-2b91dca9.tar.gz || die > [ -f /tmp/tmp.kIFbviQfnT/test-submodule/subdir/cookie ] || die > cat /tmp/tmp.kIFbviQfnT/test-submodule/subdir/cookie | grep -q 0 || die > tar -C /tmp/tmp.kIFbviQfnT -xf /tmp/tmp.kIFbviQfnT/test-submodule-subdir-2b91dca9.tar.gz || die > [ -f /tmp/tmp.kIFbviQfnT/test-submodule-subdir/cookie ] || die > cat /tmp/tmp.kIFbviQfnT/test-submodule-subdir/cookie | grep -q 0 || die success. [master 6218c81] submodule new commit 1 file changed, 1 insertion(+) > cat /tmp/tmp.ZK5iWvX0SZ/input_archive | preproc -C /tmp/tmp.ZK5iWvX0SZ -e OUTDIR=/tmp/tmp.kIFbviQfnT -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.ZK5iWvX0SZ' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.kIFbviQfnT/output | log_filter > /tmp/tmp.kIFbviQfnT/log > custom_test_archive_submodule_new_commit > tar -C /tmp/tmp.kIFbviQfnT -xf /tmp/tmp.kIFbviQfnT/test-2b91dca9.tar.gz || die > [ -d /tmp/tmp.kIFbviQfnT/test/submodule/subdir ] && die > tar -C /tmp/tmp.kIFbviQfnT -xf /tmp/tmp.kIFbviQfnT/test-submodule-2b91dca9.tar.gz || die > [ -f /tmp/tmp.kIFbviQfnT/test-submodule/subdir/cookie ] || die > cat /tmp/tmp.kIFbviQfnT/test-submodule/subdir/cookie | grep -q 0 || die > tar -C /tmp/tmp.kIFbviQfnT -xf /tmp/tmp.kIFbviQfnT/test-submodule-subdir-2b91dca9.tar.gz || die > [ -f /tmp/tmp.kIFbviQfnT/test-submodule-subdir/cookie ] || die > cat /tmp/tmp.kIFbviQfnT/test-submodule-subdir/cookie | grep -q 0 || die success. > cat /tmp/tmp.ZK5iWvX0SZ/input_pack | preproc -C /tmp/tmp.ZK5iWvX0SZ -e OUTDIR=/tmp/tmp.kIFbviQfnT -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.ZK5iWvX0SZ' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.kIFbviQfnT/output | log_filter > /tmp/tmp.kIFbviQfnT/log > custom_test_pack_submodule_new_commit > tar -C /tmp/tmp.kIFbviQfnT -xf /tmp/tmp.kIFbviQfnT/test-2b91dca9-dirty.tar.gz || die > [ -d /tmp/tmp.kIFbviQfnT/test/submodule/subdir ] && die > tar -C /tmp/tmp.kIFbviQfnT -xf /tmp/tmp.kIFbviQfnT/test-submodule-2b91dca9-dirty.tar.gz || die > cat /tmp/tmp.kIFbviQfnT/test-submodule/subdir/cookie | grep -q 1 || die > tar -C /tmp/tmp.kIFbviQfnT -xf /tmp/tmp.kIFbviQfnT/test-submodule-subdir-2b91dca9.tar.gz || die > cat /tmp/tmp.kIFbviQfnT/test-submodule-subdir/cookie | grep -q 1 || die success. > cat /tmp/tmp.ZK5iWvX0SZ/input_archive | preproc -C /tmp/tmp.ZK5iWvX0SZ -e OUTDIR=/tmp/tmp.kIFbviQfnT -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.ZK5iWvX0SZ' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.kIFbviQfnT/output | log_filter > /tmp/tmp.kIFbviQfnT/log > custom_test_archive_submodule_dirty > tar -C /tmp/tmp.kIFbviQfnT -xf /tmp/tmp.kIFbviQfnT/test-2b91dca9.tar.gz || die > [ -d /tmp/tmp.kIFbviQfnT/test/submodule/subdir ] && die > tar -C /tmp/tmp.kIFbviQfnT -xf /tmp/tmp.kIFbviQfnT/test-submodule-2b91dca9.tar.gz || die > [ -f /tmp/tmp.kIFbviQfnT/test-submodule/subdir/cookie ] || die > cat /tmp/tmp.kIFbviQfnT/test-submodule/subdir/cookie | grep -q 0 || die > tar -C /tmp/tmp.kIFbviQfnT -xf /tmp/tmp.kIFbviQfnT/test-submodule-subdir-2b91dca9.tar.gz || die > [ -f /tmp/tmp.kIFbviQfnT/test-submodule-subdir/cookie ] || die > cat /tmp/tmp.kIFbviQfnT/test-submodule-subdir/cookie | grep -q 0 || die success. > cat /tmp/tmp.ZK5iWvX0SZ/input_pack | preproc -C /tmp/tmp.ZK5iWvX0SZ -e OUTDIR=/tmp/tmp.kIFbviQfnT -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.ZK5iWvX0SZ' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.kIFbviQfnT/output | log_filter > /tmp/tmp.kIFbviQfnT/log > custom_test_pack_submodule_dirty > tar -C /tmp/tmp.kIFbviQfnT -xf /tmp/tmp.kIFbviQfnT/test-2b91dca9-dirty.tar.gz || die > [ -d /tmp/tmp.kIFbviQfnT/test/submodule/subdir ] && die > tar -C /tmp/tmp.kIFbviQfnT -xf /tmp/tmp.kIFbviQfnT/test-submodule-2b91dca9-dirty.tar.gz || die > cat /tmp/tmp.kIFbviQfnT/test-submodule/subdir/cookie | grep -q 2 || die > tar -C /tmp/tmp.kIFbviQfnT -xf /tmp/tmp.kIFbviQfnT/test-submodule-subdir-2b91dca9.tar.gz || die > cat /tmp/tmp.kIFbviQfnT/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.sa7yk730JC/.git/ [master (root-commit) c5dce4b] 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 2f5545b] side branch commit 1 file changed, 1 insertion(+) Switched to branch 'master' > cat /tmp/tmp.sa7yk730JC/input | preproc -C /tmp/tmp.sa7yk730JC -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.sa7yk730JC' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.FB77tea3i4/output | log_filter > /tmp/tmp.FB77tea3i4/log > diff /tmp/tmp.7ZOTHmoy9L/output /tmp/tmp.FB77tea3i4/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.FB77tea3i4/log && die; } > diff log /tmp/tmp.FB77tea3i4/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.cN79hyaDBr/.git/ [master (root-commit) 92477f6] inital_commit 2 files changed, 117 insertions(+) create mode 100644 foo/file create mode 100644 input [master d68c04f] commit after tag 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 file > cat /tmp/tmp.cN79hyaDBr/input | preproc -C /tmp/tmp.cN79hyaDBr -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.cN79hyaDBr' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.GSiuuiPAxl/output | log_filter > /tmp/tmp.GSiuuiPAxl/log > diff /tmp/tmp.KccB8wh5wT/output /tmp/tmp.GSiuuiPAxl/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.GSiuuiPAxl/log && die; } > diff log /tmp/tmp.GSiuuiPAxl/log || die success. ====================== test_uninited ====================== > cat /tmp/tmp.0r92yM1RSx/input | preproc -C /tmp/tmp.0r92yM1RSx -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.0r92yM1RSx' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.ilt1WIgxr2/output | log_filter > /tmp/tmp.ilt1WIgxr2/log > diff /tmp/tmp.yIGTbN5NIL/output /tmp/tmp.ilt1WIgxr2/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.ilt1WIgxr2/log && die; } > diff log /tmp/tmp.ilt1WIgxr2/log || die success. + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rpkg-macros-2.0-1.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.01beTf + umask 022 + cd /builddir/build/BUILD + cd rpkg-util-macros + LICENSEDIR=/builddir/build/BUILDROOT/rpkg-macros-2.0-1.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-1.x86_64/usr/share/licenses/rpkg-macros + cp -pr LICENSE /builddir/build/BUILDROOT/rpkg-macros-2.0-1.x86_64/usr/share/licenses/rpkg-macros + RPM_EC=0 ++ jobs -p + exit 0 Provides: rpkg-macros = 2.0-1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /bin/bash Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rpkg-macros-2.0-1.x86_64 Wrote: /builddir/build/RPMS/rpkg-macros-2.0-1.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.eFdxpc + umask 022 + cd /builddir/build/BUILD + cd rpkg-util-macros + /usr/bin/rm -rf /builddir/build/BUILDROOT/rpkg-macros-2.0-1.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.olLASI + umask 022 + cd /builddir/build/BUILD + rm -rf rpkg-util-macros rpkg-util-macros.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0