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-23.03-x86_64-1688889238.116040/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-23.03-x86_64-1688889238.116040/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-23.03-x86_64-1688889238.116040/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.eg9ZCK + 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.2xgB9v + 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.Lpq2zx + umask 022 + cd /builddir/build/BUILD + cd rpkg-util-macros + git config --global protocol.file.allow always + PATH=bin/:/builddir/.local/bin:/builddir/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.6xC4VeBYub/.git/ > cat /tmp/tmp.6xC4VeBYub/input | preproc -C /tmp/tmp.6xC4VeBYub -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.6xC4VeBYub' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.R58UFjJH1F/output | log_filter > /tmp/tmp.R58UFjJH1F/log > diff /tmp/tmp.4Tdabd5Ilq/output /tmp/tmp.R58UFjJH1F/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.R58UFjJH1F/log && die; } > diff log /tmp/tmp.R58UFjJH1F/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.LOGLezH3N7/.git/ [master (root-commit) 2c80d05] commit 1 1 file changed, 117 insertions(+) create mode 100644 input [master b2eca0a] commit 2 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 foo/file [master 6c0b6af] commit 3 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 bar/file > cat /tmp/tmp.LOGLezH3N7/input | preproc -C /tmp/tmp.LOGLezH3N7 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.LOGLezH3N7' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.pmPLgbe1Cl/output | log_filter > /tmp/tmp.pmPLgbe1Cl/log > diff /tmp/tmp.lk2ZaD6kPA/output /tmp/tmp.pmPLgbe1Cl/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.pmPLgbe1Cl/log && die; } > diff log /tmp/tmp.pmPLgbe1Cl/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.pSmTgfEhyl/.git/ [master (root-commit) 6d30c26] inital_commit 2 files changed, 117 insertions(+) create mode 100644 foo/file create mode 100644 input > cat /tmp/tmp.pSmTgfEhyl/input | preproc -C /tmp/tmp.pSmTgfEhyl -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.pSmTgfEhyl' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.0oEAQftwH7/output | log_filter > /tmp/tmp.0oEAQftwH7/log > diff /tmp/tmp.FKGHG97cPu/output /tmp/tmp.0oEAQftwH7/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.0oEAQftwH7/log && die; } > diff log /tmp/tmp.0oEAQftwH7/log || die success. ====================== test_fn_bumped_version ====================== > cat /tmp/tmp.It4mNPQSg6/input | preproc -C /tmp/tmp.It4mNPQSg6 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.It4mNPQSg6' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.dPROTF1unJ/output | log_filter > /tmp/tmp.dPROTF1unJ/log > diff /tmp/tmp.zbgTaWZOtV/output /tmp/tmp.dPROTF1unJ/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.dPROTF1unJ/log && die; } > diff log /tmp/tmp.dPROTF1unJ/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.HmT3K2Ld6b/.git/ [master (root-commit) 41c6098] add subdir with file 2 files changed, 6 insertions(+) create mode 100644 input create mode 100644 subdir/file Cloning into '/tmp/tmp.HmT3K2Ld6b/submodule'... done. [master 756d522] add submodule 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 submodule > cat /tmp/tmp.HmT3K2Ld6b/input | preproc -C /tmp/tmp.HmT3K2Ld6b -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.HmT3K2Ld6b' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.y94h6HuPxF/output | log_filter > /tmp/tmp.y94h6HuPxF/log > diff /tmp/tmp.Z3rmKvXo8T/output /tmp/tmp.y94h6HuPxF/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.y94h6HuPxF/log && die; } > diff log /tmp/tmp.y94h6HuPxF/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.TQMaUqFM4b/.git/ > cat /tmp/tmp.TQMaUqFM4b/input | preproc -C /tmp/tmp.TQMaUqFM4b -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.TQMaUqFM4b' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.woe6EW3Jqz/output | log_filter > /tmp/tmp.woe6EW3Jqz/log > diff /tmp/tmp.BRQZH6tnD4/output /tmp/tmp.woe6EW3Jqz/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.woe6EW3Jqz/log && die; } > diff log /tmp/tmp.woe6EW3Jqz/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.aEWaJKR4KQ/.git/ > cat /tmp/tmp.aEWaJKR4KQ/input | preproc -C /tmp/tmp.aEWaJKR4KQ -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.aEWaJKR4KQ' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.rhOfpK0xM6/output | log_filter > /tmp/tmp.rhOfpK0xM6/log > diff /tmp/tmp.N7dXypQq8i/output /tmp/tmp.rhOfpK0xM6/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.rhOfpK0xM6/log && die; } > diff log /tmp/tmp.rhOfpK0xM6/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.f4dmkgedi1/.git/ [master (root-commit) bdd8fc9] hello world 3 files changed, 3 insertions(+) create mode 100644 cookie create mode 100644 foo/cookie create mode 100644 input > cat /tmp/tmp.f4dmkgedi1/input | preproc -C /tmp/tmp.f4dmkgedi1 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.f4dmkgedi1' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.bZMC9FL405/output | log_filter > /tmp/tmp.bZMC9FL405/log > diff /tmp/tmp.V328R3HcHu/output_clean /tmp/tmp.bZMC9FL405/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.bZMC9FL405/log && die; } > diff log /tmp/tmp.bZMC9FL405/log || die success. > cat /tmp/tmp.f4dmkgedi1/input | preproc -C /tmp/tmp.f4dmkgedi1 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.f4dmkgedi1' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.bZMC9FL405/output | log_filter > /tmp/tmp.bZMC9FL405/log > diff /tmp/tmp.V328R3HcHu/output_dirty /tmp/tmp.bZMC9FL405/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.bZMC9FL405/log && die; } > diff log /tmp/tmp.bZMC9FL405/log || die success. Updated 1 path from the index > cat /tmp/tmp.f4dmkgedi1/input | preproc -C /tmp/tmp.f4dmkgedi1 -e GIT_DIRTY=1 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.f4dmkgedi1' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.bZMC9FL405/output | log_filter > /tmp/tmp.bZMC9FL405/log > diff /tmp/tmp.V328R3HcHu/output_dirty_manual /tmp/tmp.bZMC9FL405/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.bZMC9FL405/log && die; } > diff log /tmp/tmp.bZMC9FL405/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.b1kKZGypoE/.git/ > cat /tmp/tmp.b1kKZGypoE/input | preproc -C /tmp/tmp.b1kKZGypoE -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.b1kKZGypoE' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.QN7IocK5aC/output | log_filter > /tmp/tmp.QN7IocK5aC/log > diff /tmp/tmp.XVcQAzU4Wr/output /tmp/tmp.QN7IocK5aC/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.QN7IocK5aC/log && die; } > diff log /tmp/tmp.QN7IocK5aC/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.yTcp2P0MPO/.git/ > cat /tmp/tmp.yTcp2P0MPO/input | preproc -C /tmp/tmp.yTcp2P0MPO -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.yTcp2P0MPO' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.ag7rGs0ZsW/output | log_filter > /tmp/tmp.ag7rGs0ZsW/log > diff /tmp/tmp.KCJGHRlgkE/output /tmp/tmp.ag7rGs0ZsW/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.ag7rGs0ZsW/log && die; } > diff log /tmp/tmp.ag7rGs0ZsW/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.YozE0jicin/.git/ > cat /tmp/tmp.YozE0jicin/input | preproc -C /tmp/tmp.YozE0jicin -e OUTDIR=/tmp/tmp.xwQAz2mu2b -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.YozE0jicin' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.xwQAz2mu2b/output | log_filter > /tmp/tmp.xwQAz2mu2b/log > diff /tmp/tmp.ThOi1M2bKP/output /tmp/tmp.xwQAz2mu2b/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.xwQAz2mu2b/log && die; } > diff log /tmp/tmp.xwQAz2mu2b/log || die > custom_test > tar -C /tmp/tmp.xwQAz2mu2b -xf /tmp/tmp.xwQAz2mu2b/foo.tar.gz || die > diff /tmp/tmp.xwQAz2mu2b/foo/cookie /tmp/tmp.YozE0jicin/cookie || die > ls /tmp/tmp.xwQAz2mu2b/foo/cookie_ignored 2>/dev/null && die > ls /tmp/tmp.xwQAz2mu2b/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.YsgAqlrGe7/.git/ [master (root-commit) 3a94a6b] commit 1 2 files changed, 3 insertions(+) create mode 100644 cookie create mode 100644 input > cat /tmp/tmp.YsgAqlrGe7/input | preproc -C /tmp/tmp.YsgAqlrGe7 -e OUTDIR=/tmp/tmp.1s4f3u561G -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.YsgAqlrGe7' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.1s4f3u561G/output | log_filter > /tmp/tmp.1s4f3u561G/log > diff /tmp/tmp.hKWciAbLUc/output /tmp/tmp.1s4f3u561G/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.1s4f3u561G/log && die; } > diff log /tmp/tmp.1s4f3u561G/log || die > custom_test > tar -C /tmp/tmp.1s4f3u561G -xf /tmp/tmp.1s4f3u561G/foo.tar.gz || die > diff /tmp/tmp.1s4f3u561G/foo/cookie /tmp/tmp.YsgAqlrGe7/cookie || die > [ '3a94a6b3bd66a4078219650e8e6d931e72b360c1' = '3a94a6b3bd66a4078219650e8e6d931e72b360c1' ] || die > tar -C /tmp/tmp.1s4f3u561G -xf /tmp/tmp.1s4f3u561G/bar.tar.gz || die > diff /tmp/tmp.1s4f3u561G/bar/cookie /tmp/tmp.YsgAqlrGe7/cookie || die > [ '3a94a6b3bd66a4078219650e8e6d931e72b360c1' = '3a94a6b3bd66a4078219650e8e6d931e72b360c1' ] || die success. > cat /tmp/tmp.YsgAqlrGe7/input | preproc -C /tmp/tmp.YsgAqlrGe7 -e OUTDIR=/tmp/tmp.1s4f3u561G -e GIT_STATUS=somestatus -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.YsgAqlrGe7' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.1s4f3u561G/output | log_filter > /tmp/tmp.1s4f3u561G/log > test_nonempty_git_status > tar -C /tmp/tmp.1s4f3u561G -xf /tmp/tmp.1s4f3u561G/foo.tar.gz || die > diff /tmp/tmp.1s4f3u561G/foo/cookie /tmp/tmp.YsgAqlrGe7/cookie || die > [ '3a94a6b3bd66a4078219650e8e6d931e72b360c1' = '' ] && die > tar -C /tmp/tmp.1s4f3u561G -xf /tmp/tmp.1s4f3u561G/bar.tar.gz || die > diff /tmp/tmp.1s4f3u561G/bar/cookie /tmp/tmp.YsgAqlrGe7/cookie || die > [ '3a94a6b3bd66a4078219650e8e6d931e72b360c1' = '3a94a6b3bd66a4078219650e8e6d931e72b360c1' ] || die success. > cat /tmp/tmp.YsgAqlrGe7/input | preproc -C /tmp/tmp.YsgAqlrGe7 -e OUTDIR=/tmp/tmp.1s4f3u561G -e GIT_HEAD=somehead -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.YsgAqlrGe7' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.1s4f3u561G/output | log_filter > /tmp/tmp.1s4f3u561G/log > test_invalid_git_head > [ -f '/tmp/tmp.1s4f3u561G/foo.tar.gz' ] && die > [ -f '/tmp/tmp.1s4f3u561G/bar.tar.gz' ] && die success. > cat /tmp/tmp.YsgAqlrGe7/input | preproc -C /tmp/tmp.YsgAqlrGe7 -e OUTDIR=/tmp/tmp.1s4f3u561G -e GIT_HEAD= -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.YsgAqlrGe7' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.1s4f3u561G/output | log_filter > /tmp/tmp.1s4f3u561G/log > test_empty_git_head > tar -C /tmp/tmp.1s4f3u561G -xf /tmp/tmp.1s4f3u561G/foo.tar.gz || die > diff /tmp/tmp.1s4f3u561G/foo/cookie /tmp/tmp.YsgAqlrGe7/cookie || die > [ '3a94a6b3bd66a4078219650e8e6d931e72b360c1' = '' ] && die > [ -f '/tmp/tmp.1s4f3u561G/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.yy2PlNlz2v/.git/ [master (root-commit) 7a7201f] commit 1 2 files changed, 3 insertions(+) create mode 100644 cookie create mode 100644 input > cat /tmp/tmp.yy2PlNlz2v/input | preproc -C /tmp/tmp.yy2PlNlz2v -e OUTDIR=/tmp/tmp.kEFcpkDsjn -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.yy2PlNlz2v' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.kEFcpkDsjn/output | log_filter > /tmp/tmp.kEFcpkDsjn/log > diff /tmp/tmp.ukecxvSaij/output /tmp/tmp.kEFcpkDsjn/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.kEFcpkDsjn/log && die; } > diff log /tmp/tmp.kEFcpkDsjn/log || die > custom_test > tar -C /tmp/tmp.kEFcpkDsjn -xf /tmp/tmp.kEFcpkDsjn/foo.tar.gz || die > diff /tmp/tmp.kEFcpkDsjn/foo/cookie /tmp/tmp.yy2PlNlz2v/cookie || die > [ '7a7201f45db0b8fb53f94716a81cb51786b8e3fe' = '' ] && die > tar -C /tmp/tmp.kEFcpkDsjn -xf /tmp/tmp.kEFcpkDsjn/bar.tar.gz || die > diff /tmp/tmp.kEFcpkDsjn/bar/cookie /tmp/tmp.yy2PlNlz2v/cookie >/dev/null && die > [ '7a7201f45db0b8fb53f94716a81cb51786b8e3fe' = '7a7201f45db0b8fb53f94716a81cb51786b8e3fe' ] || 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.ncgRFXe2Q8/.git/ [master (root-commit) 269b1bf] 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.ncgRFXe2Q8/bar/input | preproc -C /tmp/tmp.ncgRFXe2Q8/foo -e OUTDIR=/tmp/tmp.jvFHRmmEjS -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.ncgRFXe2Q8/bar' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.jvFHRmmEjS/output | log_filter > /tmp/tmp.jvFHRmmEjS/log > diff /tmp/tmp.LSxy7ZjDZ9/output /tmp/tmp.jvFHRmmEjS/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.jvFHRmmEjS/log && die; } > diff log /tmp/tmp.jvFHRmmEjS/log || die > custom_test > tar -C /tmp/tmp.jvFHRmmEjS -xf /tmp/tmp.jvFHRmmEjS/dir_pack_nodirname.tar.gz || die > diff /tmp/tmp.jvFHRmmEjS/test-bar/cookie /tmp/tmp.ncgRFXe2Q8/bar/cookie || die > tar -C /tmp/tmp.jvFHRmmEjS -xf /tmp/tmp.jvFHRmmEjS/dir_archive_nodirname.tar.gz || die > diff /tmp/tmp.jvFHRmmEjS/test-bar/cookie /tmp/tmp.ncgRFXe2Q8/bar/cookie || die > tar -C /tmp/tmp.jvFHRmmEjS -xf /tmp/tmp.jvFHRmmEjS/dir_pack_foo.tar.gz || die > diff /tmp/tmp.jvFHRmmEjS/foo/cookie /tmp/tmp.ncgRFXe2Q8/bar/cookie || die > tar -C /tmp/tmp.jvFHRmmEjS -xf /tmp/tmp.jvFHRmmEjS/dir_archive_bar.tar.gz || die > diff /tmp/tmp.jvFHRmmEjS/bar/cookie /tmp/tmp.ncgRFXe2Q8/bar/cookie || die > tar -C /tmp/tmp.jvFHRmmEjS -xf /tmp/tmp.jvFHRmmEjS/cwd_pack_nodirname.tar.gz || die > diff /tmp/tmp.jvFHRmmEjS/test-foo/cookie /tmp/tmp.ncgRFXe2Q8/foo/cookie || die > tar -C /tmp/tmp.jvFHRmmEjS -xf /tmp/tmp.jvFHRmmEjS/cwd_archive_nodirname.tar.gz || die > diff /tmp/tmp.jvFHRmmEjS/test-foo/cookie /tmp/tmp.ncgRFXe2Q8/foo/cookie || die > tar -C /tmp/tmp.jvFHRmmEjS -xf /tmp/tmp.jvFHRmmEjS/cwd_pack_foo.tar.gz || die > diff /tmp/tmp.jvFHRmmEjS/foo/cookie /tmp/tmp.ncgRFXe2Q8/foo/cookie || die > tar -C /tmp/tmp.jvFHRmmEjS -xf /tmp/tmp.jvFHRmmEjS/cwd_archive_bar.tar.gz || die > diff /tmp/tmp.jvFHRmmEjS/bar/cookie /tmp/tmp.ncgRFXe2Q8/foo/cookie || die > tar -C /tmp/tmp.jvFHRmmEjS -xf /tmp/tmp.jvFHRmmEjS/baz_pack_nodirname.tar.gz || die > diff /tmp/tmp.jvFHRmmEjS/test-baz/cookie /tmp/tmp.ncgRFXe2Q8/baz/cookie || die > tar -C /tmp/tmp.jvFHRmmEjS -xf /tmp/tmp.jvFHRmmEjS/baz_archive_nodirname.tar.gz || die > diff /tmp/tmp.jvFHRmmEjS/test-baz/cookie /tmp/tmp.ncgRFXe2Q8/baz/cookie || die > tar -C /tmp/tmp.jvFHRmmEjS -xf /tmp/tmp.jvFHRmmEjS/baz_pack_foo.tar.gz || die > diff /tmp/tmp.jvFHRmmEjS/foo/cookie /tmp/tmp.ncgRFXe2Q8/baz/cookie || die > ls /tmp/tmp.jvFHRmmEjS/foo/cookie_ignored 2>/dev/null && die > ls /tmp/tmp.jvFHRmmEjS/foo/cookie_unadded 2>/dev/null && die > tar -C /tmp/tmp.jvFHRmmEjS -xf /tmp/tmp.jvFHRmmEjS/baz_archive_bar.tar.gz || die > diff /tmp/tmp.jvFHRmmEjS/bar/cookie /tmp/tmp.ncgRFXe2Q8/baz/cookie || die > ls /tmp/tmp.jvFHRmmEjS/bar/cookie_ignored 2>/dev/null && die > ls /tmp/tmp.jvFHRmmEjS/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.0nTyd1Qvkf/.git/ > cat /tmp/tmp.0nTyd1Qvkf/bar/input | preproc -C /tmp/tmp.0nTyd1Qvkf/foo -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.0nTyd1Qvkf/bar' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.9Jj0uPTzkk/output | log_filter > /tmp/tmp.9Jj0uPTzkk/log > diff /tmp/tmp.0pLheOlatv/output /tmp/tmp.9Jj0uPTzkk/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.9Jj0uPTzkk/log && die; } > diff log /tmp/tmp.9Jj0uPTzkk/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.73oQBOiguf/.git/ [master (root-commit) dcbbb82] 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.73oQBOiguf/submodule'... done. [master ee4fd2d] add submodule 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 submodule > cat /tmp/tmp.73oQBOiguf/input | preproc -C /tmp/tmp.73oQBOiguf -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.73oQBOiguf' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.hgpgcwNizl/output | log_filter > /tmp/tmp.hgpgcwNizl/log > diff /tmp/tmp.NjM8x5KaHe/output /tmp/tmp.hgpgcwNizl/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.hgpgcwNizl/log && die; } > diff log /tmp/tmp.hgpgcwNizl/log || die success. > cat /tmp/tmp.73oQBOiguf/submodule/input_dir | preproc -C /tmp/tmp.73oQBOiguf -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.73oQBOiguf/submodule' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.hgpgcwNizl/output | log_filter > /tmp/tmp.hgpgcwNizl/log > diff /tmp/tmp.NjM8x5KaHe/output_dir /tmp/tmp.hgpgcwNizl/output || { echo 'LOG DIFF:' && diff log_dir /tmp/tmp.hgpgcwNizl/log && die; } > diff log_dir /tmp/tmp.hgpgcwNizl/log || die success. > cat /tmp/tmp.73oQBOiguf/submodule/input_cwd | preproc -C /tmp/tmp.73oQBOiguf/submodule/subdir -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.73oQBOiguf/submodule' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.hgpgcwNizl/output | log_filter > /tmp/tmp.hgpgcwNizl/log > diff /tmp/tmp.NjM8x5KaHe/output_cwd /tmp/tmp.hgpgcwNizl/output || { echo 'LOG DIFF:' && diff log_cwd /tmp/tmp.hgpgcwNizl/log && die; } > diff log_cwd /tmp/tmp.hgpgcwNizl/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.bmmA8EqkJj/.git/ [master (root-commit) 4be6989] 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.bmmA8EqkJj/submodule'... done. [master 18c8216] add submodule 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 submodule > cat /tmp/tmp.bmmA8EqkJj/input_archive | preproc -C /tmp/tmp.bmmA8EqkJj -e OUTDIR=/tmp/tmp.5LyuC6FVVN -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.bmmA8EqkJj' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.5LyuC6FVVN/output | log_filter > /tmp/tmp.5LyuC6FVVN/log > custom_test_archive_clean > tar -C /tmp/tmp.5LyuC6FVVN -xf /tmp/tmp.5LyuC6FVVN/test-18c82169.tar.gz || die > [ -d /tmp/tmp.5LyuC6FVVN/test/submodule/subdir ] && die > tar -C /tmp/tmp.5LyuC6FVVN -xf /tmp/tmp.5LyuC6FVVN/test-submodule-18c82169.tar.gz || die > [ -f /tmp/tmp.5LyuC6FVVN/test-submodule/subdir/cookie ] || die > cat /tmp/tmp.5LyuC6FVVN/test-submodule/subdir/cookie | grep -q 0 || die > tar -C /tmp/tmp.5LyuC6FVVN -xf /tmp/tmp.5LyuC6FVVN/test-submodule-subdir-18c82169.tar.gz || die > [ -f /tmp/tmp.5LyuC6FVVN/test-submodule-subdir/cookie ] || die > cat /tmp/tmp.5LyuC6FVVN/test-submodule-subdir/cookie | grep -q 0 || die success. > cat /tmp/tmp.bmmA8EqkJj/input_pack | preproc -C /tmp/tmp.bmmA8EqkJj -e OUTDIR=/tmp/tmp.5LyuC6FVVN -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.bmmA8EqkJj' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.5LyuC6FVVN/output | log_filter > /tmp/tmp.5LyuC6FVVN/log > custom_test_pack_clean > tar -C /tmp/tmp.5LyuC6FVVN -xf /tmp/tmp.5LyuC6FVVN/test-18c82169.tar.gz || die > [ -f /tmp/tmp.5LyuC6FVVN/test/submodule/subdir ] && die > tar -C /tmp/tmp.5LyuC6FVVN -xf /tmp/tmp.5LyuC6FVVN/test-submodule-18c82169.tar.gz || die > [ -f /tmp/tmp.5LyuC6FVVN/test-submodule/subdir/cookie ] || die > cat /tmp/tmp.5LyuC6FVVN/test-submodule/subdir/cookie | grep -q 0 || die > tar -C /tmp/tmp.5LyuC6FVVN -xf /tmp/tmp.5LyuC6FVVN/test-submodule-subdir-18c82169.tar.gz || die > [ -f /tmp/tmp.5LyuC6FVVN/test-submodule-subdir/cookie ] || die > cat /tmp/tmp.5LyuC6FVVN/test-submodule-subdir/cookie | grep -q 0 || die success. [master b4df0c5] submodule new commit 1 file changed, 1 insertion(+) > cat /tmp/tmp.bmmA8EqkJj/input_archive | preproc -C /tmp/tmp.bmmA8EqkJj -e OUTDIR=/tmp/tmp.5LyuC6FVVN -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.bmmA8EqkJj' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.5LyuC6FVVN/output | log_filter > /tmp/tmp.5LyuC6FVVN/log > custom_test_archive_submodule_new_commit > tar -C /tmp/tmp.5LyuC6FVVN -xf /tmp/tmp.5LyuC6FVVN/test-18c82169.tar.gz || die > [ -d /tmp/tmp.5LyuC6FVVN/test/submodule/subdir ] && die > tar -C /tmp/tmp.5LyuC6FVVN -xf /tmp/tmp.5LyuC6FVVN/test-submodule-18c82169.tar.gz || die > [ -f /tmp/tmp.5LyuC6FVVN/test-submodule/subdir/cookie ] || die > cat /tmp/tmp.5LyuC6FVVN/test-submodule/subdir/cookie | grep -q 0 || die > tar -C /tmp/tmp.5LyuC6FVVN -xf /tmp/tmp.5LyuC6FVVN/test-submodule-subdir-18c82169.tar.gz || die > [ -f /tmp/tmp.5LyuC6FVVN/test-submodule-subdir/cookie ] || die > cat /tmp/tmp.5LyuC6FVVN/test-submodule-subdir/cookie | grep -q 0 || die success. > cat /tmp/tmp.bmmA8EqkJj/input_pack | preproc -C /tmp/tmp.bmmA8EqkJj -e OUTDIR=/tmp/tmp.5LyuC6FVVN -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.bmmA8EqkJj' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.5LyuC6FVVN/output | log_filter > /tmp/tmp.5LyuC6FVVN/log > custom_test_pack_submodule_new_commit > tar -C /tmp/tmp.5LyuC6FVVN -xf /tmp/tmp.5LyuC6FVVN/test-18c82169-dirty.tar.gz || die > [ -d /tmp/tmp.5LyuC6FVVN/test/submodule/subdir ] && die > tar -C /tmp/tmp.5LyuC6FVVN -xf /tmp/tmp.5LyuC6FVVN/test-submodule-18c82169-dirty.tar.gz || die > cat /tmp/tmp.5LyuC6FVVN/test-submodule/subdir/cookie | grep -q 1 || die > tar -C /tmp/tmp.5LyuC6FVVN -xf /tmp/tmp.5LyuC6FVVN/test-submodule-subdir-18c82169.tar.gz || die > cat /tmp/tmp.5LyuC6FVVN/test-submodule-subdir/cookie | grep -q 1 || die success. > cat /tmp/tmp.bmmA8EqkJj/input_archive | preproc -C /tmp/tmp.bmmA8EqkJj -e OUTDIR=/tmp/tmp.5LyuC6FVVN -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.bmmA8EqkJj' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.5LyuC6FVVN/output | log_filter > /tmp/tmp.5LyuC6FVVN/log > custom_test_archive_submodule_dirty > tar -C /tmp/tmp.5LyuC6FVVN -xf /tmp/tmp.5LyuC6FVVN/test-18c82169.tar.gz || die > [ -d /tmp/tmp.5LyuC6FVVN/test/submodule/subdir ] && die > tar -C /tmp/tmp.5LyuC6FVVN -xf /tmp/tmp.5LyuC6FVVN/test-submodule-18c82169.tar.gz || die > [ -f /tmp/tmp.5LyuC6FVVN/test-submodule/subdir/cookie ] || die > cat /tmp/tmp.5LyuC6FVVN/test-submodule/subdir/cookie | grep -q 0 || die > tar -C /tmp/tmp.5LyuC6FVVN -xf /tmp/tmp.5LyuC6FVVN/test-submodule-subdir-18c82169.tar.gz || die > [ -f /tmp/tmp.5LyuC6FVVN/test-submodule-subdir/cookie ] || die > cat /tmp/tmp.5LyuC6FVVN/test-submodule-subdir/cookie | grep -q 0 || die success. > cat /tmp/tmp.bmmA8EqkJj/input_pack | preproc -C /tmp/tmp.bmmA8EqkJj -e OUTDIR=/tmp/tmp.5LyuC6FVVN -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.bmmA8EqkJj' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.5LyuC6FVVN/output | log_filter > /tmp/tmp.5LyuC6FVVN/log > custom_test_pack_submodule_dirty > tar -C /tmp/tmp.5LyuC6FVVN -xf /tmp/tmp.5LyuC6FVVN/test-18c82169-dirty.tar.gz || die > [ -d /tmp/tmp.5LyuC6FVVN/test/submodule/subdir ] && die > tar -C /tmp/tmp.5LyuC6FVVN -xf /tmp/tmp.5LyuC6FVVN/test-submodule-18c82169-dirty.tar.gz || die > cat /tmp/tmp.5LyuC6FVVN/test-submodule/subdir/cookie | grep -q 2 || die > tar -C /tmp/tmp.5LyuC6FVVN -xf /tmp/tmp.5LyuC6FVVN/test-submodule-subdir-18c82169.tar.gz || die > cat /tmp/tmp.5LyuC6FVVN/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.GOiT3cx8dI/.git/ [master (root-commit) 84eb053] 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 a74c157] side branch commit 1 file changed, 1 insertion(+) Switched to branch 'master' > cat /tmp/tmp.GOiT3cx8dI/input | preproc -C /tmp/tmp.GOiT3cx8dI -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.GOiT3cx8dI' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.qbDP10INOi/output | log_filter > /tmp/tmp.qbDP10INOi/log > diff /tmp/tmp.dNqVl76wkN/output /tmp/tmp.qbDP10INOi/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.qbDP10INOi/log && die; } > diff log /tmp/tmp.qbDP10INOi/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.rpvgbv5IwU/.git/ [master (root-commit) d947a92] inital_commit 2 files changed, 117 insertions(+) create mode 100644 foo/file create mode 100644 input [master d4ea97b] commit after tag 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 file > cat /tmp/tmp.rpvgbv5IwU/input | preproc -C /tmp/tmp.rpvgbv5IwU -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.rpvgbv5IwU' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.kkrx9SAAJQ/output | log_filter > /tmp/tmp.kkrx9SAAJQ/log > diff /tmp/tmp.hKdVHAit1D/output /tmp/tmp.kkrx9SAAJQ/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.kkrx9SAAJQ/log && die; } > diff log /tmp/tmp.kkrx9SAAJQ/log || die success. ====================== test_uninited ====================== > cat /tmp/tmp.hAVPrekac7/input | preproc -C /tmp/tmp.hAVPrekac7 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.hAVPrekac7' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.GJQmcBFmmr/output | log_filter > /tmp/tmp.GJQmcBFmmr/log > diff /tmp/tmp.dJo1RVkr1F/output /tmp/tmp.GJQmcBFmmr/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.GJQmcBFmmr/log && die; } > diff log /tmp/tmp.GJQmcBFmmr/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.x185di + 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.aj3Xbx + 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.AK3LrH + 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