Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/rpkg-macros.spec'], chrootPath='/var/lib/mock/openeuler-23.03-aarch64-1688889474.904190/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 aarch64 --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: aarch64 Building for target aarch64 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 aarch64 --nodeps /builddir/build/SPECS/rpkg-macros.spec'], chrootPath='/var/lib/mock/openeuler-23.03-aarch64-1688889474.904190/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 aarch64 --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: aarch64 Building for target aarch64 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 aarch64 --nodeps /builddir/build/SPECS/rpkg-macros.spec'], chrootPath='/var/lib/mock/openeuler-23.03-aarch64-1688889474.904190/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 aarch64 --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: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.c6MrT2 + 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.RjpmH0 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rpkg-macros-2.0-1.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rpkg-macros-2.0-1.aarch64 ++ dirname /builddir/build/BUILDROOT/rpkg-macros-2.0-1.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rpkg-macros-2.0-1.aarch64 + cd rpkg-util-macros + install -d /builddir/build/BUILDROOT/rpkg-macros-2.0-1.aarch64/usr/lib + install -d /builddir/build/BUILDROOT/rpkg-macros-2.0-1.aarch64/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.aarch64/usr/lib/rpkg.macros.d + install -d /builddir/build/BUILDROOT/rpkg-macros-2.0-1.aarch64/usr/bin + install -p -m 755 bin/pack_sources /builddir/build/BUILDROOT/rpkg-macros-2.0-1.aarch64/usr/bin/pack_sources + install -d /builddir/build/BUILDROOT/rpkg-macros-2.0-1.aarch64/usr/share/man/man1 + install -p -m 644 man/rpkg-macros.1 /builddir/build/BUILDROOT/rpkg-macros-2.0-1.aarch64//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.aarch64 --unique-debug-src-base rpkg-macros-2.0-1.aarch64 -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.B6Rqgd + 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.USQFtZVO2h/.git/ > cat /tmp/tmp.USQFtZVO2h/input | preproc -C /tmp/tmp.USQFtZVO2h -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.USQFtZVO2h' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.x2o32AeDQR/output | log_filter > /tmp/tmp.x2o32AeDQR/log > diff /tmp/tmp.1OXbj9vBh7/output /tmp/tmp.x2o32AeDQR/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.x2o32AeDQR/log && die; } > diff log /tmp/tmp.x2o32AeDQR/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.ig8f1Z0yRd/.git/ [master (root-commit) 4c6ff05] commit 1 1 file changed, 117 insertions(+) create mode 100644 input [master 5a61c28] commit 2 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 foo/file [master 6d3bbd4] commit 3 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 bar/file > cat /tmp/tmp.ig8f1Z0yRd/input | preproc -C /tmp/tmp.ig8f1Z0yRd -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.ig8f1Z0yRd' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.hgLqWPb6JV/output | log_filter > /tmp/tmp.hgLqWPb6JV/log > diff /tmp/tmp.SkBRqEPBzq/output /tmp/tmp.hgLqWPb6JV/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.hgLqWPb6JV/log && die; } > diff log /tmp/tmp.hgLqWPb6JV/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.fuLp88kSG6/.git/ [master (root-commit) 664196d] inital_commit 2 files changed, 117 insertions(+) create mode 100644 foo/file create mode 100644 input > cat /tmp/tmp.fuLp88kSG6/input | preproc -C /tmp/tmp.fuLp88kSG6 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.fuLp88kSG6' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.slRCdpJO3c/output | log_filter > /tmp/tmp.slRCdpJO3c/log > diff /tmp/tmp.QEYGV5yAsZ/output /tmp/tmp.slRCdpJO3c/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.slRCdpJO3c/log && die; } > diff log /tmp/tmp.slRCdpJO3c/log || die success. ====================== test_fn_bumped_version ====================== > cat /tmp/tmp.w9ClFb8VVQ/input | preproc -C /tmp/tmp.w9ClFb8VVQ -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.w9ClFb8VVQ' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.cjHiHjTPyw/output | log_filter > /tmp/tmp.cjHiHjTPyw/log > diff /tmp/tmp.391jxionLU/output /tmp/tmp.cjHiHjTPyw/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.cjHiHjTPyw/log && die; } > diff log /tmp/tmp.cjHiHjTPyw/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.yX9ghxkwqw/.git/ [master (root-commit) 375b5b7] add subdir with file 2 files changed, 6 insertions(+) create mode 100644 input create mode 100644 subdir/file Cloning into '/tmp/tmp.yX9ghxkwqw/submodule'... done. [master 2328b8c] add submodule 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 submodule > cat /tmp/tmp.yX9ghxkwqw/input | preproc -C /tmp/tmp.yX9ghxkwqw -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.yX9ghxkwqw' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.k88sWWkzqQ/output | log_filter > /tmp/tmp.k88sWWkzqQ/log > diff /tmp/tmp.FZFEgtOAeb/output /tmp/tmp.k88sWWkzqQ/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.k88sWWkzqQ/log && die; } > diff log /tmp/tmp.k88sWWkzqQ/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.JB1s8dnv0s/.git/ > cat /tmp/tmp.JB1s8dnv0s/input | preproc -C /tmp/tmp.JB1s8dnv0s -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.JB1s8dnv0s' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.0jIuQ8Rxsc/output | log_filter > /tmp/tmp.0jIuQ8Rxsc/log > diff /tmp/tmp.ySrHK8AgDl/output /tmp/tmp.0jIuQ8Rxsc/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.0jIuQ8Rxsc/log && die; } > diff log /tmp/tmp.0jIuQ8Rxsc/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.B3paE5mljG/.git/ > cat /tmp/tmp.B3paE5mljG/input | preproc -C /tmp/tmp.B3paE5mljG -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.B3paE5mljG' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.4cGDw2Tx3i/output | log_filter > /tmp/tmp.4cGDw2Tx3i/log > diff /tmp/tmp.2ky00nS55q/output /tmp/tmp.4cGDw2Tx3i/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.4cGDw2Tx3i/log && die; } > diff log /tmp/tmp.4cGDw2Tx3i/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.THVKOOZpEs/.git/ [master (root-commit) 6821718] hello world 3 files changed, 3 insertions(+) create mode 100644 cookie create mode 100644 foo/cookie create mode 100644 input > cat /tmp/tmp.THVKOOZpEs/input | preproc -C /tmp/tmp.THVKOOZpEs -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.THVKOOZpEs' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.XCa2FUCK0h/output | log_filter > /tmp/tmp.XCa2FUCK0h/log > diff /tmp/tmp.0r79PjwOgM/output_clean /tmp/tmp.XCa2FUCK0h/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.XCa2FUCK0h/log && die; } > diff log /tmp/tmp.XCa2FUCK0h/log || die success. > cat /tmp/tmp.THVKOOZpEs/input | preproc -C /tmp/tmp.THVKOOZpEs -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.THVKOOZpEs' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.XCa2FUCK0h/output | log_filter > /tmp/tmp.XCa2FUCK0h/log > diff /tmp/tmp.0r79PjwOgM/output_dirty /tmp/tmp.XCa2FUCK0h/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.XCa2FUCK0h/log && die; } > diff log /tmp/tmp.XCa2FUCK0h/log || die success. Updated 1 path from the index > cat /tmp/tmp.THVKOOZpEs/input | preproc -C /tmp/tmp.THVKOOZpEs -e GIT_DIRTY=1 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.THVKOOZpEs' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.XCa2FUCK0h/output | log_filter > /tmp/tmp.XCa2FUCK0h/log > diff /tmp/tmp.0r79PjwOgM/output_dirty_manual /tmp/tmp.XCa2FUCK0h/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.XCa2FUCK0h/log && die; } > diff log /tmp/tmp.XCa2FUCK0h/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.Zpe9oxQ1wL/.git/ > cat /tmp/tmp.Zpe9oxQ1wL/input | preproc -C /tmp/tmp.Zpe9oxQ1wL -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.Zpe9oxQ1wL' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.QAk5V3Yd6e/output | log_filter > /tmp/tmp.QAk5V3Yd6e/log > diff /tmp/tmp.1hq8J00MGK/output /tmp/tmp.QAk5V3Yd6e/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.QAk5V3Yd6e/log && die; } > diff log /tmp/tmp.QAk5V3Yd6e/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.wGcpdKoRh8/.git/ > cat /tmp/tmp.wGcpdKoRh8/input | preproc -C /tmp/tmp.wGcpdKoRh8 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.wGcpdKoRh8' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.Xf3eWsknem/output | log_filter > /tmp/tmp.Xf3eWsknem/log > diff /tmp/tmp.Xs4dW51RkJ/output /tmp/tmp.Xf3eWsknem/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.Xf3eWsknem/log && die; } > diff log /tmp/tmp.Xf3eWsknem/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.rtlFfNQlk5/.git/ > cat /tmp/tmp.rtlFfNQlk5/input | preproc -C /tmp/tmp.rtlFfNQlk5 -e OUTDIR=/tmp/tmp.fDpQj4zUpE -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.rtlFfNQlk5' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.fDpQj4zUpE/output | log_filter > /tmp/tmp.fDpQj4zUpE/log > diff /tmp/tmp.S7r2GjUYUr/output /tmp/tmp.fDpQj4zUpE/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.fDpQj4zUpE/log && die; } > diff log /tmp/tmp.fDpQj4zUpE/log || die > custom_test > tar -C /tmp/tmp.fDpQj4zUpE -xf /tmp/tmp.fDpQj4zUpE/foo.tar.gz || die > diff /tmp/tmp.fDpQj4zUpE/foo/cookie /tmp/tmp.rtlFfNQlk5/cookie || die > ls /tmp/tmp.fDpQj4zUpE/foo/cookie_ignored 2>/dev/null && die > ls /tmp/tmp.fDpQj4zUpE/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.xokdYvtA5G/.git/ [master (root-commit) e18a12b] commit 1 2 files changed, 3 insertions(+) create mode 100644 cookie create mode 100644 input > cat /tmp/tmp.xokdYvtA5G/input | preproc -C /tmp/tmp.xokdYvtA5G -e OUTDIR=/tmp/tmp.KwpOrqN5cc -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.xokdYvtA5G' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.KwpOrqN5cc/output | log_filter > /tmp/tmp.KwpOrqN5cc/log > diff /tmp/tmp.1JBdmRylFN/output /tmp/tmp.KwpOrqN5cc/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.KwpOrqN5cc/log && die; } > diff log /tmp/tmp.KwpOrqN5cc/log || die > custom_test > tar -C /tmp/tmp.KwpOrqN5cc -xf /tmp/tmp.KwpOrqN5cc/foo.tar.gz || die > diff /tmp/tmp.KwpOrqN5cc/foo/cookie /tmp/tmp.xokdYvtA5G/cookie || die > [ 'e18a12b3ef3cd00086fde38ab68fb3a359b234d8' = 'e18a12b3ef3cd00086fde38ab68fb3a359b234d8' ] || die > tar -C /tmp/tmp.KwpOrqN5cc -xf /tmp/tmp.KwpOrqN5cc/bar.tar.gz || die > diff /tmp/tmp.KwpOrqN5cc/bar/cookie /tmp/tmp.xokdYvtA5G/cookie || die > [ 'e18a12b3ef3cd00086fde38ab68fb3a359b234d8' = 'e18a12b3ef3cd00086fde38ab68fb3a359b234d8' ] || die success. > cat /tmp/tmp.xokdYvtA5G/input | preproc -C /tmp/tmp.xokdYvtA5G -e OUTDIR=/tmp/tmp.KwpOrqN5cc -e GIT_STATUS=somestatus -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.xokdYvtA5G' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.KwpOrqN5cc/output | log_filter > /tmp/tmp.KwpOrqN5cc/log > test_nonempty_git_status > tar -C /tmp/tmp.KwpOrqN5cc -xf /tmp/tmp.KwpOrqN5cc/foo.tar.gz || die > diff /tmp/tmp.KwpOrqN5cc/foo/cookie /tmp/tmp.xokdYvtA5G/cookie || die > [ 'e18a12b3ef3cd00086fde38ab68fb3a359b234d8' = '' ] && die > tar -C /tmp/tmp.KwpOrqN5cc -xf /tmp/tmp.KwpOrqN5cc/bar.tar.gz || die > diff /tmp/tmp.KwpOrqN5cc/bar/cookie /tmp/tmp.xokdYvtA5G/cookie || die > [ 'e18a12b3ef3cd00086fde38ab68fb3a359b234d8' = 'e18a12b3ef3cd00086fde38ab68fb3a359b234d8' ] || die success. > cat /tmp/tmp.xokdYvtA5G/input | preproc -C /tmp/tmp.xokdYvtA5G -e OUTDIR=/tmp/tmp.KwpOrqN5cc -e GIT_HEAD=somehead -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.xokdYvtA5G' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.KwpOrqN5cc/output | log_filter > /tmp/tmp.KwpOrqN5cc/log > test_invalid_git_head > [ -f '/tmp/tmp.KwpOrqN5cc/foo.tar.gz' ] && die > [ -f '/tmp/tmp.KwpOrqN5cc/bar.tar.gz' ] && die success. > cat /tmp/tmp.xokdYvtA5G/input | preproc -C /tmp/tmp.xokdYvtA5G -e OUTDIR=/tmp/tmp.KwpOrqN5cc -e GIT_HEAD= -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.xokdYvtA5G' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.KwpOrqN5cc/output | log_filter > /tmp/tmp.KwpOrqN5cc/log > test_empty_git_head > tar -C /tmp/tmp.KwpOrqN5cc -xf /tmp/tmp.KwpOrqN5cc/foo.tar.gz || die > diff /tmp/tmp.KwpOrqN5cc/foo/cookie /tmp/tmp.xokdYvtA5G/cookie || die > [ 'e18a12b3ef3cd00086fde38ab68fb3a359b234d8' = '' ] && die > [ -f '/tmp/tmp.KwpOrqN5cc/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.ObaBUJhZhb/.git/ [master (root-commit) 0906ea9] commit 1 2 files changed, 3 insertions(+) create mode 100644 cookie create mode 100644 input > cat /tmp/tmp.ObaBUJhZhb/input | preproc -C /tmp/tmp.ObaBUJhZhb -e OUTDIR=/tmp/tmp.IlzsPU9T2P -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.ObaBUJhZhb' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.IlzsPU9T2P/output | log_filter > /tmp/tmp.IlzsPU9T2P/log > diff /tmp/tmp.kUYVitWlqg/output /tmp/tmp.IlzsPU9T2P/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.IlzsPU9T2P/log && die; } > diff log /tmp/tmp.IlzsPU9T2P/log || die > custom_test > tar -C /tmp/tmp.IlzsPU9T2P -xf /tmp/tmp.IlzsPU9T2P/foo.tar.gz || die > diff /tmp/tmp.IlzsPU9T2P/foo/cookie /tmp/tmp.ObaBUJhZhb/cookie || die > [ '0906ea9de2123e6160ecb7d557686db3676ed806' = '' ] && die > tar -C /tmp/tmp.IlzsPU9T2P -xf /tmp/tmp.IlzsPU9T2P/bar.tar.gz || die > diff /tmp/tmp.IlzsPU9T2P/bar/cookie /tmp/tmp.ObaBUJhZhb/cookie >/dev/null && die > [ '0906ea9de2123e6160ecb7d557686db3676ed806' = '0906ea9de2123e6160ecb7d557686db3676ed806' ] || 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.YAshhH74e1/.git/ [master (root-commit) b34c1a1] 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.YAshhH74e1/bar/input | preproc -C /tmp/tmp.YAshhH74e1/foo -e OUTDIR=/tmp/tmp.w3swwxOp2g -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.YAshhH74e1/bar' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.w3swwxOp2g/output | log_filter > /tmp/tmp.w3swwxOp2g/log > diff /tmp/tmp.KTmgWLHW1I/output /tmp/tmp.w3swwxOp2g/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.w3swwxOp2g/log && die; } > diff log /tmp/tmp.w3swwxOp2g/log || die > custom_test > tar -C /tmp/tmp.w3swwxOp2g -xf /tmp/tmp.w3swwxOp2g/dir_pack_nodirname.tar.gz || die > diff /tmp/tmp.w3swwxOp2g/test-bar/cookie /tmp/tmp.YAshhH74e1/bar/cookie || die > tar -C /tmp/tmp.w3swwxOp2g -xf /tmp/tmp.w3swwxOp2g/dir_archive_nodirname.tar.gz || die > diff /tmp/tmp.w3swwxOp2g/test-bar/cookie /tmp/tmp.YAshhH74e1/bar/cookie || die > tar -C /tmp/tmp.w3swwxOp2g -xf /tmp/tmp.w3swwxOp2g/dir_pack_foo.tar.gz || die > diff /tmp/tmp.w3swwxOp2g/foo/cookie /tmp/tmp.YAshhH74e1/bar/cookie || die > tar -C /tmp/tmp.w3swwxOp2g -xf /tmp/tmp.w3swwxOp2g/dir_archive_bar.tar.gz || die > diff /tmp/tmp.w3swwxOp2g/bar/cookie /tmp/tmp.YAshhH74e1/bar/cookie || die > tar -C /tmp/tmp.w3swwxOp2g -xf /tmp/tmp.w3swwxOp2g/cwd_pack_nodirname.tar.gz || die > diff /tmp/tmp.w3swwxOp2g/test-foo/cookie /tmp/tmp.YAshhH74e1/foo/cookie || die > tar -C /tmp/tmp.w3swwxOp2g -xf /tmp/tmp.w3swwxOp2g/cwd_archive_nodirname.tar.gz || die > diff /tmp/tmp.w3swwxOp2g/test-foo/cookie /tmp/tmp.YAshhH74e1/foo/cookie || die > tar -C /tmp/tmp.w3swwxOp2g -xf /tmp/tmp.w3swwxOp2g/cwd_pack_foo.tar.gz || die > diff /tmp/tmp.w3swwxOp2g/foo/cookie /tmp/tmp.YAshhH74e1/foo/cookie || die > tar -C /tmp/tmp.w3swwxOp2g -xf /tmp/tmp.w3swwxOp2g/cwd_archive_bar.tar.gz || die > diff /tmp/tmp.w3swwxOp2g/bar/cookie /tmp/tmp.YAshhH74e1/foo/cookie || die > tar -C /tmp/tmp.w3swwxOp2g -xf /tmp/tmp.w3swwxOp2g/baz_pack_nodirname.tar.gz || die > diff /tmp/tmp.w3swwxOp2g/test-baz/cookie /tmp/tmp.YAshhH74e1/baz/cookie || die > tar -C /tmp/tmp.w3swwxOp2g -xf /tmp/tmp.w3swwxOp2g/baz_archive_nodirname.tar.gz || die > diff /tmp/tmp.w3swwxOp2g/test-baz/cookie /tmp/tmp.YAshhH74e1/baz/cookie || die > tar -C /tmp/tmp.w3swwxOp2g -xf /tmp/tmp.w3swwxOp2g/baz_pack_foo.tar.gz || die > diff /tmp/tmp.w3swwxOp2g/foo/cookie /tmp/tmp.YAshhH74e1/baz/cookie || die > ls /tmp/tmp.w3swwxOp2g/foo/cookie_ignored 2>/dev/null && die > ls /tmp/tmp.w3swwxOp2g/foo/cookie_unadded 2>/dev/null && die > tar -C /tmp/tmp.w3swwxOp2g -xf /tmp/tmp.w3swwxOp2g/baz_archive_bar.tar.gz || die > diff /tmp/tmp.w3swwxOp2g/bar/cookie /tmp/tmp.YAshhH74e1/baz/cookie || die > ls /tmp/tmp.w3swwxOp2g/bar/cookie_ignored 2>/dev/null && die > ls /tmp/tmp.w3swwxOp2g/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.eyWPsLSQs1/.git/ > cat /tmp/tmp.eyWPsLSQs1/bar/input | preproc -C /tmp/tmp.eyWPsLSQs1/foo -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.eyWPsLSQs1/bar' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.85ZC8td72G/output | log_filter > /tmp/tmp.85ZC8td72G/log > diff /tmp/tmp.wiwYx6DyHV/output /tmp/tmp.85ZC8td72G/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.85ZC8td72G/log && die; } > diff log /tmp/tmp.85ZC8td72G/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.NEo1qfN4IS/.git/ [master (root-commit) 01a554e] 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.NEo1qfN4IS/submodule'... done. [master 130c6f6] add submodule 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 submodule > cat /tmp/tmp.NEo1qfN4IS/input | preproc -C /tmp/tmp.NEo1qfN4IS -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.NEo1qfN4IS' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.nP0m1LIIH1/output | log_filter > /tmp/tmp.nP0m1LIIH1/log > diff /tmp/tmp.7kXwMr2XVx/output /tmp/tmp.nP0m1LIIH1/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.nP0m1LIIH1/log && die; } > diff log /tmp/tmp.nP0m1LIIH1/log || die success. > cat /tmp/tmp.NEo1qfN4IS/submodule/input_dir | preproc -C /tmp/tmp.NEo1qfN4IS -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.NEo1qfN4IS/submodule' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.nP0m1LIIH1/output | log_filter > /tmp/tmp.nP0m1LIIH1/log > diff /tmp/tmp.7kXwMr2XVx/output_dir /tmp/tmp.nP0m1LIIH1/output || { echo 'LOG DIFF:' && diff log_dir /tmp/tmp.nP0m1LIIH1/log && die; } > diff log_dir /tmp/tmp.nP0m1LIIH1/log || die success. > cat /tmp/tmp.NEo1qfN4IS/submodule/input_cwd | preproc -C /tmp/tmp.NEo1qfN4IS/submodule/subdir -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.NEo1qfN4IS/submodule' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.nP0m1LIIH1/output | log_filter > /tmp/tmp.nP0m1LIIH1/log > diff /tmp/tmp.7kXwMr2XVx/output_cwd /tmp/tmp.nP0m1LIIH1/output || { echo 'LOG DIFF:' && diff log_cwd /tmp/tmp.nP0m1LIIH1/log && die; } > diff log_cwd /tmp/tmp.nP0m1LIIH1/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.RMm8TCEFkp/.git/ [master (root-commit) a4e11ef] 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.RMm8TCEFkp/submodule'... done. [master 302fb03] add submodule 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 submodule > cat /tmp/tmp.RMm8TCEFkp/input_archive | preproc -C /tmp/tmp.RMm8TCEFkp -e OUTDIR=/tmp/tmp.ILWMM9tEGl -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.RMm8TCEFkp' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.ILWMM9tEGl/output | log_filter > /tmp/tmp.ILWMM9tEGl/log > custom_test_archive_clean > tar -C /tmp/tmp.ILWMM9tEGl -xf /tmp/tmp.ILWMM9tEGl/test-302fb038.tar.gz || die > [ -d /tmp/tmp.ILWMM9tEGl/test/submodule/subdir ] && die > tar -C /tmp/tmp.ILWMM9tEGl -xf /tmp/tmp.ILWMM9tEGl/test-submodule-302fb038.tar.gz || die > [ -f /tmp/tmp.ILWMM9tEGl/test-submodule/subdir/cookie ] || die > cat /tmp/tmp.ILWMM9tEGl/test-submodule/subdir/cookie | grep -q 0 || die > tar -C /tmp/tmp.ILWMM9tEGl -xf /tmp/tmp.ILWMM9tEGl/test-submodule-subdir-302fb038.tar.gz || die > [ -f /tmp/tmp.ILWMM9tEGl/test-submodule-subdir/cookie ] || die > cat /tmp/tmp.ILWMM9tEGl/test-submodule-subdir/cookie | grep -q 0 || die success. > cat /tmp/tmp.RMm8TCEFkp/input_pack | preproc -C /tmp/tmp.RMm8TCEFkp -e OUTDIR=/tmp/tmp.ILWMM9tEGl -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.RMm8TCEFkp' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.ILWMM9tEGl/output | log_filter > /tmp/tmp.ILWMM9tEGl/log > custom_test_pack_clean > tar -C /tmp/tmp.ILWMM9tEGl -xf /tmp/tmp.ILWMM9tEGl/test-302fb038.tar.gz || die > [ -f /tmp/tmp.ILWMM9tEGl/test/submodule/subdir ] && die > tar -C /tmp/tmp.ILWMM9tEGl -xf /tmp/tmp.ILWMM9tEGl/test-submodule-302fb038.tar.gz || die > [ -f /tmp/tmp.ILWMM9tEGl/test-submodule/subdir/cookie ] || die > cat /tmp/tmp.ILWMM9tEGl/test-submodule/subdir/cookie | grep -q 0 || die > tar -C /tmp/tmp.ILWMM9tEGl -xf /tmp/tmp.ILWMM9tEGl/test-submodule-subdir-302fb038.tar.gz || die > [ -f /tmp/tmp.ILWMM9tEGl/test-submodule-subdir/cookie ] || die > cat /tmp/tmp.ILWMM9tEGl/test-submodule-subdir/cookie | grep -q 0 || die success. [master 9e63550] submodule new commit 1 file changed, 1 insertion(+) > cat /tmp/tmp.RMm8TCEFkp/input_archive | preproc -C /tmp/tmp.RMm8TCEFkp -e OUTDIR=/tmp/tmp.ILWMM9tEGl -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.RMm8TCEFkp' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.ILWMM9tEGl/output | log_filter > /tmp/tmp.ILWMM9tEGl/log > custom_test_archive_submodule_new_commit > tar -C /tmp/tmp.ILWMM9tEGl -xf /tmp/tmp.ILWMM9tEGl/test-302fb038.tar.gz || die > [ -d /tmp/tmp.ILWMM9tEGl/test/submodule/subdir ] && die > tar -C /tmp/tmp.ILWMM9tEGl -xf /tmp/tmp.ILWMM9tEGl/test-submodule-302fb038.tar.gz || die > [ -f /tmp/tmp.ILWMM9tEGl/test-submodule/subdir/cookie ] || die > cat /tmp/tmp.ILWMM9tEGl/test-submodule/subdir/cookie | grep -q 0 || die > tar -C /tmp/tmp.ILWMM9tEGl -xf /tmp/tmp.ILWMM9tEGl/test-submodule-subdir-302fb038.tar.gz || die > [ -f /tmp/tmp.ILWMM9tEGl/test-submodule-subdir/cookie ] || die > cat /tmp/tmp.ILWMM9tEGl/test-submodule-subdir/cookie | grep -q 0 || die success. > cat /tmp/tmp.RMm8TCEFkp/input_pack | preproc -C /tmp/tmp.RMm8TCEFkp -e OUTDIR=/tmp/tmp.ILWMM9tEGl -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.RMm8TCEFkp' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.ILWMM9tEGl/output | log_filter > /tmp/tmp.ILWMM9tEGl/log > custom_test_pack_submodule_new_commit > tar -C /tmp/tmp.ILWMM9tEGl -xf /tmp/tmp.ILWMM9tEGl/test-302fb038-dirty.tar.gz || die > [ -d /tmp/tmp.ILWMM9tEGl/test/submodule/subdir ] && die > tar -C /tmp/tmp.ILWMM9tEGl -xf /tmp/tmp.ILWMM9tEGl/test-submodule-302fb038-dirty.tar.gz || die > cat /tmp/tmp.ILWMM9tEGl/test-submodule/subdir/cookie | grep -q 1 || die > tar -C /tmp/tmp.ILWMM9tEGl -xf /tmp/tmp.ILWMM9tEGl/test-submodule-subdir-302fb038.tar.gz || die > cat /tmp/tmp.ILWMM9tEGl/test-submodule-subdir/cookie | grep -q 1 || die success. > cat /tmp/tmp.RMm8TCEFkp/input_archive | preproc -C /tmp/tmp.RMm8TCEFkp -e OUTDIR=/tmp/tmp.ILWMM9tEGl -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.RMm8TCEFkp' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.ILWMM9tEGl/output | log_filter > /tmp/tmp.ILWMM9tEGl/log > custom_test_archive_submodule_dirty > tar -C /tmp/tmp.ILWMM9tEGl -xf /tmp/tmp.ILWMM9tEGl/test-302fb038.tar.gz || die > [ -d /tmp/tmp.ILWMM9tEGl/test/submodule/subdir ] && die > tar -C /tmp/tmp.ILWMM9tEGl -xf /tmp/tmp.ILWMM9tEGl/test-submodule-302fb038.tar.gz || die > [ -f /tmp/tmp.ILWMM9tEGl/test-submodule/subdir/cookie ] || die > cat /tmp/tmp.ILWMM9tEGl/test-submodule/subdir/cookie | grep -q 0 || die > tar -C /tmp/tmp.ILWMM9tEGl -xf /tmp/tmp.ILWMM9tEGl/test-submodule-subdir-302fb038.tar.gz || die > [ -f /tmp/tmp.ILWMM9tEGl/test-submodule-subdir/cookie ] || die > cat /tmp/tmp.ILWMM9tEGl/test-submodule-subdir/cookie | grep -q 0 || die success. > cat /tmp/tmp.RMm8TCEFkp/input_pack | preproc -C /tmp/tmp.RMm8TCEFkp -e OUTDIR=/tmp/tmp.ILWMM9tEGl -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.RMm8TCEFkp' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.ILWMM9tEGl/output | log_filter > /tmp/tmp.ILWMM9tEGl/log > custom_test_pack_submodule_dirty > tar -C /tmp/tmp.ILWMM9tEGl -xf /tmp/tmp.ILWMM9tEGl/test-302fb038-dirty.tar.gz || die > [ -d /tmp/tmp.ILWMM9tEGl/test/submodule/subdir ] && die > tar -C /tmp/tmp.ILWMM9tEGl -xf /tmp/tmp.ILWMM9tEGl/test-submodule-302fb038-dirty.tar.gz || die > cat /tmp/tmp.ILWMM9tEGl/test-submodule/subdir/cookie | grep -q 2 || die > tar -C /tmp/tmp.ILWMM9tEGl -xf /tmp/tmp.ILWMM9tEGl/test-submodule-subdir-302fb038.tar.gz || die > cat /tmp/tmp.ILWMM9tEGl/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.18gpebdpgA/.git/ [master (root-commit) 73d2750] 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 89d3fea] side branch commit 1 file changed, 1 insertion(+) Switched to branch 'master' > cat /tmp/tmp.18gpebdpgA/input | preproc -C /tmp/tmp.18gpebdpgA -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.18gpebdpgA' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.2PAqzSHSU2/output | log_filter > /tmp/tmp.2PAqzSHSU2/log > diff /tmp/tmp.xspG1TQN5u/output /tmp/tmp.2PAqzSHSU2/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.2PAqzSHSU2/log && die; } > diff log /tmp/tmp.2PAqzSHSU2/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.K7uZTSjsw9/.git/ [master (root-commit) a9ee79e] inital_commit 2 files changed, 117 insertions(+) create mode 100644 foo/file create mode 100644 input [master 91601ea] commit after tag 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 file > cat /tmp/tmp.K7uZTSjsw9/input | preproc -C /tmp/tmp.K7uZTSjsw9 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.K7uZTSjsw9' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.HabeeHfeCg/output | log_filter > /tmp/tmp.HabeeHfeCg/log > diff /tmp/tmp.LqgKL1g5iB/output /tmp/tmp.HabeeHfeCg/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.HabeeHfeCg/log && die; } > diff log /tmp/tmp.HabeeHfeCg/log || die success. ====================== test_uninited ====================== > cat /tmp/tmp.vTo2kYoRj6/input | preproc -C /tmp/tmp.vTo2kYoRj6 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.vTo2kYoRj6' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.M7E3pLed8E/output | log_filter > /tmp/tmp.M7E3pLed8E/log > diff /tmp/tmp.llNTjuR4BZ/output /tmp/tmp.M7E3pLed8E/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.M7E3pLed8E/log && die; } > diff log /tmp/tmp.M7E3pLed8E/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.w9DLxV + umask 022 + cd /builddir/build/BUILD + cd rpkg-util-macros + LICENSEDIR=/builddir/build/BUILDROOT/rpkg-macros-2.0-1.aarch64/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.aarch64/usr/share/licenses/rpkg-macros + cp -pr LICENSE /builddir/build/BUILDROOT/rpkg-macros-2.0-1.aarch64/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.aarch64 Wrote: /builddir/build/RPMS/rpkg-macros-2.0-1.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.38lLiJ + umask 022 + cd /builddir/build/BUILD + cd rpkg-util-macros + /usr/bin/rm -rf /builddir/build/BUILDROOT/rpkg-macros-2.0-1.aarch64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.pcnUkL + 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