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-1687747838.473196/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-1687747838.473196/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-1687747838.473196/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.LngZg3 + 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.JQGvme + 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.sAyrkM + 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.l3GznB1LuI/.git/ > cat /tmp/tmp.l3GznB1LuI/input | preproc -C /tmp/tmp.l3GznB1LuI -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.l3GznB1LuI' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.TBo4kv1u0A/output | log_filter > /tmp/tmp.TBo4kv1u0A/log > diff /tmp/tmp.kyiXdiqrHc/output /tmp/tmp.TBo4kv1u0A/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.TBo4kv1u0A/log && die; } > diff log /tmp/tmp.TBo4kv1u0A/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.kP29wT46KF/.git/ [master (root-commit) 05bcba1] commit 1 1 file changed, 117 insertions(+) create mode 100644 input [master c5764cf] commit 2 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 foo/file [master f057f57] commit 3 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 bar/file > cat /tmp/tmp.kP29wT46KF/input | preproc -C /tmp/tmp.kP29wT46KF -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.kP29wT46KF' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.JT5MlcTcJX/output | log_filter > /tmp/tmp.JT5MlcTcJX/log > diff /tmp/tmp.3zWs9jn8yj/output /tmp/tmp.JT5MlcTcJX/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.JT5MlcTcJX/log && die; } > diff log /tmp/tmp.JT5MlcTcJX/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.UxUVdpSIaF/.git/ [master (root-commit) 784aca1] inital_commit 2 files changed, 117 insertions(+) create mode 100644 foo/file create mode 100644 input > cat /tmp/tmp.UxUVdpSIaF/input | preproc -C /tmp/tmp.UxUVdpSIaF -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.UxUVdpSIaF' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.ewIEgOdZWp/output | log_filter > /tmp/tmp.ewIEgOdZWp/log > diff /tmp/tmp.v2sRUMkg7p/output /tmp/tmp.ewIEgOdZWp/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.ewIEgOdZWp/log && die; } > diff log /tmp/tmp.ewIEgOdZWp/log || die success. ====================== test_fn_bumped_version ====================== > cat /tmp/tmp.yq3yUHMnJV/input | preproc -C /tmp/tmp.yq3yUHMnJV -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.yq3yUHMnJV' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.hbn2HpD9YK/output | log_filter > /tmp/tmp.hbn2HpD9YK/log > diff /tmp/tmp.NSs0ruHIYw/output /tmp/tmp.hbn2HpD9YK/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.hbn2HpD9YK/log && die; } > diff log /tmp/tmp.hbn2HpD9YK/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.rirS7FLNdD/.git/ [master (root-commit) 9cd89ed] add subdir with file 2 files changed, 6 insertions(+) create mode 100644 input create mode 100644 subdir/file Cloning into '/tmp/tmp.rirS7FLNdD/submodule'... done. [master d6df085] add submodule 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 submodule > cat /tmp/tmp.rirS7FLNdD/input | preproc -C /tmp/tmp.rirS7FLNdD -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.rirS7FLNdD' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.mFg059npph/output | log_filter > /tmp/tmp.mFg059npph/log > diff /tmp/tmp.nP6QPFScNk/output /tmp/tmp.mFg059npph/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.mFg059npph/log && die; } > diff log /tmp/tmp.mFg059npph/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.84I3lqFajL/.git/ > cat /tmp/tmp.84I3lqFajL/input | preproc -C /tmp/tmp.84I3lqFajL -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.84I3lqFajL' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.Xw7wsw26w7/output | log_filter > /tmp/tmp.Xw7wsw26w7/log > diff /tmp/tmp.DyOHJM8dc2/output /tmp/tmp.Xw7wsw26w7/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.Xw7wsw26w7/log && die; } > diff log /tmp/tmp.Xw7wsw26w7/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.e8Tfb61fuV/.git/ > cat /tmp/tmp.e8Tfb61fuV/input | preproc -C /tmp/tmp.e8Tfb61fuV -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.e8Tfb61fuV' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.IFQldgImep/output | log_filter > /tmp/tmp.IFQldgImep/log > diff /tmp/tmp.rQ1trVTo5s/output /tmp/tmp.IFQldgImep/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.IFQldgImep/log && die; } > diff log /tmp/tmp.IFQldgImep/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.cajQ8yl2yl/.git/ [master (root-commit) 650b34e] hello world 3 files changed, 3 insertions(+) create mode 100644 cookie create mode 100644 foo/cookie create mode 100644 input > cat /tmp/tmp.cajQ8yl2yl/input | preproc -C /tmp/tmp.cajQ8yl2yl -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.cajQ8yl2yl' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.CHvxtKUw2Y/output | log_filter > /tmp/tmp.CHvxtKUw2Y/log > diff /tmp/tmp.W8deBjiyFX/output_clean /tmp/tmp.CHvxtKUw2Y/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.CHvxtKUw2Y/log && die; } > diff log /tmp/tmp.CHvxtKUw2Y/log || die success. > cat /tmp/tmp.cajQ8yl2yl/input | preproc -C /tmp/tmp.cajQ8yl2yl -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.cajQ8yl2yl' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.CHvxtKUw2Y/output | log_filter > /tmp/tmp.CHvxtKUw2Y/log > diff /tmp/tmp.W8deBjiyFX/output_dirty /tmp/tmp.CHvxtKUw2Y/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.CHvxtKUw2Y/log && die; } > diff log /tmp/tmp.CHvxtKUw2Y/log || die success. Updated 1 path from the index > cat /tmp/tmp.cajQ8yl2yl/input | preproc -C /tmp/tmp.cajQ8yl2yl -e GIT_DIRTY=1 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.cajQ8yl2yl' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.CHvxtKUw2Y/output | log_filter > /tmp/tmp.CHvxtKUw2Y/log > diff /tmp/tmp.W8deBjiyFX/output_dirty_manual /tmp/tmp.CHvxtKUw2Y/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.CHvxtKUw2Y/log && die; } > diff log /tmp/tmp.CHvxtKUw2Y/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.4YPzXq6xI2/.git/ > cat /tmp/tmp.4YPzXq6xI2/input | preproc -C /tmp/tmp.4YPzXq6xI2 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.4YPzXq6xI2' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.HiMKcJld6d/output | log_filter > /tmp/tmp.HiMKcJld6d/log > diff /tmp/tmp.qwcEcPYA5a/output /tmp/tmp.HiMKcJld6d/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.HiMKcJld6d/log && die; } > diff log /tmp/tmp.HiMKcJld6d/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.QtHMdiqRo2/.git/ > cat /tmp/tmp.QtHMdiqRo2/input | preproc -C /tmp/tmp.QtHMdiqRo2 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.QtHMdiqRo2' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.AiNhrD2wV6/output | log_filter > /tmp/tmp.AiNhrD2wV6/log > diff /tmp/tmp.ZdEUJ8D5lQ/output /tmp/tmp.AiNhrD2wV6/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.AiNhrD2wV6/log && die; } > diff log /tmp/tmp.AiNhrD2wV6/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.mSDGeJzFOH/.git/ > cat /tmp/tmp.mSDGeJzFOH/input | preproc -C /tmp/tmp.mSDGeJzFOH -e OUTDIR=/tmp/tmp.2AuuFSgwYZ -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.mSDGeJzFOH' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.2AuuFSgwYZ/output | log_filter > /tmp/tmp.2AuuFSgwYZ/log > diff /tmp/tmp.PenYietKFc/output /tmp/tmp.2AuuFSgwYZ/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.2AuuFSgwYZ/log && die; } > diff log /tmp/tmp.2AuuFSgwYZ/log || die > custom_test > tar -C /tmp/tmp.2AuuFSgwYZ -xf /tmp/tmp.2AuuFSgwYZ/foo.tar.gz || die > diff /tmp/tmp.2AuuFSgwYZ/foo/cookie /tmp/tmp.mSDGeJzFOH/cookie || die > ls /tmp/tmp.2AuuFSgwYZ/foo/cookie_ignored 2>/dev/null && die > ls /tmp/tmp.2AuuFSgwYZ/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.O4NYa2BGjv/.git/ [master (root-commit) 0403ef1] commit 1 2 files changed, 3 insertions(+) create mode 100644 cookie create mode 100644 input > cat /tmp/tmp.O4NYa2BGjv/input | preproc -C /tmp/tmp.O4NYa2BGjv -e OUTDIR=/tmp/tmp.VuHFYpPH2Q -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.O4NYa2BGjv' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.VuHFYpPH2Q/output | log_filter > /tmp/tmp.VuHFYpPH2Q/log > diff /tmp/tmp.PjduSLeOZi/output /tmp/tmp.VuHFYpPH2Q/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.VuHFYpPH2Q/log && die; } > diff log /tmp/tmp.VuHFYpPH2Q/log || die > custom_test > tar -C /tmp/tmp.VuHFYpPH2Q -xf /tmp/tmp.VuHFYpPH2Q/foo.tar.gz || die > diff /tmp/tmp.VuHFYpPH2Q/foo/cookie /tmp/tmp.O4NYa2BGjv/cookie || die > [ '0403ef1a8f624ad35e03f6619f46474b89903483' = '0403ef1a8f624ad35e03f6619f46474b89903483' ] || die > tar -C /tmp/tmp.VuHFYpPH2Q -xf /tmp/tmp.VuHFYpPH2Q/bar.tar.gz || die > diff /tmp/tmp.VuHFYpPH2Q/bar/cookie /tmp/tmp.O4NYa2BGjv/cookie || die > [ '0403ef1a8f624ad35e03f6619f46474b89903483' = '0403ef1a8f624ad35e03f6619f46474b89903483' ] || die success. > cat /tmp/tmp.O4NYa2BGjv/input | preproc -C /tmp/tmp.O4NYa2BGjv -e OUTDIR=/tmp/tmp.VuHFYpPH2Q -e GIT_STATUS=somestatus -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.O4NYa2BGjv' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.VuHFYpPH2Q/output | log_filter > /tmp/tmp.VuHFYpPH2Q/log > test_nonempty_git_status > tar -C /tmp/tmp.VuHFYpPH2Q -xf /tmp/tmp.VuHFYpPH2Q/foo.tar.gz || die > diff /tmp/tmp.VuHFYpPH2Q/foo/cookie /tmp/tmp.O4NYa2BGjv/cookie || die > [ '0403ef1a8f624ad35e03f6619f46474b89903483' = '' ] && die > tar -C /tmp/tmp.VuHFYpPH2Q -xf /tmp/tmp.VuHFYpPH2Q/bar.tar.gz || die > diff /tmp/tmp.VuHFYpPH2Q/bar/cookie /tmp/tmp.O4NYa2BGjv/cookie || die > [ '0403ef1a8f624ad35e03f6619f46474b89903483' = '0403ef1a8f624ad35e03f6619f46474b89903483' ] || die success. > cat /tmp/tmp.O4NYa2BGjv/input | preproc -C /tmp/tmp.O4NYa2BGjv -e OUTDIR=/tmp/tmp.VuHFYpPH2Q -e GIT_HEAD=somehead -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.O4NYa2BGjv' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.VuHFYpPH2Q/output | log_filter > /tmp/tmp.VuHFYpPH2Q/log > test_invalid_git_head > [ -f '/tmp/tmp.VuHFYpPH2Q/foo.tar.gz' ] && die > [ -f '/tmp/tmp.VuHFYpPH2Q/bar.tar.gz' ] && die success. > cat /tmp/tmp.O4NYa2BGjv/input | preproc -C /tmp/tmp.O4NYa2BGjv -e OUTDIR=/tmp/tmp.VuHFYpPH2Q -e GIT_HEAD= -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.O4NYa2BGjv' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.VuHFYpPH2Q/output | log_filter > /tmp/tmp.VuHFYpPH2Q/log > test_empty_git_head > tar -C /tmp/tmp.VuHFYpPH2Q -xf /tmp/tmp.VuHFYpPH2Q/foo.tar.gz || die > diff /tmp/tmp.VuHFYpPH2Q/foo/cookie /tmp/tmp.O4NYa2BGjv/cookie || die > [ '0403ef1a8f624ad35e03f6619f46474b89903483' = '' ] && die > [ -f '/tmp/tmp.VuHFYpPH2Q/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.yaub1cGbnH/.git/ [master (root-commit) 0403ef1] commit 1 2 files changed, 3 insertions(+) create mode 100644 cookie create mode 100644 input > cat /tmp/tmp.yaub1cGbnH/input | preproc -C /tmp/tmp.yaub1cGbnH -e OUTDIR=/tmp/tmp.Nf4J5zreMx -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.yaub1cGbnH' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.Nf4J5zreMx/output | log_filter > /tmp/tmp.Nf4J5zreMx/log > diff /tmp/tmp.FEx5h1UMf6/output /tmp/tmp.Nf4J5zreMx/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.Nf4J5zreMx/log && die; } > diff log /tmp/tmp.Nf4J5zreMx/log || die > custom_test > tar -C /tmp/tmp.Nf4J5zreMx -xf /tmp/tmp.Nf4J5zreMx/foo.tar.gz || die > diff /tmp/tmp.Nf4J5zreMx/foo/cookie /tmp/tmp.yaub1cGbnH/cookie || die > [ '0403ef1a8f624ad35e03f6619f46474b89903483' = '' ] && die > tar -C /tmp/tmp.Nf4J5zreMx -xf /tmp/tmp.Nf4J5zreMx/bar.tar.gz || die > diff /tmp/tmp.Nf4J5zreMx/bar/cookie /tmp/tmp.yaub1cGbnH/cookie >/dev/null && die > [ '0403ef1a8f624ad35e03f6619f46474b89903483' = '0403ef1a8f624ad35e03f6619f46474b89903483' ] || 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.jhTu943EZK/.git/ [master (root-commit) 0c03575] 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.jhTu943EZK/bar/input | preproc -C /tmp/tmp.jhTu943EZK/foo -e OUTDIR=/tmp/tmp.2GVGZKB6gf -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.jhTu943EZK/bar' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.2GVGZKB6gf/output | log_filter > /tmp/tmp.2GVGZKB6gf/log > diff /tmp/tmp.IS9UhXGcla/output /tmp/tmp.2GVGZKB6gf/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.2GVGZKB6gf/log && die; } > diff log /tmp/tmp.2GVGZKB6gf/log || die > custom_test > tar -C /tmp/tmp.2GVGZKB6gf -xf /tmp/tmp.2GVGZKB6gf/dir_pack_nodirname.tar.gz || die > diff /tmp/tmp.2GVGZKB6gf/test-bar/cookie /tmp/tmp.jhTu943EZK/bar/cookie || die > tar -C /tmp/tmp.2GVGZKB6gf -xf /tmp/tmp.2GVGZKB6gf/dir_archive_nodirname.tar.gz || die > diff /tmp/tmp.2GVGZKB6gf/test-bar/cookie /tmp/tmp.jhTu943EZK/bar/cookie || die > tar -C /tmp/tmp.2GVGZKB6gf -xf /tmp/tmp.2GVGZKB6gf/dir_pack_foo.tar.gz || die > diff /tmp/tmp.2GVGZKB6gf/foo/cookie /tmp/tmp.jhTu943EZK/bar/cookie || die > tar -C /tmp/tmp.2GVGZKB6gf -xf /tmp/tmp.2GVGZKB6gf/dir_archive_bar.tar.gz || die > diff /tmp/tmp.2GVGZKB6gf/bar/cookie /tmp/tmp.jhTu943EZK/bar/cookie || die > tar -C /tmp/tmp.2GVGZKB6gf -xf /tmp/tmp.2GVGZKB6gf/cwd_pack_nodirname.tar.gz || die > diff /tmp/tmp.2GVGZKB6gf/test-foo/cookie /tmp/tmp.jhTu943EZK/foo/cookie || die > tar -C /tmp/tmp.2GVGZKB6gf -xf /tmp/tmp.2GVGZKB6gf/cwd_archive_nodirname.tar.gz || die > diff /tmp/tmp.2GVGZKB6gf/test-foo/cookie /tmp/tmp.jhTu943EZK/foo/cookie || die > tar -C /tmp/tmp.2GVGZKB6gf -xf /tmp/tmp.2GVGZKB6gf/cwd_pack_foo.tar.gz || die > diff /tmp/tmp.2GVGZKB6gf/foo/cookie /tmp/tmp.jhTu943EZK/foo/cookie || die > tar -C /tmp/tmp.2GVGZKB6gf -xf /tmp/tmp.2GVGZKB6gf/cwd_archive_bar.tar.gz || die > diff /tmp/tmp.2GVGZKB6gf/bar/cookie /tmp/tmp.jhTu943EZK/foo/cookie || die > tar -C /tmp/tmp.2GVGZKB6gf -xf /tmp/tmp.2GVGZKB6gf/baz_pack_nodirname.tar.gz || die > diff /tmp/tmp.2GVGZKB6gf/test-baz/cookie /tmp/tmp.jhTu943EZK/baz/cookie || die > tar -C /tmp/tmp.2GVGZKB6gf -xf /tmp/tmp.2GVGZKB6gf/baz_archive_nodirname.tar.gz || die > diff /tmp/tmp.2GVGZKB6gf/test-baz/cookie /tmp/tmp.jhTu943EZK/baz/cookie || die > tar -C /tmp/tmp.2GVGZKB6gf -xf /tmp/tmp.2GVGZKB6gf/baz_pack_foo.tar.gz || die > diff /tmp/tmp.2GVGZKB6gf/foo/cookie /tmp/tmp.jhTu943EZK/baz/cookie || die > ls /tmp/tmp.2GVGZKB6gf/foo/cookie_ignored 2>/dev/null && die > ls /tmp/tmp.2GVGZKB6gf/foo/cookie_unadded 2>/dev/null && die > tar -C /tmp/tmp.2GVGZKB6gf -xf /tmp/tmp.2GVGZKB6gf/baz_archive_bar.tar.gz || die > diff /tmp/tmp.2GVGZKB6gf/bar/cookie /tmp/tmp.jhTu943EZK/baz/cookie || die > ls /tmp/tmp.2GVGZKB6gf/bar/cookie_ignored 2>/dev/null && die > ls /tmp/tmp.2GVGZKB6gf/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.ZTR35pTsq8/.git/ > cat /tmp/tmp.ZTR35pTsq8/bar/input | preproc -C /tmp/tmp.ZTR35pTsq8/foo -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.ZTR35pTsq8/bar' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.uigyQDZrk8/output | log_filter > /tmp/tmp.uigyQDZrk8/log > diff /tmp/tmp.gAYUfnoroW/output /tmp/tmp.uigyQDZrk8/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.uigyQDZrk8/log && die; } > diff log /tmp/tmp.uigyQDZrk8/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.lVOWzDcq9V/.git/ [master (root-commit) 9360f07] 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.lVOWzDcq9V/submodule'... done. [master 996dbcc] add submodule 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 submodule > cat /tmp/tmp.lVOWzDcq9V/input | preproc -C /tmp/tmp.lVOWzDcq9V -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.lVOWzDcq9V' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.R9JSDS2xFU/output | log_filter > /tmp/tmp.R9JSDS2xFU/log > diff /tmp/tmp.7lbEwVH4yG/output /tmp/tmp.R9JSDS2xFU/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.R9JSDS2xFU/log && die; } > diff log /tmp/tmp.R9JSDS2xFU/log || die success. > cat /tmp/tmp.lVOWzDcq9V/submodule/input_dir | preproc -C /tmp/tmp.lVOWzDcq9V -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.lVOWzDcq9V/submodule' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.R9JSDS2xFU/output | log_filter > /tmp/tmp.R9JSDS2xFU/log > diff /tmp/tmp.7lbEwVH4yG/output_dir /tmp/tmp.R9JSDS2xFU/output || { echo 'LOG DIFF:' && diff log_dir /tmp/tmp.R9JSDS2xFU/log && die; } > diff log_dir /tmp/tmp.R9JSDS2xFU/log || die success. > cat /tmp/tmp.lVOWzDcq9V/submodule/input_cwd | preproc -C /tmp/tmp.lVOWzDcq9V/submodule/subdir -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.lVOWzDcq9V/submodule' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.R9JSDS2xFU/output | log_filter > /tmp/tmp.R9JSDS2xFU/log > diff /tmp/tmp.7lbEwVH4yG/output_cwd /tmp/tmp.R9JSDS2xFU/output || { echo 'LOG DIFF:' && diff log_cwd /tmp/tmp.R9JSDS2xFU/log && die; } > diff log_cwd /tmp/tmp.R9JSDS2xFU/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.4IP75Fvflt/.git/ [master (root-commit) 39c07e3] 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.4IP75Fvflt/submodule'... done. [master 9c1a025] add submodule 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 submodule > cat /tmp/tmp.4IP75Fvflt/input_archive | preproc -C /tmp/tmp.4IP75Fvflt -e OUTDIR=/tmp/tmp.fQ7bzgrTFw -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.4IP75Fvflt' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.fQ7bzgrTFw/output | log_filter > /tmp/tmp.fQ7bzgrTFw/log > custom_test_archive_clean > tar -C /tmp/tmp.fQ7bzgrTFw -xf /tmp/tmp.fQ7bzgrTFw/test-9c1a0256.tar.gz || die > [ -d /tmp/tmp.fQ7bzgrTFw/test/submodule/subdir ] && die > tar -C /tmp/tmp.fQ7bzgrTFw -xf /tmp/tmp.fQ7bzgrTFw/test-submodule-9c1a0256.tar.gz || die > [ -f /tmp/tmp.fQ7bzgrTFw/test-submodule/subdir/cookie ] || die > cat /tmp/tmp.fQ7bzgrTFw/test-submodule/subdir/cookie | grep -q 0 || die > tar -C /tmp/tmp.fQ7bzgrTFw -xf /tmp/tmp.fQ7bzgrTFw/test-submodule-subdir-9c1a0256.tar.gz || die > [ -f /tmp/tmp.fQ7bzgrTFw/test-submodule-subdir/cookie ] || die > cat /tmp/tmp.fQ7bzgrTFw/test-submodule-subdir/cookie | grep -q 0 || die success. > cat /tmp/tmp.4IP75Fvflt/input_pack | preproc -C /tmp/tmp.4IP75Fvflt -e OUTDIR=/tmp/tmp.fQ7bzgrTFw -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.4IP75Fvflt' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.fQ7bzgrTFw/output | log_filter > /tmp/tmp.fQ7bzgrTFw/log > custom_test_pack_clean > tar -C /tmp/tmp.fQ7bzgrTFw -xf /tmp/tmp.fQ7bzgrTFw/test-9c1a0256.tar.gz || die > [ -f /tmp/tmp.fQ7bzgrTFw/test/submodule/subdir ] && die > tar -C /tmp/tmp.fQ7bzgrTFw -xf /tmp/tmp.fQ7bzgrTFw/test-submodule-9c1a0256.tar.gz || die > [ -f /tmp/tmp.fQ7bzgrTFw/test-submodule/subdir/cookie ] || die > cat /tmp/tmp.fQ7bzgrTFw/test-submodule/subdir/cookie | grep -q 0 || die > tar -C /tmp/tmp.fQ7bzgrTFw -xf /tmp/tmp.fQ7bzgrTFw/test-submodule-subdir-9c1a0256.tar.gz || die > [ -f /tmp/tmp.fQ7bzgrTFw/test-submodule-subdir/cookie ] || die > cat /tmp/tmp.fQ7bzgrTFw/test-submodule-subdir/cookie | grep -q 0 || die success. [master 24b3c12] submodule new commit 1 file changed, 1 insertion(+) > cat /tmp/tmp.4IP75Fvflt/input_archive | preproc -C /tmp/tmp.4IP75Fvflt -e OUTDIR=/tmp/tmp.fQ7bzgrTFw -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.4IP75Fvflt' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.fQ7bzgrTFw/output | log_filter > /tmp/tmp.fQ7bzgrTFw/log > custom_test_archive_submodule_new_commit > tar -C /tmp/tmp.fQ7bzgrTFw -xf /tmp/tmp.fQ7bzgrTFw/test-9c1a0256.tar.gz || die > [ -d /tmp/tmp.fQ7bzgrTFw/test/submodule/subdir ] && die > tar -C /tmp/tmp.fQ7bzgrTFw -xf /tmp/tmp.fQ7bzgrTFw/test-submodule-9c1a0256.tar.gz || die > [ -f /tmp/tmp.fQ7bzgrTFw/test-submodule/subdir/cookie ] || die > cat /tmp/tmp.fQ7bzgrTFw/test-submodule/subdir/cookie | grep -q 0 || die > tar -C /tmp/tmp.fQ7bzgrTFw -xf /tmp/tmp.fQ7bzgrTFw/test-submodule-subdir-9c1a0256.tar.gz || die > [ -f /tmp/tmp.fQ7bzgrTFw/test-submodule-subdir/cookie ] || die > cat /tmp/tmp.fQ7bzgrTFw/test-submodule-subdir/cookie | grep -q 0 || die success. > cat /tmp/tmp.4IP75Fvflt/input_pack | preproc -C /tmp/tmp.4IP75Fvflt -e OUTDIR=/tmp/tmp.fQ7bzgrTFw -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.4IP75Fvflt' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.fQ7bzgrTFw/output | log_filter > /tmp/tmp.fQ7bzgrTFw/log > custom_test_pack_submodule_new_commit > tar -C /tmp/tmp.fQ7bzgrTFw -xf /tmp/tmp.fQ7bzgrTFw/test-9c1a0256-dirty.tar.gz || die > [ -d /tmp/tmp.fQ7bzgrTFw/test/submodule/subdir ] && die > tar -C /tmp/tmp.fQ7bzgrTFw -xf /tmp/tmp.fQ7bzgrTFw/test-submodule-9c1a0256-dirty.tar.gz || die > cat /tmp/tmp.fQ7bzgrTFw/test-submodule/subdir/cookie | grep -q 1 || die > tar -C /tmp/tmp.fQ7bzgrTFw -xf /tmp/tmp.fQ7bzgrTFw/test-submodule-subdir-9c1a0256.tar.gz || die > cat /tmp/tmp.fQ7bzgrTFw/test-submodule-subdir/cookie | grep -q 1 || die success. > cat /tmp/tmp.4IP75Fvflt/input_archive | preproc -C /tmp/tmp.4IP75Fvflt -e OUTDIR=/tmp/tmp.fQ7bzgrTFw -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.4IP75Fvflt' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.fQ7bzgrTFw/output | log_filter > /tmp/tmp.fQ7bzgrTFw/log > custom_test_archive_submodule_dirty > tar -C /tmp/tmp.fQ7bzgrTFw -xf /tmp/tmp.fQ7bzgrTFw/test-9c1a0256.tar.gz || die > [ -d /tmp/tmp.fQ7bzgrTFw/test/submodule/subdir ] && die > tar -C /tmp/tmp.fQ7bzgrTFw -xf /tmp/tmp.fQ7bzgrTFw/test-submodule-9c1a0256.tar.gz || die > [ -f /tmp/tmp.fQ7bzgrTFw/test-submodule/subdir/cookie ] || die > cat /tmp/tmp.fQ7bzgrTFw/test-submodule/subdir/cookie | grep -q 0 || die > tar -C /tmp/tmp.fQ7bzgrTFw -xf /tmp/tmp.fQ7bzgrTFw/test-submodule-subdir-9c1a0256.tar.gz || die > [ -f /tmp/tmp.fQ7bzgrTFw/test-submodule-subdir/cookie ] || die > cat /tmp/tmp.fQ7bzgrTFw/test-submodule-subdir/cookie | grep -q 0 || die success. > cat /tmp/tmp.4IP75Fvflt/input_pack | preproc -C /tmp/tmp.4IP75Fvflt -e OUTDIR=/tmp/tmp.fQ7bzgrTFw -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.4IP75Fvflt' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.fQ7bzgrTFw/output | log_filter > /tmp/tmp.fQ7bzgrTFw/log > custom_test_pack_submodule_dirty > tar -C /tmp/tmp.fQ7bzgrTFw -xf /tmp/tmp.fQ7bzgrTFw/test-9c1a0256-dirty.tar.gz || die > [ -d /tmp/tmp.fQ7bzgrTFw/test/submodule/subdir ] && die > tar -C /tmp/tmp.fQ7bzgrTFw -xf /tmp/tmp.fQ7bzgrTFw/test-submodule-9c1a0256-dirty.tar.gz || die > cat /tmp/tmp.fQ7bzgrTFw/test-submodule/subdir/cookie | grep -q 2 || die > tar -C /tmp/tmp.fQ7bzgrTFw -xf /tmp/tmp.fQ7bzgrTFw/test-submodule-subdir-9c1a0256.tar.gz || die > cat /tmp/tmp.fQ7bzgrTFw/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.mKvszEPdLe/.git/ [master (root-commit) 46dd32e] 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 cbd0811] side branch commit 1 file changed, 1 insertion(+) Switched to branch 'master' > cat /tmp/tmp.mKvszEPdLe/input | preproc -C /tmp/tmp.mKvszEPdLe -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.mKvszEPdLe' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.7t0IpLy9u1/output | log_filter > /tmp/tmp.7t0IpLy9u1/log > diff /tmp/tmp.wALbpV508V/output /tmp/tmp.7t0IpLy9u1/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.7t0IpLy9u1/log && die; } > diff log /tmp/tmp.7t0IpLy9u1/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.4R6qZVRWCm/.git/ [master (root-commit) 9d8efe6] inital_commit 2 files changed, 117 insertions(+) create mode 100644 foo/file create mode 100644 input [master f38f0bb] commit after tag 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 file > cat /tmp/tmp.4R6qZVRWCm/input | preproc -C /tmp/tmp.4R6qZVRWCm -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.4R6qZVRWCm' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.PWUnDYdPeG/output | log_filter > /tmp/tmp.PWUnDYdPeG/log > diff /tmp/tmp.smN339tlzP/output /tmp/tmp.PWUnDYdPeG/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.PWUnDYdPeG/log && die; } > diff log /tmp/tmp.PWUnDYdPeG/log || die success. ====================== test_uninited ====================== > cat /tmp/tmp.qE10Kv2eHo/input | preproc -C /tmp/tmp.qE10Kv2eHo -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.qE10Kv2eHo' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.ipRScCKCDN/output | log_filter > /tmp/tmp.ipRScCKCDN/log > diff /tmp/tmp.bGN1sUSo19/output /tmp/tmp.ipRScCKCDN/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.ipRScCKCDN/log && die; } > diff log /tmp/tmp.ipRScCKCDN/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.trafMo + 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.KVZyOS + 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.6fy240 + 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