Mock Version: 2.9 Mock Version: 2.9 Mock Version: 2.9 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/rpkg-macros.spec'], chrootPath='/var/lib/mock/f33-build-26931043-3412181/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=201600uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --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: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1610928000 Wrote: /builddir/build/SRPMS/rpkg-macros-2.0-1.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/rpkg-macros.spec'], chrootPath='/var/lib/mock/f33-build-26931043-3412181/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=201600uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --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: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1610928000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.VxKG5D + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rpkg-util-macros + /usr/bin/gzip -dc /builddir/build/SOURCES/rpkg-util-macros-28034317.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd rpkg-util-macros + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.tnfayF + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rpkg-macros-2.0-1.fc33.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rpkg-macros-2.0-1.fc33.noarch ++ dirname /builddir/build/BUILDROOT/rpkg-macros-2.0-1.fc33.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rpkg-macros-2.0-1.fc33.noarch + cd rpkg-util-macros + install -d /builddir/build/BUILDROOT/rpkg-macros-2.0-1.fc33.noarch/usr/lib + install -d /builddir/build/BUILDROOT/rpkg-macros-2.0-1.fc33.noarch/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.fc33.noarch/usr/lib/rpkg.macros.d + install -d /builddir/build/BUILDROOT/rpkg-macros-2.0-1.fc33.noarch/usr/bin + install -p -m 755 bin/pack_sources /builddir/build/BUILDROOT/rpkg-macros-2.0-1.fc33.noarch/usr/bin/pack_sources + install -d /builddir/build/BUILDROOT/rpkg-macros-2.0-1.fc33.noarch/usr/share/man/man1 + install -p -m 644 man/rpkg-macros.1 /builddir/build/BUILDROOT/rpkg-macros-2.0-1.fc33.noarch//usr/share/man/man1/ + /usr/lib/rpm/find-debuginfo.sh -j8 --strict-build-id -m -i --build-id-seed 2.0-1.fc33 --unique-debug-suffix -2.0-1.fc33.noarch --unique-debug-src-base rpkg-macros-2.0-1.fc33.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/rpkg-util-macros find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/lib/rpkg.macros.d/helpers/git from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib/rpkg.macros.d/helpers/git_branch from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib/rpkg.macros.d/helpers/git_head from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib/rpkg.macros.d/helpers/git_head_short from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib/rpkg.macros.d/helpers/git_merged_tag_refs from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib/rpkg.macros.d/helpers/git_remote from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib/rpkg.macros.d/helpers/git_remote_url from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib/rpkg.macros.d/helpers/git_root from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib/rpkg.macros.d/helpers/git_status from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib/rpkg.macros.d/helpers/git_submodule_refs from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/bin/pack_sources from /bin/bash to #!/usr/bin/bash Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.qHVcDC + umask 022 + cd /builddir/build/BUILD + cd rpkg-util-macros + PATH=bin/:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + tests/run ====================== test_bash ====================== hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m Initialized empty Git repository in /tmp/tmp.DsdPIBMUM6/.git/ > cat /tmp/tmp.DsdPIBMUM6/input | preproc -C /tmp/tmp.DsdPIBMUM6 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.DsdPIBMUM6' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.POrvnv9Pvl/output | log_filter > /tmp/tmp.POrvnv9Pvl/log > diff /tmp/tmp.ENV7KuJh8a/output /tmp/tmp.POrvnv9Pvl/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.POrvnv9Pvl/log && die; } > diff log /tmp/tmp.POrvnv9Pvl/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.ikR8DoKMaT/.git/ [master (root-commit) f6a6072] commit 1 1 file changed, 117 insertions(+) create mode 100644 input [master a0e894a] commit 2 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 foo/file [master 8b3badc] commit 3 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 bar/file > cat /tmp/tmp.ikR8DoKMaT/input | preproc -C /tmp/tmp.ikR8DoKMaT -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.ikR8DoKMaT' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.kyOldCEuyb/output | log_filter > /tmp/tmp.kyOldCEuyb/log > diff /tmp/tmp.ytuCT4uwIP/output /tmp/tmp.kyOldCEuyb/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.kyOldCEuyb/log && die; } > diff log /tmp/tmp.kyOldCEuyb/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.FXICvLoxng/.git/ [master (root-commit) 3f1338b] inital_commit 2 files changed, 117 insertions(+) create mode 100644 foo/file create mode 100644 input > cat /tmp/tmp.FXICvLoxng/input | preproc -C /tmp/tmp.FXICvLoxng -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.FXICvLoxng' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.vM8Cnr0Ewi/output | log_filter > /tmp/tmp.vM8Cnr0Ewi/log > diff /tmp/tmp.8S6ZcpL1m3/output /tmp/tmp.vM8Cnr0Ewi/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.vM8Cnr0Ewi/log && die; } > diff log /tmp/tmp.vM8Cnr0Ewi/log || die success. ====================== test_fn_bumped_version ====================== > cat /tmp/tmp.Y8cR7KC98V/input | preproc -C /tmp/tmp.Y8cR7KC98V -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.Y8cR7KC98V' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.Zqsvl7Ahdh/output | log_filter > /tmp/tmp.Zqsvl7Ahdh/log > diff /tmp/tmp.0AJ5L1m1U9/output /tmp/tmp.Zqsvl7Ahdh/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.Zqsvl7Ahdh/log && die; } > diff log /tmp/tmp.Zqsvl7Ahdh/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.pFqBLibNBv/.git/ [master (root-commit) ce1501e] add subdir with file 2 files changed, 6 insertions(+) create mode 100644 input create mode 100644 subdir/file Cloning into '/tmp/tmp.pFqBLibNBv/submodule'... done. [master 9728ffa] add submodule 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 submodule > cat /tmp/tmp.pFqBLibNBv/input | preproc -C /tmp/tmp.pFqBLibNBv -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.pFqBLibNBv' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.dJaMzJaDSA/output | log_filter > /tmp/tmp.dJaMzJaDSA/log > diff /tmp/tmp.Pv2sKFpNp8/output /tmp/tmp.dJaMzJaDSA/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.dJaMzJaDSA/log && die; } > diff log /tmp/tmp.dJaMzJaDSA/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.TMP1oNVFbY/.git/ > cat /tmp/tmp.TMP1oNVFbY/input | preproc -C /tmp/tmp.TMP1oNVFbY -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.TMP1oNVFbY' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.gfWwCaXSlU/output | log_filter > /tmp/tmp.gfWwCaXSlU/log > diff /tmp/tmp.EmgcB6cAaO/output /tmp/tmp.gfWwCaXSlU/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.gfWwCaXSlU/log && die; } > diff log /tmp/tmp.gfWwCaXSlU/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.wKz6Tg08RV/.git/ > cat /tmp/tmp.wKz6Tg08RV/input | preproc -C /tmp/tmp.wKz6Tg08RV -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.wKz6Tg08RV' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.eQOFOYobjG/output | log_filter > /tmp/tmp.eQOFOYobjG/log > diff /tmp/tmp.23WZN4pHau/output /tmp/tmp.eQOFOYobjG/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.eQOFOYobjG/log && die; } > diff log /tmp/tmp.eQOFOYobjG/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.hqAwcRnmsg/.git/ [master (root-commit) 490f745] hello world 3 files changed, 3 insertions(+) create mode 100644 cookie create mode 100644 foo/cookie create mode 100644 input > cat /tmp/tmp.hqAwcRnmsg/input | preproc -C /tmp/tmp.hqAwcRnmsg -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.hqAwcRnmsg' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.BLvjJcfUJT/output | log_filter > /tmp/tmp.BLvjJcfUJT/log > diff /tmp/tmp.1vhycEvyPL/output_clean /tmp/tmp.BLvjJcfUJT/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.BLvjJcfUJT/log && die; } > diff log /tmp/tmp.BLvjJcfUJT/log || die success. > cat /tmp/tmp.hqAwcRnmsg/input | preproc -C /tmp/tmp.hqAwcRnmsg -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.hqAwcRnmsg' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.BLvjJcfUJT/output | log_filter > /tmp/tmp.BLvjJcfUJT/log > diff /tmp/tmp.1vhycEvyPL/output_dirty /tmp/tmp.BLvjJcfUJT/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.BLvjJcfUJT/log && die; } > diff log /tmp/tmp.BLvjJcfUJT/log || die success. Updated 1 path from the index > cat /tmp/tmp.hqAwcRnmsg/input | preproc -C /tmp/tmp.hqAwcRnmsg -e GIT_DIRTY=1 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.hqAwcRnmsg' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.BLvjJcfUJT/output | log_filter > /tmp/tmp.BLvjJcfUJT/log > diff /tmp/tmp.1vhycEvyPL/output_dirty_manual /tmp/tmp.BLvjJcfUJT/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.BLvjJcfUJT/log && die; } > diff log /tmp/tmp.BLvjJcfUJT/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.NQIX7IoZbw/.git/ > cat /tmp/tmp.NQIX7IoZbw/input | preproc -C /tmp/tmp.NQIX7IoZbw -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.NQIX7IoZbw' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.71NGdjx6gR/output | log_filter > /tmp/tmp.71NGdjx6gR/log > diff /tmp/tmp.kGLmKyNC0f/output /tmp/tmp.71NGdjx6gR/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.71NGdjx6gR/log && die; } > diff log /tmp/tmp.71NGdjx6gR/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.cSMJKDj33F/.git/ > cat /tmp/tmp.cSMJKDj33F/input | preproc -C /tmp/tmp.cSMJKDj33F -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.cSMJKDj33F' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.TwoGr0VPZI/output | log_filter > /tmp/tmp.TwoGr0VPZI/log > diff /tmp/tmp.q9VgQqOF4B/output /tmp/tmp.TwoGr0VPZI/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.TwoGr0VPZI/log && die; } > diff log /tmp/tmp.TwoGr0VPZI/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.2JBDCu0HrW/.git/ > cat /tmp/tmp.2JBDCu0HrW/input | preproc -C /tmp/tmp.2JBDCu0HrW -e OUTDIR=/tmp/tmp.r7OGcqvR3S -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.2JBDCu0HrW' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.r7OGcqvR3S/output | log_filter > /tmp/tmp.r7OGcqvR3S/log > diff /tmp/tmp.9byD1flYnU/output /tmp/tmp.r7OGcqvR3S/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.r7OGcqvR3S/log && die; } > diff log /tmp/tmp.r7OGcqvR3S/log || die > custom_test > tar -C /tmp/tmp.r7OGcqvR3S -xf /tmp/tmp.r7OGcqvR3S/foo.tar.gz || die > diff /tmp/tmp.r7OGcqvR3S/foo/cookie /tmp/tmp.2JBDCu0HrW/cookie || die > ls /tmp/tmp.r7OGcqvR3S/foo/cookie_ignored 2>/dev/null && die > ls /tmp/tmp.r7OGcqvR3S/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.Pi9FPBg8QB/.git/ [master (root-commit) 677bdaf] commit 1 2 files changed, 3 insertions(+) create mode 100644 cookie create mode 100644 input > cat /tmp/tmp.Pi9FPBg8QB/input | preproc -C /tmp/tmp.Pi9FPBg8QB -e OUTDIR=/tmp/tmp.z5xGuhRMZn -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.Pi9FPBg8QB' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.z5xGuhRMZn/output | log_filter > /tmp/tmp.z5xGuhRMZn/log > diff /tmp/tmp.215UFZFx36/output /tmp/tmp.z5xGuhRMZn/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.z5xGuhRMZn/log && die; } > diff log /tmp/tmp.z5xGuhRMZn/log || die > custom_test > tar -C /tmp/tmp.z5xGuhRMZn -xf /tmp/tmp.z5xGuhRMZn/foo.tar.gz || die > diff /tmp/tmp.z5xGuhRMZn/foo/cookie /tmp/tmp.Pi9FPBg8QB/cookie || die > [ '677bdaf7a2d616a6a7288d48dea2cfa45887f2a3' = '677bdaf7a2d616a6a7288d48dea2cfa45887f2a3' ] || die > tar -C /tmp/tmp.z5xGuhRMZn -xf /tmp/tmp.z5xGuhRMZn/bar.tar.gz || die > diff /tmp/tmp.z5xGuhRMZn/bar/cookie /tmp/tmp.Pi9FPBg8QB/cookie || die > [ '677bdaf7a2d616a6a7288d48dea2cfa45887f2a3' = '677bdaf7a2d616a6a7288d48dea2cfa45887f2a3' ] || die success. > cat /tmp/tmp.Pi9FPBg8QB/input | preproc -C /tmp/tmp.Pi9FPBg8QB -e OUTDIR=/tmp/tmp.z5xGuhRMZn -e GIT_STATUS=somestatus -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.Pi9FPBg8QB' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.z5xGuhRMZn/output | log_filter > /tmp/tmp.z5xGuhRMZn/log > test_nonempty_git_status > tar -C /tmp/tmp.z5xGuhRMZn -xf /tmp/tmp.z5xGuhRMZn/foo.tar.gz || die > diff /tmp/tmp.z5xGuhRMZn/foo/cookie /tmp/tmp.Pi9FPBg8QB/cookie || die > [ '677bdaf7a2d616a6a7288d48dea2cfa45887f2a3' = '' ] && die > tar -C /tmp/tmp.z5xGuhRMZn -xf /tmp/tmp.z5xGuhRMZn/bar.tar.gz || die > diff /tmp/tmp.z5xGuhRMZn/bar/cookie /tmp/tmp.Pi9FPBg8QB/cookie || die > [ '677bdaf7a2d616a6a7288d48dea2cfa45887f2a3' = '677bdaf7a2d616a6a7288d48dea2cfa45887f2a3' ] || die success. > cat /tmp/tmp.Pi9FPBg8QB/input | preproc -C /tmp/tmp.Pi9FPBg8QB -e OUTDIR=/tmp/tmp.z5xGuhRMZn -e GIT_HEAD=somehead -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.Pi9FPBg8QB' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.z5xGuhRMZn/output | log_filter > /tmp/tmp.z5xGuhRMZn/log > test_invalid_git_head > [ -f '/tmp/tmp.z5xGuhRMZn/foo.tar.gz' ] && die > [ -f '/tmp/tmp.z5xGuhRMZn/bar.tar.gz' ] && die success. > cat /tmp/tmp.Pi9FPBg8QB/input | preproc -C /tmp/tmp.Pi9FPBg8QB -e OUTDIR=/tmp/tmp.z5xGuhRMZn -e GIT_HEAD= -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.Pi9FPBg8QB' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.z5xGuhRMZn/output | log_filter > /tmp/tmp.z5xGuhRMZn/log > test_empty_git_head > tar -C /tmp/tmp.z5xGuhRMZn -xf /tmp/tmp.z5xGuhRMZn/foo.tar.gz || die > diff /tmp/tmp.z5xGuhRMZn/foo/cookie /tmp/tmp.Pi9FPBg8QB/cookie || die > [ '677bdaf7a2d616a6a7288d48dea2cfa45887f2a3' = '' ] && die > [ -f '/tmp/tmp.z5xGuhRMZn/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.YzAOwMkx5V/.git/ [master (root-commit) e481550] commit 1 2 files changed, 3 insertions(+) create mode 100644 cookie create mode 100644 input > cat /tmp/tmp.YzAOwMkx5V/input | preproc -C /tmp/tmp.YzAOwMkx5V -e OUTDIR=/tmp/tmp.rLhzLVHO02 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.YzAOwMkx5V' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.rLhzLVHO02/output | log_filter > /tmp/tmp.rLhzLVHO02/log > diff /tmp/tmp.oeCV54hxRC/output /tmp/tmp.rLhzLVHO02/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.rLhzLVHO02/log && die; } > diff log /tmp/tmp.rLhzLVHO02/log || die > custom_test > tar -C /tmp/tmp.rLhzLVHO02 -xf /tmp/tmp.rLhzLVHO02/foo.tar.gz || die > diff /tmp/tmp.rLhzLVHO02/foo/cookie /tmp/tmp.YzAOwMkx5V/cookie || die > [ 'e481550c5673ed99e0e094476af823a6478c8917' = '' ] && die > tar -C /tmp/tmp.rLhzLVHO02 -xf /tmp/tmp.rLhzLVHO02/bar.tar.gz || die > diff /tmp/tmp.rLhzLVHO02/bar/cookie /tmp/tmp.YzAOwMkx5V/cookie >/dev/null && die > [ 'e481550c5673ed99e0e094476af823a6478c8917' = 'e481550c5673ed99e0e094476af823a6478c8917' ] || 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.tE1Dtr3wNK/.git/ [master (root-commit) d551958] 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.tE1Dtr3wNK/bar/input | preproc -C /tmp/tmp.tE1Dtr3wNK/foo -e OUTDIR=/tmp/tmp.ojr4QcsUm5 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.tE1Dtr3wNK/bar' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.ojr4QcsUm5/output | log_filter > /tmp/tmp.ojr4QcsUm5/log > diff /tmp/tmp.Bx4pQMKHCg/output /tmp/tmp.ojr4QcsUm5/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.ojr4QcsUm5/log && die; } > diff log /tmp/tmp.ojr4QcsUm5/log || die > custom_test > tar -C /tmp/tmp.ojr4QcsUm5 -xf /tmp/tmp.ojr4QcsUm5/dir_pack_nodirname.tar.gz || die > diff /tmp/tmp.ojr4QcsUm5/test-bar/cookie /tmp/tmp.tE1Dtr3wNK/bar/cookie || die > tar -C /tmp/tmp.ojr4QcsUm5 -xf /tmp/tmp.ojr4QcsUm5/dir_archive_nodirname.tar.gz || die > diff /tmp/tmp.ojr4QcsUm5/test-bar/cookie /tmp/tmp.tE1Dtr3wNK/bar/cookie || die > tar -C /tmp/tmp.ojr4QcsUm5 -xf /tmp/tmp.ojr4QcsUm5/dir_pack_foo.tar.gz || die > diff /tmp/tmp.ojr4QcsUm5/foo/cookie /tmp/tmp.tE1Dtr3wNK/bar/cookie || die > tar -C /tmp/tmp.ojr4QcsUm5 -xf /tmp/tmp.ojr4QcsUm5/dir_archive_bar.tar.gz || die > diff /tmp/tmp.ojr4QcsUm5/bar/cookie /tmp/tmp.tE1Dtr3wNK/bar/cookie || die > tar -C /tmp/tmp.ojr4QcsUm5 -xf /tmp/tmp.ojr4QcsUm5/cwd_pack_nodirname.tar.gz || die > diff /tmp/tmp.ojr4QcsUm5/test-foo/cookie /tmp/tmp.tE1Dtr3wNK/foo/cookie || die > tar -C /tmp/tmp.ojr4QcsUm5 -xf /tmp/tmp.ojr4QcsUm5/cwd_archive_nodirname.tar.gz || die > diff /tmp/tmp.ojr4QcsUm5/test-foo/cookie /tmp/tmp.tE1Dtr3wNK/foo/cookie || die > tar -C /tmp/tmp.ojr4QcsUm5 -xf /tmp/tmp.ojr4QcsUm5/cwd_pack_foo.tar.gz || die > diff /tmp/tmp.ojr4QcsUm5/foo/cookie /tmp/tmp.tE1Dtr3wNK/foo/cookie || die > tar -C /tmp/tmp.ojr4QcsUm5 -xf /tmp/tmp.ojr4QcsUm5/cwd_archive_bar.tar.gz || die > diff /tmp/tmp.ojr4QcsUm5/bar/cookie /tmp/tmp.tE1Dtr3wNK/foo/cookie || die > tar -C /tmp/tmp.ojr4QcsUm5 -xf /tmp/tmp.ojr4QcsUm5/baz_pack_nodirname.tar.gz || die > diff /tmp/tmp.ojr4QcsUm5/test-baz/cookie /tmp/tmp.tE1Dtr3wNK/baz/cookie || die > tar -C /tmp/tmp.ojr4QcsUm5 -xf /tmp/tmp.ojr4QcsUm5/baz_archive_nodirname.tar.gz || die > diff /tmp/tmp.ojr4QcsUm5/test-baz/cookie /tmp/tmp.tE1Dtr3wNK/baz/cookie || die > tar -C /tmp/tmp.ojr4QcsUm5 -xf /tmp/tmp.ojr4QcsUm5/baz_pack_foo.tar.gz || die > diff /tmp/tmp.ojr4QcsUm5/foo/cookie /tmp/tmp.tE1Dtr3wNK/baz/cookie || die > ls /tmp/tmp.ojr4QcsUm5/foo/cookie_ignored 2>/dev/null && die > ls /tmp/tmp.ojr4QcsUm5/foo/cookie_unadded 2>/dev/null && die > tar -C /tmp/tmp.ojr4QcsUm5 -xf /tmp/tmp.ojr4QcsUm5/baz_archive_bar.tar.gz || die > diff /tmp/tmp.ojr4QcsUm5/bar/cookie /tmp/tmp.tE1Dtr3wNK/baz/cookie || die > ls /tmp/tmp.ojr4QcsUm5/bar/cookie_ignored 2>/dev/null && die > ls /tmp/tmp.ojr4QcsUm5/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.8vy5DWJXnT/.git/ > cat /tmp/tmp.8vy5DWJXnT/bar/input | preproc -C /tmp/tmp.8vy5DWJXnT/foo -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.8vy5DWJXnT/bar' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.bbIXmpR6yv/output | log_filter > /tmp/tmp.bbIXmpR6yv/log > diff /tmp/tmp.ChRqy4Ywmf/output /tmp/tmp.bbIXmpR6yv/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.bbIXmpR6yv/log && die; } > diff log /tmp/tmp.bbIXmpR6yv/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.k0H7vPcLZn/.git/ [master (root-commit) 0ba4ebb] 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.k0H7vPcLZn/submodule'... done. [master 50ab371] add submodule 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 submodule > cat /tmp/tmp.k0H7vPcLZn/input | preproc -C /tmp/tmp.k0H7vPcLZn -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.k0H7vPcLZn' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.dJm7fX6B5t/output | log_filter > /tmp/tmp.dJm7fX6B5t/log > diff /tmp/tmp.WjB389D5E0/output /tmp/tmp.dJm7fX6B5t/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.dJm7fX6B5t/log && die; } > diff log /tmp/tmp.dJm7fX6B5t/log || die success. > cat /tmp/tmp.k0H7vPcLZn/submodule/input_dir | preproc -C /tmp/tmp.k0H7vPcLZn -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.k0H7vPcLZn/submodule' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.dJm7fX6B5t/output | log_filter > /tmp/tmp.dJm7fX6B5t/log > diff /tmp/tmp.WjB389D5E0/output_dir /tmp/tmp.dJm7fX6B5t/output || { echo 'LOG DIFF:' && diff log_dir /tmp/tmp.dJm7fX6B5t/log && die; } > diff log_dir /tmp/tmp.dJm7fX6B5t/log || die success. > cat /tmp/tmp.k0H7vPcLZn/submodule/input_cwd | preproc -C /tmp/tmp.k0H7vPcLZn/submodule/subdir -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.k0H7vPcLZn/submodule' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.dJm7fX6B5t/output | log_filter > /tmp/tmp.dJm7fX6B5t/log > diff /tmp/tmp.WjB389D5E0/output_cwd /tmp/tmp.dJm7fX6B5t/output || { echo 'LOG DIFF:' && diff log_cwd /tmp/tmp.dJm7fX6B5t/log && die; } > diff log_cwd /tmp/tmp.dJm7fX6B5t/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.HGrlega2L2/.git/ [master (root-commit) 1edd1e4] 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.HGrlega2L2/submodule'... done. [master b95e142] add submodule 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 submodule > cat /tmp/tmp.HGrlega2L2/input_archive | preproc -C /tmp/tmp.HGrlega2L2 -e OUTDIR=/tmp/tmp.MVTEanZxU7 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.HGrlega2L2' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.MVTEanZxU7/output | log_filter > /tmp/tmp.MVTEanZxU7/log > custom_test_archive_clean > tar -C /tmp/tmp.MVTEanZxU7 -xf /tmp/tmp.MVTEanZxU7/test-b95e1423.tar.gz || die > [ -d /tmp/tmp.MVTEanZxU7/test/submodule/subdir ] && die > tar -C /tmp/tmp.MVTEanZxU7 -xf /tmp/tmp.MVTEanZxU7/test-submodule-b95e1423.tar.gz || die > [ -f /tmp/tmp.MVTEanZxU7/test-submodule/subdir/cookie ] || die > cat /tmp/tmp.MVTEanZxU7/test-submodule/subdir/cookie | grep -q 0 || die > tar -C /tmp/tmp.MVTEanZxU7 -xf /tmp/tmp.MVTEanZxU7/test-submodule-subdir-b95e1423.tar.gz || die > [ -f /tmp/tmp.MVTEanZxU7/test-submodule-subdir/cookie ] || die > cat /tmp/tmp.MVTEanZxU7/test-submodule-subdir/cookie | grep -q 0 || die success. > cat /tmp/tmp.HGrlega2L2/input_pack | preproc -C /tmp/tmp.HGrlega2L2 -e OUTDIR=/tmp/tmp.MVTEanZxU7 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.HGrlega2L2' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.MVTEanZxU7/output | log_filter > /tmp/tmp.MVTEanZxU7/log > custom_test_pack_clean > tar -C /tmp/tmp.MVTEanZxU7 -xf /tmp/tmp.MVTEanZxU7/test-b95e1423.tar.gz || die > [ -f /tmp/tmp.MVTEanZxU7/test/submodule/subdir ] && die > tar -C /tmp/tmp.MVTEanZxU7 -xf /tmp/tmp.MVTEanZxU7/test-submodule-b95e1423.tar.gz || die > [ -f /tmp/tmp.MVTEanZxU7/test-submodule/subdir/cookie ] || die > cat /tmp/tmp.MVTEanZxU7/test-submodule/subdir/cookie | grep -q 0 || die > tar -C /tmp/tmp.MVTEanZxU7 -xf /tmp/tmp.MVTEanZxU7/test-submodule-subdir-b95e1423.tar.gz || die > [ -f /tmp/tmp.MVTEanZxU7/test-submodule-subdir/cookie ] || die > cat /tmp/tmp.MVTEanZxU7/test-submodule-subdir/cookie | grep -q 0 || die success. [master d82b115] submodule new commit 1 file changed, 1 insertion(+) > cat /tmp/tmp.HGrlega2L2/input_archive | preproc -C /tmp/tmp.HGrlega2L2 -e OUTDIR=/tmp/tmp.MVTEanZxU7 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.HGrlega2L2' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.MVTEanZxU7/output | log_filter > /tmp/tmp.MVTEanZxU7/log > custom_test_archive_submodule_new_commit > tar -C /tmp/tmp.MVTEanZxU7 -xf /tmp/tmp.MVTEanZxU7/test-b95e1423.tar.gz || die > [ -d /tmp/tmp.MVTEanZxU7/test/submodule/subdir ] && die > tar -C /tmp/tmp.MVTEanZxU7 -xf /tmp/tmp.MVTEanZxU7/test-submodule-b95e1423.tar.gz || die > [ -f /tmp/tmp.MVTEanZxU7/test-submodule/subdir/cookie ] || die > cat /tmp/tmp.MVTEanZxU7/test-submodule/subdir/cookie | grep -q 0 || die > tar -C /tmp/tmp.MVTEanZxU7 -xf /tmp/tmp.MVTEanZxU7/test-submodule-subdir-b95e1423.tar.gz || die > [ -f /tmp/tmp.MVTEanZxU7/test-submodule-subdir/cookie ] || die > cat /tmp/tmp.MVTEanZxU7/test-submodule-subdir/cookie | grep -q 0 || die success. > cat /tmp/tmp.HGrlega2L2/input_pack | preproc -C /tmp/tmp.HGrlega2L2 -e OUTDIR=/tmp/tmp.MVTEanZxU7 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.HGrlega2L2' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.MVTEanZxU7/output | log_filter > /tmp/tmp.MVTEanZxU7/log > custom_test_pack_submodule_new_commit > tar -C /tmp/tmp.MVTEanZxU7 -xf /tmp/tmp.MVTEanZxU7/test-b95e1423-dirty.tar.gz || die > [ -d /tmp/tmp.MVTEanZxU7/test/submodule/subdir ] && die > tar -C /tmp/tmp.MVTEanZxU7 -xf /tmp/tmp.MVTEanZxU7/test-submodule-b95e1423-dirty.tar.gz || die > cat /tmp/tmp.MVTEanZxU7/test-submodule/subdir/cookie | grep -q 1 || die > tar -C /tmp/tmp.MVTEanZxU7 -xf /tmp/tmp.MVTEanZxU7/test-submodule-subdir-b95e1423.tar.gz || die > cat /tmp/tmp.MVTEanZxU7/test-submodule-subdir/cookie | grep -q 1 || die success. > cat /tmp/tmp.HGrlega2L2/input_archive | preproc -C /tmp/tmp.HGrlega2L2 -e OUTDIR=/tmp/tmp.MVTEanZxU7 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.HGrlega2L2' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.MVTEanZxU7/output | log_filter > /tmp/tmp.MVTEanZxU7/log > custom_test_archive_submodule_dirty > tar -C /tmp/tmp.MVTEanZxU7 -xf /tmp/tmp.MVTEanZxU7/test-b95e1423.tar.gz || die > [ -d /tmp/tmp.MVTEanZxU7/test/submodule/subdir ] && die > tar -C /tmp/tmp.MVTEanZxU7 -xf /tmp/tmp.MVTEanZxU7/test-submodule-b95e1423.tar.gz || die > [ -f /tmp/tmp.MVTEanZxU7/test-submodule/subdir/cookie ] || die > cat /tmp/tmp.MVTEanZxU7/test-submodule/subdir/cookie | grep -q 0 || die > tar -C /tmp/tmp.MVTEanZxU7 -xf /tmp/tmp.MVTEanZxU7/test-submodule-subdir-b95e1423.tar.gz || die > [ -f /tmp/tmp.MVTEanZxU7/test-submodule-subdir/cookie ] || die > cat /tmp/tmp.MVTEanZxU7/test-submodule-subdir/cookie | grep -q 0 || die success. > cat /tmp/tmp.HGrlega2L2/input_pack | preproc -C /tmp/tmp.HGrlega2L2 -e OUTDIR=/tmp/tmp.MVTEanZxU7 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.HGrlega2L2' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.MVTEanZxU7/output | log_filter > /tmp/tmp.MVTEanZxU7/log > custom_test_pack_submodule_dirty > tar -C /tmp/tmp.MVTEanZxU7 -xf /tmp/tmp.MVTEanZxU7/test-b95e1423-dirty.tar.gz || die > [ -d /tmp/tmp.MVTEanZxU7/test/submodule/subdir ] && die > tar -C /tmp/tmp.MVTEanZxU7 -xf /tmp/tmp.MVTEanZxU7/test-submodule-b95e1423-dirty.tar.gz || die > cat /tmp/tmp.MVTEanZxU7/test-submodule/subdir/cookie | grep -q 2 || die > tar -C /tmp/tmp.MVTEanZxU7 -xf /tmp/tmp.MVTEanZxU7/test-submodule-subdir-b95e1423.tar.gz || die > cat /tmp/tmp.MVTEanZxU7/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.qvX5cjHUhQ/.git/ [master (root-commit) 92f1ebf] 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 b01c237] side branch commit 1 file changed, 1 insertion(+) Switched to branch 'master' > cat /tmp/tmp.qvX5cjHUhQ/input | preproc -C /tmp/tmp.qvX5cjHUhQ -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.qvX5cjHUhQ' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.4Yvmz9yrcu/output | log_filter > /tmp/tmp.4Yvmz9yrcu/log > diff /tmp/tmp.syGNpdovWP/output /tmp/tmp.4Yvmz9yrcu/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.4Yvmz9yrcu/log && die; } > diff log /tmp/tmp.4Yvmz9yrcu/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.d6RRz7Jmfc/.git/ [master (root-commit) f48ee3e] inital_commit 2 files changed, 117 insertions(+) create mode 100644 foo/file create mode 100644 input [master 8a09fa6] commit after tag 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 file > cat /tmp/tmp.d6RRz7Jmfc/input | preproc -C /tmp/tmp.d6RRz7Jmfc -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.d6RRz7Jmfc' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.jvci2Hqt8f/output | log_filter > /tmp/tmp.jvci2Hqt8f/log > diff /tmp/tmp.Z9xMW6DdfY/output /tmp/tmp.jvci2Hqt8f/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.jvci2Hqt8f/log && die; } > diff log /tmp/tmp.jvci2Hqt8f/log || die success. ====================== test_uninited ====================== > cat /tmp/tmp.5oJwPS7e5M/input | preproc -C /tmp/tmp.5oJwPS7e5M -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.5oJwPS7e5M' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.f67iz5GjOt/output | log_filter > /tmp/tmp.f67iz5GjOt/log > diff /tmp/tmp.w8uqFlR0WZ/output /tmp/tmp.f67iz5GjOt/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.f67iz5GjOt/log && die; } > diff log /tmp/tmp.f67iz5GjOt/log || die success. + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rpkg-macros-2.0-1.fc33.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.UEOoTF + umask 022 + cd /builddir/build/BUILD + cd rpkg-util-macros + LICENSEDIR=/builddir/build/BUILDROOT/rpkg-macros-2.0-1.fc33.noarch/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.fc33.noarch/usr/share/licenses/rpkg-macros + cp -pr LICENSE /builddir/build/BUILDROOT/rpkg-macros-2.0-1.fc33.noarch/usr/share/licenses/rpkg-macros + RPM_EC=0 ++ jobs -p + exit 0 Provides: rpkg-macros = 2.0-1.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/bash Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rpkg-macros-2.0-1.fc33.noarch Wrote: /builddir/build/RPMS/rpkg-macros-2.0-1.fc33.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Rbkp4E + umask 022 + cd /builddir/build/BUILD + cd rpkg-util-macros + /usr/bin/rm -rf /builddir/build/BUILDROOT/rpkg-macros-2.0-1.fc33.noarch + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0