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/f35-build-26930465-3411450/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.fc35.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/f35-build-26930465-3411450/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.qc40tb + 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.iqXqv2 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rpkg-macros-2.0-1.fc35.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rpkg-macros-2.0-1.fc35.noarch ++ dirname /builddir/build/BUILDROOT/rpkg-macros-2.0-1.fc35.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rpkg-macros-2.0-1.fc35.noarch + cd rpkg-util-macros + install -d /builddir/build/BUILDROOT/rpkg-macros-2.0-1.fc35.noarch/usr/lib + install -d /builddir/build/BUILDROOT/rpkg-macros-2.0-1.fc35.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.fc35.noarch/usr/lib/rpkg.macros.d + install -d /builddir/build/BUILDROOT/rpkg-macros-2.0-1.fc35.noarch/usr/bin + install -p -m 755 bin/pack_sources /builddir/build/BUILDROOT/rpkg-macros-2.0-1.fc35.noarch/usr/bin/pack_sources + install -d /builddir/build/BUILDROOT/rpkg-macros-2.0-1.fc35.noarch/usr/share/man/man1 + install -p -m 644 man/rpkg-macros.1 /builddir/build/BUILDROOT/rpkg-macros-2.0-1.fc35.noarch//usr/share/man/man1/ + /usr/lib/rpm/find-debuginfo.sh -j8 --strict-build-id -m -i --build-id-seed 2.0-1.fc35 --unique-debug-suffix -2.0-1.fc35.noarch --unique-debug-src-base rpkg-macros-2.0-1.fc35.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.veHIFo + 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.gB3UdErIH5/.git/ > cat /tmp/tmp.gB3UdErIH5/input | preproc -C /tmp/tmp.gB3UdErIH5 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.gB3UdErIH5' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.oVDrdfGilZ/output | log_filter > /tmp/tmp.oVDrdfGilZ/log > diff /tmp/tmp.6gNMyYUxQB/output /tmp/tmp.oVDrdfGilZ/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.oVDrdfGilZ/log && die; } > diff log /tmp/tmp.oVDrdfGilZ/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.B5Na6a080a/.git/ [master (root-commit) bbd1ca6] commit 1 1 file changed, 117 insertions(+) create mode 100644 input [master 3e5f05c] commit 2 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 foo/file [master d33443d] commit 3 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 bar/file > cat /tmp/tmp.B5Na6a080a/input | preproc -C /tmp/tmp.B5Na6a080a -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.B5Na6a080a' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.NofC8NsVdI/output | log_filter > /tmp/tmp.NofC8NsVdI/log > diff /tmp/tmp.eGvkG3NrK3/output /tmp/tmp.NofC8NsVdI/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.NofC8NsVdI/log && die; } > diff log /tmp/tmp.NofC8NsVdI/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.2HXOLc2NKZ/.git/ [master (root-commit) 3d93ea8] inital_commit 2 files changed, 117 insertions(+) create mode 100644 foo/file create mode 100644 input > cat /tmp/tmp.2HXOLc2NKZ/input | preproc -C /tmp/tmp.2HXOLc2NKZ -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.2HXOLc2NKZ' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.1kB0zjYwRg/output | log_filter > /tmp/tmp.1kB0zjYwRg/log > diff /tmp/tmp.Nq8Jlf8EA1/output /tmp/tmp.1kB0zjYwRg/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.1kB0zjYwRg/log && die; } > diff log /tmp/tmp.1kB0zjYwRg/log || die success. ====================== test_fn_bumped_version ====================== > cat /tmp/tmp.0qLRgLMQGc/input | preproc -C /tmp/tmp.0qLRgLMQGc -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.0qLRgLMQGc' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.4qYM69ZDXZ/output | log_filter > /tmp/tmp.4qYM69ZDXZ/log > diff /tmp/tmp.9bqyQ02sjg/output /tmp/tmp.4qYM69ZDXZ/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.4qYM69ZDXZ/log && die; } > diff log /tmp/tmp.4qYM69ZDXZ/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.3W0Y9q2rcr/.git/ [master (root-commit) f6b78a6] add subdir with file 2 files changed, 6 insertions(+) create mode 100644 input create mode 100644 subdir/file Cloning into '/tmp/tmp.3W0Y9q2rcr/submodule'... done. [master a1c18fb] add submodule 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 submodule > cat /tmp/tmp.3W0Y9q2rcr/input | preproc -C /tmp/tmp.3W0Y9q2rcr -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.3W0Y9q2rcr' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.YlJlNl28d8/output | log_filter > /tmp/tmp.YlJlNl28d8/log > diff /tmp/tmp.l88WkRXxMC/output /tmp/tmp.YlJlNl28d8/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.YlJlNl28d8/log && die; } > diff log /tmp/tmp.YlJlNl28d8/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.VXUNkJ7KfI/.git/ > cat /tmp/tmp.VXUNkJ7KfI/input | preproc -C /tmp/tmp.VXUNkJ7KfI -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.VXUNkJ7KfI' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.Dyp9sK2NxV/output | log_filter > /tmp/tmp.Dyp9sK2NxV/log > diff /tmp/tmp.k9IyMWJaTk/output /tmp/tmp.Dyp9sK2NxV/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.Dyp9sK2NxV/log && die; } > diff log /tmp/tmp.Dyp9sK2NxV/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.5R6krVoSZs/.git/ > cat /tmp/tmp.5R6krVoSZs/input | preproc -C /tmp/tmp.5R6krVoSZs -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.5R6krVoSZs' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.Zz8XDsgXbZ/output | log_filter > /tmp/tmp.Zz8XDsgXbZ/log > diff /tmp/tmp.UqgdMBgvWY/output /tmp/tmp.Zz8XDsgXbZ/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.Zz8XDsgXbZ/log && die; } > diff log /tmp/tmp.Zz8XDsgXbZ/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.oQ5vsMIOWi/.git/ [master (root-commit) 2fe4dea] hello world 3 files changed, 3 insertions(+) create mode 100644 cookie create mode 100644 foo/cookie create mode 100644 input > cat /tmp/tmp.oQ5vsMIOWi/input | preproc -C /tmp/tmp.oQ5vsMIOWi -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.oQ5vsMIOWi' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.IQEpvptl6U/output | log_filter > /tmp/tmp.IQEpvptl6U/log > diff /tmp/tmp.k4VH09O3VO/output_clean /tmp/tmp.IQEpvptl6U/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.IQEpvptl6U/log && die; } > diff log /tmp/tmp.IQEpvptl6U/log || die success. > cat /tmp/tmp.oQ5vsMIOWi/input | preproc -C /tmp/tmp.oQ5vsMIOWi -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.oQ5vsMIOWi' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.IQEpvptl6U/output | log_filter > /tmp/tmp.IQEpvptl6U/log > diff /tmp/tmp.k4VH09O3VO/output_dirty /tmp/tmp.IQEpvptl6U/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.IQEpvptl6U/log && die; } > diff log /tmp/tmp.IQEpvptl6U/log || die success. Updated 1 path from the index > cat /tmp/tmp.oQ5vsMIOWi/input | preproc -C /tmp/tmp.oQ5vsMIOWi -e GIT_DIRTY=1 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.oQ5vsMIOWi' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.IQEpvptl6U/output | log_filter > /tmp/tmp.IQEpvptl6U/log > diff /tmp/tmp.k4VH09O3VO/output_dirty_manual /tmp/tmp.IQEpvptl6U/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.IQEpvptl6U/log && die; } > diff log /tmp/tmp.IQEpvptl6U/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.eoRlsrlC1B/.git/ > cat /tmp/tmp.eoRlsrlC1B/input | preproc -C /tmp/tmp.eoRlsrlC1B -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.eoRlsrlC1B' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.yWZ64WTFty/output | log_filter > /tmp/tmp.yWZ64WTFty/log > diff /tmp/tmp.gYwD2ZfU0Z/output /tmp/tmp.yWZ64WTFty/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.yWZ64WTFty/log && die; } > diff log /tmp/tmp.yWZ64WTFty/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.2QqJY0AySP/.git/ > cat /tmp/tmp.2QqJY0AySP/input | preproc -C /tmp/tmp.2QqJY0AySP -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.2QqJY0AySP' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.hyf1ihpLJ3/output | log_filter > /tmp/tmp.hyf1ihpLJ3/log > diff /tmp/tmp.fyC6az3bHR/output /tmp/tmp.hyf1ihpLJ3/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.hyf1ihpLJ3/log && die; } > diff log /tmp/tmp.hyf1ihpLJ3/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.iNs9j6Hdse/.git/ > cat /tmp/tmp.iNs9j6Hdse/input | preproc -C /tmp/tmp.iNs9j6Hdse -e OUTDIR=/tmp/tmp.Mz1UuaFH55 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.iNs9j6Hdse' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.Mz1UuaFH55/output | log_filter > /tmp/tmp.Mz1UuaFH55/log > diff /tmp/tmp.lR06VsPcts/output /tmp/tmp.Mz1UuaFH55/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.Mz1UuaFH55/log && die; } > diff log /tmp/tmp.Mz1UuaFH55/log || die > custom_test > tar -C /tmp/tmp.Mz1UuaFH55 -xf /tmp/tmp.Mz1UuaFH55/foo.tar.gz || die > diff /tmp/tmp.Mz1UuaFH55/foo/cookie /tmp/tmp.iNs9j6Hdse/cookie || die > ls /tmp/tmp.Mz1UuaFH55/foo/cookie_ignored 2>/dev/null && die > ls /tmp/tmp.Mz1UuaFH55/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.VoDDInbHfn/.git/ [master (root-commit) cae683a] commit 1 2 files changed, 3 insertions(+) create mode 100644 cookie create mode 100644 input > cat /tmp/tmp.VoDDInbHfn/input | preproc -C /tmp/tmp.VoDDInbHfn -e OUTDIR=/tmp/tmp.mlYRtscLac -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.VoDDInbHfn' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.mlYRtscLac/output | log_filter > /tmp/tmp.mlYRtscLac/log > diff /tmp/tmp.HKBSC29pNR/output /tmp/tmp.mlYRtscLac/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.mlYRtscLac/log && die; } > diff log /tmp/tmp.mlYRtscLac/log || die > custom_test > tar -C /tmp/tmp.mlYRtscLac -xf /tmp/tmp.mlYRtscLac/foo.tar.gz || die > diff /tmp/tmp.mlYRtscLac/foo/cookie /tmp/tmp.VoDDInbHfn/cookie || die > [ 'cae683a2272a7a2f45e5e21ef4cff3dbc5ef9b0e' = 'cae683a2272a7a2f45e5e21ef4cff3dbc5ef9b0e' ] || die > tar -C /tmp/tmp.mlYRtscLac -xf /tmp/tmp.mlYRtscLac/bar.tar.gz || die > diff /tmp/tmp.mlYRtscLac/bar/cookie /tmp/tmp.VoDDInbHfn/cookie || die > [ 'cae683a2272a7a2f45e5e21ef4cff3dbc5ef9b0e' = 'cae683a2272a7a2f45e5e21ef4cff3dbc5ef9b0e' ] || die success. > cat /tmp/tmp.VoDDInbHfn/input | preproc -C /tmp/tmp.VoDDInbHfn -e OUTDIR=/tmp/tmp.mlYRtscLac -e GIT_STATUS=somestatus -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.VoDDInbHfn' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.mlYRtscLac/output | log_filter > /tmp/tmp.mlYRtscLac/log > test_nonempty_git_status > tar -C /tmp/tmp.mlYRtscLac -xf /tmp/tmp.mlYRtscLac/foo.tar.gz || die > diff /tmp/tmp.mlYRtscLac/foo/cookie /tmp/tmp.VoDDInbHfn/cookie || die > [ 'cae683a2272a7a2f45e5e21ef4cff3dbc5ef9b0e' = '' ] && die > tar -C /tmp/tmp.mlYRtscLac -xf /tmp/tmp.mlYRtscLac/bar.tar.gz || die > diff /tmp/tmp.mlYRtscLac/bar/cookie /tmp/tmp.VoDDInbHfn/cookie || die > [ 'cae683a2272a7a2f45e5e21ef4cff3dbc5ef9b0e' = 'cae683a2272a7a2f45e5e21ef4cff3dbc5ef9b0e' ] || die success. > cat /tmp/tmp.VoDDInbHfn/input | preproc -C /tmp/tmp.VoDDInbHfn -e OUTDIR=/tmp/tmp.mlYRtscLac -e GIT_HEAD=somehead -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.VoDDInbHfn' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.mlYRtscLac/output | log_filter > /tmp/tmp.mlYRtscLac/log > test_invalid_git_head > [ -f '/tmp/tmp.mlYRtscLac/foo.tar.gz' ] && die > [ -f '/tmp/tmp.mlYRtscLac/bar.tar.gz' ] && die success. > cat /tmp/tmp.VoDDInbHfn/input | preproc -C /tmp/tmp.VoDDInbHfn -e OUTDIR=/tmp/tmp.mlYRtscLac -e GIT_HEAD= -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.VoDDInbHfn' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.mlYRtscLac/output | log_filter > /tmp/tmp.mlYRtscLac/log > test_empty_git_head > tar -C /tmp/tmp.mlYRtscLac -xf /tmp/tmp.mlYRtscLac/foo.tar.gz || die > diff /tmp/tmp.mlYRtscLac/foo/cookie /tmp/tmp.VoDDInbHfn/cookie || die > [ 'cae683a2272a7a2f45e5e21ef4cff3dbc5ef9b0e' = '' ] && die > [ -f '/tmp/tmp.mlYRtscLac/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.G2E2ZRMsMY/.git/ [master (root-commit) 51a88ab] commit 1 2 files changed, 3 insertions(+) create mode 100644 cookie create mode 100644 input > cat /tmp/tmp.G2E2ZRMsMY/input | preproc -C /tmp/tmp.G2E2ZRMsMY -e OUTDIR=/tmp/tmp.HVZc5p4ZsE -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.G2E2ZRMsMY' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.HVZc5p4ZsE/output | log_filter > /tmp/tmp.HVZc5p4ZsE/log > diff /tmp/tmp.mA5s90fg7z/output /tmp/tmp.HVZc5p4ZsE/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.HVZc5p4ZsE/log && die; } > diff log /tmp/tmp.HVZc5p4ZsE/log || die > custom_test > tar -C /tmp/tmp.HVZc5p4ZsE -xf /tmp/tmp.HVZc5p4ZsE/foo.tar.gz || die > diff /tmp/tmp.HVZc5p4ZsE/foo/cookie /tmp/tmp.G2E2ZRMsMY/cookie || die > [ '51a88ab86ee67b2ad38c15c567821818d0697463' = '' ] && die > tar -C /tmp/tmp.HVZc5p4ZsE -xf /tmp/tmp.HVZc5p4ZsE/bar.tar.gz || die > diff /tmp/tmp.HVZc5p4ZsE/bar/cookie /tmp/tmp.G2E2ZRMsMY/cookie >/dev/null && die > [ '51a88ab86ee67b2ad38c15c567821818d0697463' = '51a88ab86ee67b2ad38c15c567821818d0697463' ] || 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.jsTjk3B5AX/.git/ [master (root-commit) 1bb9355] 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.jsTjk3B5AX/bar/input | preproc -C /tmp/tmp.jsTjk3B5AX/foo -e OUTDIR=/tmp/tmp.FZ8cYWCXlo -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.jsTjk3B5AX/bar' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.FZ8cYWCXlo/output | log_filter > /tmp/tmp.FZ8cYWCXlo/log > diff /tmp/tmp.DIKgDWXZgX/output /tmp/tmp.FZ8cYWCXlo/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.FZ8cYWCXlo/log && die; } > diff log /tmp/tmp.FZ8cYWCXlo/log || die > custom_test > tar -C /tmp/tmp.FZ8cYWCXlo -xf /tmp/tmp.FZ8cYWCXlo/dir_pack_nodirname.tar.gz || die > diff /tmp/tmp.FZ8cYWCXlo/test-bar/cookie /tmp/tmp.jsTjk3B5AX/bar/cookie || die > tar -C /tmp/tmp.FZ8cYWCXlo -xf /tmp/tmp.FZ8cYWCXlo/dir_archive_nodirname.tar.gz || die > diff /tmp/tmp.FZ8cYWCXlo/test-bar/cookie /tmp/tmp.jsTjk3B5AX/bar/cookie || die > tar -C /tmp/tmp.FZ8cYWCXlo -xf /tmp/tmp.FZ8cYWCXlo/dir_pack_foo.tar.gz || die > diff /tmp/tmp.FZ8cYWCXlo/foo/cookie /tmp/tmp.jsTjk3B5AX/bar/cookie || die > tar -C /tmp/tmp.FZ8cYWCXlo -xf /tmp/tmp.FZ8cYWCXlo/dir_archive_bar.tar.gz || die > diff /tmp/tmp.FZ8cYWCXlo/bar/cookie /tmp/tmp.jsTjk3B5AX/bar/cookie || die > tar -C /tmp/tmp.FZ8cYWCXlo -xf /tmp/tmp.FZ8cYWCXlo/cwd_pack_nodirname.tar.gz || die > diff /tmp/tmp.FZ8cYWCXlo/test-foo/cookie /tmp/tmp.jsTjk3B5AX/foo/cookie || die > tar -C /tmp/tmp.FZ8cYWCXlo -xf /tmp/tmp.FZ8cYWCXlo/cwd_archive_nodirname.tar.gz || die > diff /tmp/tmp.FZ8cYWCXlo/test-foo/cookie /tmp/tmp.jsTjk3B5AX/foo/cookie || die > tar -C /tmp/tmp.FZ8cYWCXlo -xf /tmp/tmp.FZ8cYWCXlo/cwd_pack_foo.tar.gz || die > diff /tmp/tmp.FZ8cYWCXlo/foo/cookie /tmp/tmp.jsTjk3B5AX/foo/cookie || die > tar -C /tmp/tmp.FZ8cYWCXlo -xf /tmp/tmp.FZ8cYWCXlo/cwd_archive_bar.tar.gz || die > diff /tmp/tmp.FZ8cYWCXlo/bar/cookie /tmp/tmp.jsTjk3B5AX/foo/cookie || die > tar -C /tmp/tmp.FZ8cYWCXlo -xf /tmp/tmp.FZ8cYWCXlo/baz_pack_nodirname.tar.gz || die > diff /tmp/tmp.FZ8cYWCXlo/test-baz/cookie /tmp/tmp.jsTjk3B5AX/baz/cookie || die > tar -C /tmp/tmp.FZ8cYWCXlo -xf /tmp/tmp.FZ8cYWCXlo/baz_archive_nodirname.tar.gz || die > diff /tmp/tmp.FZ8cYWCXlo/test-baz/cookie /tmp/tmp.jsTjk3B5AX/baz/cookie || die > tar -C /tmp/tmp.FZ8cYWCXlo -xf /tmp/tmp.FZ8cYWCXlo/baz_pack_foo.tar.gz || die > diff /tmp/tmp.FZ8cYWCXlo/foo/cookie /tmp/tmp.jsTjk3B5AX/baz/cookie || die > ls /tmp/tmp.FZ8cYWCXlo/foo/cookie_ignored 2>/dev/null && die > ls /tmp/tmp.FZ8cYWCXlo/foo/cookie_unadded 2>/dev/null && die > tar -C /tmp/tmp.FZ8cYWCXlo -xf /tmp/tmp.FZ8cYWCXlo/baz_archive_bar.tar.gz || die > diff /tmp/tmp.FZ8cYWCXlo/bar/cookie /tmp/tmp.jsTjk3B5AX/baz/cookie || die > ls /tmp/tmp.FZ8cYWCXlo/bar/cookie_ignored 2>/dev/null && die > ls /tmp/tmp.FZ8cYWCXlo/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.F2hE5kvVot/.git/ > cat /tmp/tmp.F2hE5kvVot/bar/input | preproc -C /tmp/tmp.F2hE5kvVot/foo -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.F2hE5kvVot/bar' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.XsC5AYOwr9/output | log_filter > /tmp/tmp.XsC5AYOwr9/log > diff /tmp/tmp.pG6RvpoOaa/output /tmp/tmp.XsC5AYOwr9/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.XsC5AYOwr9/log && die; } > diff log /tmp/tmp.XsC5AYOwr9/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.fXSpvWGJBe/.git/ [master (root-commit) 2b613f3] 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.fXSpvWGJBe/submodule'... done. [master cd38572] add submodule 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 submodule > cat /tmp/tmp.fXSpvWGJBe/input | preproc -C /tmp/tmp.fXSpvWGJBe -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.fXSpvWGJBe' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.crDJBtXRgJ/output | log_filter > /tmp/tmp.crDJBtXRgJ/log > diff /tmp/tmp.wA1VvRDIIC/output /tmp/tmp.crDJBtXRgJ/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.crDJBtXRgJ/log && die; } > diff log /tmp/tmp.crDJBtXRgJ/log || die success. > cat /tmp/tmp.fXSpvWGJBe/submodule/input_dir | preproc -C /tmp/tmp.fXSpvWGJBe -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.fXSpvWGJBe/submodule' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.crDJBtXRgJ/output | log_filter > /tmp/tmp.crDJBtXRgJ/log > diff /tmp/tmp.wA1VvRDIIC/output_dir /tmp/tmp.crDJBtXRgJ/output || { echo 'LOG DIFF:' && diff log_dir /tmp/tmp.crDJBtXRgJ/log && die; } > diff log_dir /tmp/tmp.crDJBtXRgJ/log || die success. > cat /tmp/tmp.fXSpvWGJBe/submodule/input_cwd | preproc -C /tmp/tmp.fXSpvWGJBe/submodule/subdir -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.fXSpvWGJBe/submodule' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.crDJBtXRgJ/output | log_filter > /tmp/tmp.crDJBtXRgJ/log > diff /tmp/tmp.wA1VvRDIIC/output_cwd /tmp/tmp.crDJBtXRgJ/output || { echo 'LOG DIFF:' && diff log_cwd /tmp/tmp.crDJBtXRgJ/log && die; } > diff log_cwd /tmp/tmp.crDJBtXRgJ/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.eCbuvHStuw/.git/ [master (root-commit) bb869c6] 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.eCbuvHStuw/submodule'... done. [master 0b31751] add submodule 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 submodule > cat /tmp/tmp.eCbuvHStuw/input_archive | preproc -C /tmp/tmp.eCbuvHStuw -e OUTDIR=/tmp/tmp.W3yzf8eo65 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.eCbuvHStuw' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.W3yzf8eo65/output | log_filter > /tmp/tmp.W3yzf8eo65/log > custom_test_archive_clean > tar -C /tmp/tmp.W3yzf8eo65 -xf /tmp/tmp.W3yzf8eo65/test-0b317513.tar.gz || die > [ -d /tmp/tmp.W3yzf8eo65/test/submodule/subdir ] && die > tar -C /tmp/tmp.W3yzf8eo65 -xf /tmp/tmp.W3yzf8eo65/test-submodule-0b317513.tar.gz || die > [ -f /tmp/tmp.W3yzf8eo65/test-submodule/subdir/cookie ] || die > cat /tmp/tmp.W3yzf8eo65/test-submodule/subdir/cookie | grep -q 0 || die > tar -C /tmp/tmp.W3yzf8eo65 -xf /tmp/tmp.W3yzf8eo65/test-submodule-subdir-0b317513.tar.gz || die > [ -f /tmp/tmp.W3yzf8eo65/test-submodule-subdir/cookie ] || die > cat /tmp/tmp.W3yzf8eo65/test-submodule-subdir/cookie | grep -q 0 || die success. > cat /tmp/tmp.eCbuvHStuw/input_pack | preproc -C /tmp/tmp.eCbuvHStuw -e OUTDIR=/tmp/tmp.W3yzf8eo65 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.eCbuvHStuw' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.W3yzf8eo65/output | log_filter > /tmp/tmp.W3yzf8eo65/log > custom_test_pack_clean > tar -C /tmp/tmp.W3yzf8eo65 -xf /tmp/tmp.W3yzf8eo65/test-0b317513.tar.gz || die > [ -f /tmp/tmp.W3yzf8eo65/test/submodule/subdir ] && die > tar -C /tmp/tmp.W3yzf8eo65 -xf /tmp/tmp.W3yzf8eo65/test-submodule-0b317513.tar.gz || die > [ -f /tmp/tmp.W3yzf8eo65/test-submodule/subdir/cookie ] || die > cat /tmp/tmp.W3yzf8eo65/test-submodule/subdir/cookie | grep -q 0 || die > tar -C /tmp/tmp.W3yzf8eo65 -xf /tmp/tmp.W3yzf8eo65/test-submodule-subdir-0b317513.tar.gz || die > [ -f /tmp/tmp.W3yzf8eo65/test-submodule-subdir/cookie ] || die > cat /tmp/tmp.W3yzf8eo65/test-submodule-subdir/cookie | grep -q 0 || die success. [master dad8fe9] submodule new commit 1 file changed, 1 insertion(+) > cat /tmp/tmp.eCbuvHStuw/input_archive | preproc -C /tmp/tmp.eCbuvHStuw -e OUTDIR=/tmp/tmp.W3yzf8eo65 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.eCbuvHStuw' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.W3yzf8eo65/output | log_filter > /tmp/tmp.W3yzf8eo65/log > custom_test_archive_submodule_new_commit > tar -C /tmp/tmp.W3yzf8eo65 -xf /tmp/tmp.W3yzf8eo65/test-0b317513.tar.gz || die > [ -d /tmp/tmp.W3yzf8eo65/test/submodule/subdir ] && die > tar -C /tmp/tmp.W3yzf8eo65 -xf /tmp/tmp.W3yzf8eo65/test-submodule-0b317513.tar.gz || die > [ -f /tmp/tmp.W3yzf8eo65/test-submodule/subdir/cookie ] || die > cat /tmp/tmp.W3yzf8eo65/test-submodule/subdir/cookie | grep -q 0 || die > tar -C /tmp/tmp.W3yzf8eo65 -xf /tmp/tmp.W3yzf8eo65/test-submodule-subdir-0b317513.tar.gz || die > [ -f /tmp/tmp.W3yzf8eo65/test-submodule-subdir/cookie ] || die > cat /tmp/tmp.W3yzf8eo65/test-submodule-subdir/cookie | grep -q 0 || die success. > cat /tmp/tmp.eCbuvHStuw/input_pack | preproc -C /tmp/tmp.eCbuvHStuw -e OUTDIR=/tmp/tmp.W3yzf8eo65 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.eCbuvHStuw' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.W3yzf8eo65/output | log_filter > /tmp/tmp.W3yzf8eo65/log > custom_test_pack_submodule_new_commit > tar -C /tmp/tmp.W3yzf8eo65 -xf /tmp/tmp.W3yzf8eo65/test-0b317513-dirty.tar.gz || die > [ -d /tmp/tmp.W3yzf8eo65/test/submodule/subdir ] && die > tar -C /tmp/tmp.W3yzf8eo65 -xf /tmp/tmp.W3yzf8eo65/test-submodule-0b317513-dirty.tar.gz || die > cat /tmp/tmp.W3yzf8eo65/test-submodule/subdir/cookie | grep -q 1 || die > tar -C /tmp/tmp.W3yzf8eo65 -xf /tmp/tmp.W3yzf8eo65/test-submodule-subdir-0b317513.tar.gz || die > cat /tmp/tmp.W3yzf8eo65/test-submodule-subdir/cookie | grep -q 1 || die success. > cat /tmp/tmp.eCbuvHStuw/input_archive | preproc -C /tmp/tmp.eCbuvHStuw -e OUTDIR=/tmp/tmp.W3yzf8eo65 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.eCbuvHStuw' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.W3yzf8eo65/output | log_filter > /tmp/tmp.W3yzf8eo65/log > custom_test_archive_submodule_dirty > tar -C /tmp/tmp.W3yzf8eo65 -xf /tmp/tmp.W3yzf8eo65/test-0b317513.tar.gz || die > [ -d /tmp/tmp.W3yzf8eo65/test/submodule/subdir ] && die > tar -C /tmp/tmp.W3yzf8eo65 -xf /tmp/tmp.W3yzf8eo65/test-submodule-0b317513.tar.gz || die > [ -f /tmp/tmp.W3yzf8eo65/test-submodule/subdir/cookie ] || die > cat /tmp/tmp.W3yzf8eo65/test-submodule/subdir/cookie | grep -q 0 || die > tar -C /tmp/tmp.W3yzf8eo65 -xf /tmp/tmp.W3yzf8eo65/test-submodule-subdir-0b317513.tar.gz || die > [ -f /tmp/tmp.W3yzf8eo65/test-submodule-subdir/cookie ] || die > cat /tmp/tmp.W3yzf8eo65/test-submodule-subdir/cookie | grep -q 0 || die success. > cat /tmp/tmp.eCbuvHStuw/input_pack | preproc -C /tmp/tmp.eCbuvHStuw -e OUTDIR=/tmp/tmp.W3yzf8eo65 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.eCbuvHStuw' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.W3yzf8eo65/output | log_filter > /tmp/tmp.W3yzf8eo65/log > custom_test_pack_submodule_dirty > tar -C /tmp/tmp.W3yzf8eo65 -xf /tmp/tmp.W3yzf8eo65/test-0b317513-dirty.tar.gz || die > [ -d /tmp/tmp.W3yzf8eo65/test/submodule/subdir ] && die > tar -C /tmp/tmp.W3yzf8eo65 -xf /tmp/tmp.W3yzf8eo65/test-submodule-0b317513-dirty.tar.gz || die > cat /tmp/tmp.W3yzf8eo65/test-submodule/subdir/cookie | grep -q 2 || die > tar -C /tmp/tmp.W3yzf8eo65 -xf /tmp/tmp.W3yzf8eo65/test-submodule-subdir-0b317513.tar.gz || die > cat /tmp/tmp.W3yzf8eo65/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.D2TixDl0Bl/.git/ [master (root-commit) a9815f8] 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 9aa8e75] side branch commit 1 file changed, 1 insertion(+) Switched to branch 'master' > cat /tmp/tmp.D2TixDl0Bl/input | preproc -C /tmp/tmp.D2TixDl0Bl -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.D2TixDl0Bl' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.iwe3awIwsM/output | log_filter > /tmp/tmp.iwe3awIwsM/log > diff /tmp/tmp.ECJ3z9YoON/output /tmp/tmp.iwe3awIwsM/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.iwe3awIwsM/log && die; } > diff log /tmp/tmp.iwe3awIwsM/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.AoBbamTKOH/.git/ [master (root-commit) 8ce4770] inital_commit 2 files changed, 117 insertions(+) create mode 100644 foo/file create mode 100644 input [master 18d72db] commit after tag 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 file > cat /tmp/tmp.AoBbamTKOH/input | preproc -C /tmp/tmp.AoBbamTKOH -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.AoBbamTKOH' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.IFMHf9KLOm/output | log_filter > /tmp/tmp.IFMHf9KLOm/log > diff /tmp/tmp.9z82EkfWtx/output /tmp/tmp.IFMHf9KLOm/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.IFMHf9KLOm/log && die; } > diff log /tmp/tmp.IFMHf9KLOm/log || die success. ====================== test_uninited ====================== > cat /tmp/tmp.AN81kdHINz/input | preproc -C /tmp/tmp.AN81kdHINz -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.AN81kdHINz' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.ymJxIYclmt/output | log_filter > /tmp/tmp.ymJxIYclmt/log > diff /tmp/tmp.IstphbmA9V/output /tmp/tmp.ymJxIYclmt/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.ymJxIYclmt/log && die; } > diff log /tmp/tmp.ymJxIYclmt/log || die success. + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rpkg-macros-2.0-1.fc35.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.c0Rukl + umask 022 + cd /builddir/build/BUILD + cd rpkg-util-macros + LICENSEDIR=/builddir/build/BUILDROOT/rpkg-macros-2.0-1.fc35.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.fc35.noarch/usr/share/licenses/rpkg-macros + cp -pr LICENSE /builddir/build/BUILDROOT/rpkg-macros-2.0-1.fc35.noarch/usr/share/licenses/rpkg-macros + RPM_EC=0 ++ jobs -p + exit 0 Provides: rpkg-macros = 2.0-1.fc35 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.fc35.noarch Wrote: /builddir/build/RPMS/rpkg-macros-2.0-1.fc35.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.UZUEbF + umask 022 + cd /builddir/build/BUILD + cd rpkg-util-macros + /usr/bin/rm -rf /builddir/build/BUILDROOT/rpkg-macros-2.0-1.fc35.noarch + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0