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-1687747838.864087/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-1687747838.864087/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-1687747838.864087/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.jt1mxP + 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.WQgkXJ + 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.4zq7jK + 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.IM7qHr3KMm/.git/ > cat /tmp/tmp.IM7qHr3KMm/input | preproc -C /tmp/tmp.IM7qHr3KMm -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.IM7qHr3KMm' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.QqzOX885G6/output | log_filter > /tmp/tmp.QqzOX885G6/log > diff /tmp/tmp.RFLULRxI3t/output /tmp/tmp.QqzOX885G6/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.QqzOX885G6/log && die; } > diff log /tmp/tmp.QqzOX885G6/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.PpUiJeuZ5o/.git/ [master (root-commit) 1619465] commit 1 1 file changed, 117 insertions(+) create mode 100644 input [master 25e621e] commit 2 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 foo/file [master decf5b5] commit 3 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 bar/file > cat /tmp/tmp.PpUiJeuZ5o/input | preproc -C /tmp/tmp.PpUiJeuZ5o -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.PpUiJeuZ5o' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.uoOUYMMhgu/output | log_filter > /tmp/tmp.uoOUYMMhgu/log > diff /tmp/tmp.n8qyWZCwuR/output /tmp/tmp.uoOUYMMhgu/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.uoOUYMMhgu/log && die; } > diff log /tmp/tmp.uoOUYMMhgu/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.CvwzdF63oQ/.git/ [master (root-commit) 583b73c] inital_commit 2 files changed, 117 insertions(+) create mode 100644 foo/file create mode 100644 input > cat /tmp/tmp.CvwzdF63oQ/input | preproc -C /tmp/tmp.CvwzdF63oQ -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.CvwzdF63oQ' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.5gfpxE1C7f/output | log_filter > /tmp/tmp.5gfpxE1C7f/log > diff /tmp/tmp.Djr19iGa59/output /tmp/tmp.5gfpxE1C7f/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.5gfpxE1C7f/log && die; } > diff log /tmp/tmp.5gfpxE1C7f/log || die success. ====================== test_fn_bumped_version ====================== > cat /tmp/tmp.OVFo9dPRBZ/input | preproc -C /tmp/tmp.OVFo9dPRBZ -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.OVFo9dPRBZ' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.2aP9m54VWr/output | log_filter > /tmp/tmp.2aP9m54VWr/log > diff /tmp/tmp.Ze2w8obqvJ/output /tmp/tmp.2aP9m54VWr/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.2aP9m54VWr/log && die; } > diff log /tmp/tmp.2aP9m54VWr/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.8TiAqz0MwE/.git/ [master (root-commit) 9cd89ed] add subdir with file 2 files changed, 6 insertions(+) create mode 100644 input create mode 100644 subdir/file Cloning into '/tmp/tmp.8TiAqz0MwE/submodule'... done. [master 01a5e6b] add submodule 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 submodule > cat /tmp/tmp.8TiAqz0MwE/input | preproc -C /tmp/tmp.8TiAqz0MwE -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.8TiAqz0MwE' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.l8AxhuNRbk/output | log_filter > /tmp/tmp.l8AxhuNRbk/log > diff /tmp/tmp.O0DZKocMqq/output /tmp/tmp.l8AxhuNRbk/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.l8AxhuNRbk/log && die; } > diff log /tmp/tmp.l8AxhuNRbk/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.Ur6361jmWg/.git/ > cat /tmp/tmp.Ur6361jmWg/input | preproc -C /tmp/tmp.Ur6361jmWg -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.Ur6361jmWg' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.J4V50Fo2tF/output | log_filter > /tmp/tmp.J4V50Fo2tF/log > diff /tmp/tmp.mYz1j4cUt4/output /tmp/tmp.J4V50Fo2tF/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.J4V50Fo2tF/log && die; } > diff log /tmp/tmp.J4V50Fo2tF/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.GSL7BcRNA1/.git/ > cat /tmp/tmp.GSL7BcRNA1/input | preproc -C /tmp/tmp.GSL7BcRNA1 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.GSL7BcRNA1' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.AsxqJfDBHZ/output | log_filter > /tmp/tmp.AsxqJfDBHZ/log > diff /tmp/tmp.gMUGnwVsaO/output /tmp/tmp.AsxqJfDBHZ/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.AsxqJfDBHZ/log && die; } > diff log /tmp/tmp.AsxqJfDBHZ/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.la0MA4pwiA/.git/ [master (root-commit) 3cf53df] hello world 3 files changed, 3 insertions(+) create mode 100644 cookie create mode 100644 foo/cookie create mode 100644 input > cat /tmp/tmp.la0MA4pwiA/input | preproc -C /tmp/tmp.la0MA4pwiA -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.la0MA4pwiA' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.lSdr71QjEx/output | log_filter > /tmp/tmp.lSdr71QjEx/log > diff /tmp/tmp.BY2Hh4dXrH/output_clean /tmp/tmp.lSdr71QjEx/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.lSdr71QjEx/log && die; } > diff log /tmp/tmp.lSdr71QjEx/log || die success. > cat /tmp/tmp.la0MA4pwiA/input | preproc -C /tmp/tmp.la0MA4pwiA -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.la0MA4pwiA' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.lSdr71QjEx/output | log_filter > /tmp/tmp.lSdr71QjEx/log > diff /tmp/tmp.BY2Hh4dXrH/output_dirty /tmp/tmp.lSdr71QjEx/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.lSdr71QjEx/log && die; } > diff log /tmp/tmp.lSdr71QjEx/log || die success. Updated 1 path from the index > cat /tmp/tmp.la0MA4pwiA/input | preproc -C /tmp/tmp.la0MA4pwiA -e GIT_DIRTY=1 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.la0MA4pwiA' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.lSdr71QjEx/output | log_filter > /tmp/tmp.lSdr71QjEx/log > diff /tmp/tmp.BY2Hh4dXrH/output_dirty_manual /tmp/tmp.lSdr71QjEx/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.lSdr71QjEx/log && die; } > diff log /tmp/tmp.lSdr71QjEx/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.hMljCBgsaP/.git/ > cat /tmp/tmp.hMljCBgsaP/input | preproc -C /tmp/tmp.hMljCBgsaP -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.hMljCBgsaP' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.jhrSKpm1wq/output | log_filter > /tmp/tmp.jhrSKpm1wq/log > diff /tmp/tmp.KSmJZOZKKm/output /tmp/tmp.jhrSKpm1wq/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.jhrSKpm1wq/log && die; } > diff log /tmp/tmp.jhrSKpm1wq/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.6Faxug130r/.git/ > cat /tmp/tmp.6Faxug130r/input | preproc -C /tmp/tmp.6Faxug130r -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.6Faxug130r' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.Oco6KsmkMQ/output | log_filter > /tmp/tmp.Oco6KsmkMQ/log > diff /tmp/tmp.TbjWbn8T3s/output /tmp/tmp.Oco6KsmkMQ/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.Oco6KsmkMQ/log && die; } > diff log /tmp/tmp.Oco6KsmkMQ/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.fWFu8BNBds/.git/ > cat /tmp/tmp.fWFu8BNBds/input | preproc -C /tmp/tmp.fWFu8BNBds -e OUTDIR=/tmp/tmp.DyvwK25sRK -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.fWFu8BNBds' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.DyvwK25sRK/output | log_filter > /tmp/tmp.DyvwK25sRK/log > diff /tmp/tmp.tMscCdLLwu/output /tmp/tmp.DyvwK25sRK/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.DyvwK25sRK/log && die; } > diff log /tmp/tmp.DyvwK25sRK/log || die > custom_test > tar -C /tmp/tmp.DyvwK25sRK -xf /tmp/tmp.DyvwK25sRK/foo.tar.gz || die > diff /tmp/tmp.DyvwK25sRK/foo/cookie /tmp/tmp.fWFu8BNBds/cookie || die > ls /tmp/tmp.DyvwK25sRK/foo/cookie_ignored 2>/dev/null && die > ls /tmp/tmp.DyvwK25sRK/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.784IjyHR89/.git/ [master (root-commit) c782c15] commit 1 2 files changed, 3 insertions(+) create mode 100644 cookie create mode 100644 input > cat /tmp/tmp.784IjyHR89/input | preproc -C /tmp/tmp.784IjyHR89 -e OUTDIR=/tmp/tmp.sU6y1cBJRt -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.784IjyHR89' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.sU6y1cBJRt/output | log_filter > /tmp/tmp.sU6y1cBJRt/log > diff /tmp/tmp.ylfdOcKQMk/output /tmp/tmp.sU6y1cBJRt/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.sU6y1cBJRt/log && die; } > diff log /tmp/tmp.sU6y1cBJRt/log || die > custom_test > tar -C /tmp/tmp.sU6y1cBJRt -xf /tmp/tmp.sU6y1cBJRt/foo.tar.gz || die > diff /tmp/tmp.sU6y1cBJRt/foo/cookie /tmp/tmp.784IjyHR89/cookie || die > [ 'c782c1557d8217355de47602c483ca411eb02574' = 'c782c1557d8217355de47602c483ca411eb02574' ] || die > tar -C /tmp/tmp.sU6y1cBJRt -xf /tmp/tmp.sU6y1cBJRt/bar.tar.gz || die > diff /tmp/tmp.sU6y1cBJRt/bar/cookie /tmp/tmp.784IjyHR89/cookie || die > [ 'c782c1557d8217355de47602c483ca411eb02574' = 'c782c1557d8217355de47602c483ca411eb02574' ] || die success. > cat /tmp/tmp.784IjyHR89/input | preproc -C /tmp/tmp.784IjyHR89 -e OUTDIR=/tmp/tmp.sU6y1cBJRt -e GIT_STATUS=somestatus -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.784IjyHR89' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.sU6y1cBJRt/output | log_filter > /tmp/tmp.sU6y1cBJRt/log > test_nonempty_git_status > tar -C /tmp/tmp.sU6y1cBJRt -xf /tmp/tmp.sU6y1cBJRt/foo.tar.gz || die > diff /tmp/tmp.sU6y1cBJRt/foo/cookie /tmp/tmp.784IjyHR89/cookie || die > [ 'c782c1557d8217355de47602c483ca411eb02574' = '' ] && die > tar -C /tmp/tmp.sU6y1cBJRt -xf /tmp/tmp.sU6y1cBJRt/bar.tar.gz || die > diff /tmp/tmp.sU6y1cBJRt/bar/cookie /tmp/tmp.784IjyHR89/cookie || die > [ 'c782c1557d8217355de47602c483ca411eb02574' = 'c782c1557d8217355de47602c483ca411eb02574' ] || die success. > cat /tmp/tmp.784IjyHR89/input | preproc -C /tmp/tmp.784IjyHR89 -e OUTDIR=/tmp/tmp.sU6y1cBJRt -e GIT_HEAD=somehead -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.784IjyHR89' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.sU6y1cBJRt/output | log_filter > /tmp/tmp.sU6y1cBJRt/log > test_invalid_git_head > [ -f '/tmp/tmp.sU6y1cBJRt/foo.tar.gz' ] && die > [ -f '/tmp/tmp.sU6y1cBJRt/bar.tar.gz' ] && die success. > cat /tmp/tmp.784IjyHR89/input | preproc -C /tmp/tmp.784IjyHR89 -e OUTDIR=/tmp/tmp.sU6y1cBJRt -e GIT_HEAD= -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.784IjyHR89' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.sU6y1cBJRt/output | log_filter > /tmp/tmp.sU6y1cBJRt/log > test_empty_git_head > tar -C /tmp/tmp.sU6y1cBJRt -xf /tmp/tmp.sU6y1cBJRt/foo.tar.gz || die > diff /tmp/tmp.sU6y1cBJRt/foo/cookie /tmp/tmp.784IjyHR89/cookie || die > [ 'c782c1557d8217355de47602c483ca411eb02574' = '' ] && die > [ -f '/tmp/tmp.sU6y1cBJRt/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.3Ia80Ql3QC/.git/ [master (root-commit) f3c40fe] commit 1 2 files changed, 3 insertions(+) create mode 100644 cookie create mode 100644 input > cat /tmp/tmp.3Ia80Ql3QC/input | preproc -C /tmp/tmp.3Ia80Ql3QC -e OUTDIR=/tmp/tmp.l5XgUOsYA7 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.3Ia80Ql3QC' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.l5XgUOsYA7/output | log_filter > /tmp/tmp.l5XgUOsYA7/log > diff /tmp/tmp.9nTYFWUZ8v/output /tmp/tmp.l5XgUOsYA7/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.l5XgUOsYA7/log && die; } > diff log /tmp/tmp.l5XgUOsYA7/log || die > custom_test > tar -C /tmp/tmp.l5XgUOsYA7 -xf /tmp/tmp.l5XgUOsYA7/foo.tar.gz || die > diff /tmp/tmp.l5XgUOsYA7/foo/cookie /tmp/tmp.3Ia80Ql3QC/cookie || die > [ 'f3c40fe07ec3238582a646fe2eed9b7902ac4512' = '' ] && die > tar -C /tmp/tmp.l5XgUOsYA7 -xf /tmp/tmp.l5XgUOsYA7/bar.tar.gz || die > diff /tmp/tmp.l5XgUOsYA7/bar/cookie /tmp/tmp.3Ia80Ql3QC/cookie >/dev/null && die > [ 'f3c40fe07ec3238582a646fe2eed9b7902ac4512' = 'f3c40fe07ec3238582a646fe2eed9b7902ac4512' ] || 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.UYveJadtRi/.git/ [master (root-commit) b660a77] 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.UYveJadtRi/bar/input | preproc -C /tmp/tmp.UYveJadtRi/foo -e OUTDIR=/tmp/tmp.KGTSXsVARA -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.UYveJadtRi/bar' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.KGTSXsVARA/output | log_filter > /tmp/tmp.KGTSXsVARA/log > diff /tmp/tmp.A5IwLc052B/output /tmp/tmp.KGTSXsVARA/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.KGTSXsVARA/log && die; } > diff log /tmp/tmp.KGTSXsVARA/log || die > custom_test > tar -C /tmp/tmp.KGTSXsVARA -xf /tmp/tmp.KGTSXsVARA/dir_pack_nodirname.tar.gz || die > diff /tmp/tmp.KGTSXsVARA/test-bar/cookie /tmp/tmp.UYveJadtRi/bar/cookie || die > tar -C /tmp/tmp.KGTSXsVARA -xf /tmp/tmp.KGTSXsVARA/dir_archive_nodirname.tar.gz || die > diff /tmp/tmp.KGTSXsVARA/test-bar/cookie /tmp/tmp.UYveJadtRi/bar/cookie || die > tar -C /tmp/tmp.KGTSXsVARA -xf /tmp/tmp.KGTSXsVARA/dir_pack_foo.tar.gz || die > diff /tmp/tmp.KGTSXsVARA/foo/cookie /tmp/tmp.UYveJadtRi/bar/cookie || die > tar -C /tmp/tmp.KGTSXsVARA -xf /tmp/tmp.KGTSXsVARA/dir_archive_bar.tar.gz || die > diff /tmp/tmp.KGTSXsVARA/bar/cookie /tmp/tmp.UYveJadtRi/bar/cookie || die > tar -C /tmp/tmp.KGTSXsVARA -xf /tmp/tmp.KGTSXsVARA/cwd_pack_nodirname.tar.gz || die > diff /tmp/tmp.KGTSXsVARA/test-foo/cookie /tmp/tmp.UYveJadtRi/foo/cookie || die > tar -C /tmp/tmp.KGTSXsVARA -xf /tmp/tmp.KGTSXsVARA/cwd_archive_nodirname.tar.gz || die > diff /tmp/tmp.KGTSXsVARA/test-foo/cookie /tmp/tmp.UYveJadtRi/foo/cookie || die > tar -C /tmp/tmp.KGTSXsVARA -xf /tmp/tmp.KGTSXsVARA/cwd_pack_foo.tar.gz || die > diff /tmp/tmp.KGTSXsVARA/foo/cookie /tmp/tmp.UYveJadtRi/foo/cookie || die > tar -C /tmp/tmp.KGTSXsVARA -xf /tmp/tmp.KGTSXsVARA/cwd_archive_bar.tar.gz || die > diff /tmp/tmp.KGTSXsVARA/bar/cookie /tmp/tmp.UYveJadtRi/foo/cookie || die > tar -C /tmp/tmp.KGTSXsVARA -xf /tmp/tmp.KGTSXsVARA/baz_pack_nodirname.tar.gz || die > diff /tmp/tmp.KGTSXsVARA/test-baz/cookie /tmp/tmp.UYveJadtRi/baz/cookie || die > tar -C /tmp/tmp.KGTSXsVARA -xf /tmp/tmp.KGTSXsVARA/baz_archive_nodirname.tar.gz || die > diff /tmp/tmp.KGTSXsVARA/test-baz/cookie /tmp/tmp.UYveJadtRi/baz/cookie || die > tar -C /tmp/tmp.KGTSXsVARA -xf /tmp/tmp.KGTSXsVARA/baz_pack_foo.tar.gz || die > diff /tmp/tmp.KGTSXsVARA/foo/cookie /tmp/tmp.UYveJadtRi/baz/cookie || die > ls /tmp/tmp.KGTSXsVARA/foo/cookie_ignored 2>/dev/null && die > ls /tmp/tmp.KGTSXsVARA/foo/cookie_unadded 2>/dev/null && die > tar -C /tmp/tmp.KGTSXsVARA -xf /tmp/tmp.KGTSXsVARA/baz_archive_bar.tar.gz || die > diff /tmp/tmp.KGTSXsVARA/bar/cookie /tmp/tmp.UYveJadtRi/baz/cookie || die > ls /tmp/tmp.KGTSXsVARA/bar/cookie_ignored 2>/dev/null && die > ls /tmp/tmp.KGTSXsVARA/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.6vxHHbHL0E/.git/ > cat /tmp/tmp.6vxHHbHL0E/bar/input | preproc -C /tmp/tmp.6vxHHbHL0E/foo -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.6vxHHbHL0E/bar' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.WTY3voWdzx/output | log_filter > /tmp/tmp.WTY3voWdzx/log > diff /tmp/tmp.MOBvIuI71O/output /tmp/tmp.WTY3voWdzx/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.WTY3voWdzx/log && die; } > diff log /tmp/tmp.WTY3voWdzx/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.L5F7zXbmRa/.git/ [master (root-commit) 4558da3] 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.L5F7zXbmRa/submodule'... done. [master 9fa3a75] add submodule 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 submodule > cat /tmp/tmp.L5F7zXbmRa/input | preproc -C /tmp/tmp.L5F7zXbmRa -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.L5F7zXbmRa' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.DbR7RDDkZq/output | log_filter > /tmp/tmp.DbR7RDDkZq/log > diff /tmp/tmp.9KpTQSqo2V/output /tmp/tmp.DbR7RDDkZq/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.DbR7RDDkZq/log && die; } > diff log /tmp/tmp.DbR7RDDkZq/log || die success. > cat /tmp/tmp.L5F7zXbmRa/submodule/input_dir | preproc -C /tmp/tmp.L5F7zXbmRa -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.L5F7zXbmRa/submodule' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.DbR7RDDkZq/output | log_filter > /tmp/tmp.DbR7RDDkZq/log > diff /tmp/tmp.9KpTQSqo2V/output_dir /tmp/tmp.DbR7RDDkZq/output || { echo 'LOG DIFF:' && diff log_dir /tmp/tmp.DbR7RDDkZq/log && die; } > diff log_dir /tmp/tmp.DbR7RDDkZq/log || die success. > cat /tmp/tmp.L5F7zXbmRa/submodule/input_cwd | preproc -C /tmp/tmp.L5F7zXbmRa/submodule/subdir -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.L5F7zXbmRa/submodule' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.DbR7RDDkZq/output | log_filter > /tmp/tmp.DbR7RDDkZq/log > diff /tmp/tmp.9KpTQSqo2V/output_cwd /tmp/tmp.DbR7RDDkZq/output || { echo 'LOG DIFF:' && diff log_cwd /tmp/tmp.DbR7RDDkZq/log && die; } > diff log_cwd /tmp/tmp.DbR7RDDkZq/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.PIUdrT2Otz/.git/ [master (root-commit) a7ec857] 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.PIUdrT2Otz/submodule'... done. [master 9891801] add submodule 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 submodule > cat /tmp/tmp.PIUdrT2Otz/input_archive | preproc -C /tmp/tmp.PIUdrT2Otz -e OUTDIR=/tmp/tmp.nMVK6Hcv7h -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.PIUdrT2Otz' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.nMVK6Hcv7h/output | log_filter > /tmp/tmp.nMVK6Hcv7h/log > custom_test_archive_clean > tar -C /tmp/tmp.nMVK6Hcv7h -xf /tmp/tmp.nMVK6Hcv7h/test-9891801c.tar.gz || die > [ -d /tmp/tmp.nMVK6Hcv7h/test/submodule/subdir ] && die > tar -C /tmp/tmp.nMVK6Hcv7h -xf /tmp/tmp.nMVK6Hcv7h/test-submodule-9891801c.tar.gz || die > [ -f /tmp/tmp.nMVK6Hcv7h/test-submodule/subdir/cookie ] || die > cat /tmp/tmp.nMVK6Hcv7h/test-submodule/subdir/cookie | grep -q 0 || die > tar -C /tmp/tmp.nMVK6Hcv7h -xf /tmp/tmp.nMVK6Hcv7h/test-submodule-subdir-9891801c.tar.gz || die > [ -f /tmp/tmp.nMVK6Hcv7h/test-submodule-subdir/cookie ] || die > cat /tmp/tmp.nMVK6Hcv7h/test-submodule-subdir/cookie | grep -q 0 || die success. > cat /tmp/tmp.PIUdrT2Otz/input_pack | preproc -C /tmp/tmp.PIUdrT2Otz -e OUTDIR=/tmp/tmp.nMVK6Hcv7h -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.PIUdrT2Otz' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.nMVK6Hcv7h/output | log_filter > /tmp/tmp.nMVK6Hcv7h/log > custom_test_pack_clean > tar -C /tmp/tmp.nMVK6Hcv7h -xf /tmp/tmp.nMVK6Hcv7h/test-9891801c.tar.gz || die > [ -f /tmp/tmp.nMVK6Hcv7h/test/submodule/subdir ] && die > tar -C /tmp/tmp.nMVK6Hcv7h -xf /tmp/tmp.nMVK6Hcv7h/test-submodule-9891801c.tar.gz || die > [ -f /tmp/tmp.nMVK6Hcv7h/test-submodule/subdir/cookie ] || die > cat /tmp/tmp.nMVK6Hcv7h/test-submodule/subdir/cookie | grep -q 0 || die > tar -C /tmp/tmp.nMVK6Hcv7h -xf /tmp/tmp.nMVK6Hcv7h/test-submodule-subdir-9891801c.tar.gz || die > [ -f /tmp/tmp.nMVK6Hcv7h/test-submodule-subdir/cookie ] || die > cat /tmp/tmp.nMVK6Hcv7h/test-submodule-subdir/cookie | grep -q 0 || die success. [master e1dfb09] submodule new commit 1 file changed, 1 insertion(+) > cat /tmp/tmp.PIUdrT2Otz/input_archive | preproc -C /tmp/tmp.PIUdrT2Otz -e OUTDIR=/tmp/tmp.nMVK6Hcv7h -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.PIUdrT2Otz' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.nMVK6Hcv7h/output | log_filter > /tmp/tmp.nMVK6Hcv7h/log > custom_test_archive_submodule_new_commit > tar -C /tmp/tmp.nMVK6Hcv7h -xf /tmp/tmp.nMVK6Hcv7h/test-9891801c.tar.gz || die > [ -d /tmp/tmp.nMVK6Hcv7h/test/submodule/subdir ] && die > tar -C /tmp/tmp.nMVK6Hcv7h -xf /tmp/tmp.nMVK6Hcv7h/test-submodule-9891801c.tar.gz || die > [ -f /tmp/tmp.nMVK6Hcv7h/test-submodule/subdir/cookie ] || die > cat /tmp/tmp.nMVK6Hcv7h/test-submodule/subdir/cookie | grep -q 0 || die > tar -C /tmp/tmp.nMVK6Hcv7h -xf /tmp/tmp.nMVK6Hcv7h/test-submodule-subdir-9891801c.tar.gz || die > [ -f /tmp/tmp.nMVK6Hcv7h/test-submodule-subdir/cookie ] || die > cat /tmp/tmp.nMVK6Hcv7h/test-submodule-subdir/cookie | grep -q 0 || die success. > cat /tmp/tmp.PIUdrT2Otz/input_pack | preproc -C /tmp/tmp.PIUdrT2Otz -e OUTDIR=/tmp/tmp.nMVK6Hcv7h -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.PIUdrT2Otz' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.nMVK6Hcv7h/output | log_filter > /tmp/tmp.nMVK6Hcv7h/log > custom_test_pack_submodule_new_commit > tar -C /tmp/tmp.nMVK6Hcv7h -xf /tmp/tmp.nMVK6Hcv7h/test-9891801c-dirty.tar.gz || die > [ -d /tmp/tmp.nMVK6Hcv7h/test/submodule/subdir ] && die > tar -C /tmp/tmp.nMVK6Hcv7h -xf /tmp/tmp.nMVK6Hcv7h/test-submodule-9891801c-dirty.tar.gz || die > cat /tmp/tmp.nMVK6Hcv7h/test-submodule/subdir/cookie | grep -q 1 || die > tar -C /tmp/tmp.nMVK6Hcv7h -xf /tmp/tmp.nMVK6Hcv7h/test-submodule-subdir-9891801c.tar.gz || die > cat /tmp/tmp.nMVK6Hcv7h/test-submodule-subdir/cookie | grep -q 1 || die success. > cat /tmp/tmp.PIUdrT2Otz/input_archive | preproc -C /tmp/tmp.PIUdrT2Otz -e OUTDIR=/tmp/tmp.nMVK6Hcv7h -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.PIUdrT2Otz' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.nMVK6Hcv7h/output | log_filter > /tmp/tmp.nMVK6Hcv7h/log > custom_test_archive_submodule_dirty > tar -C /tmp/tmp.nMVK6Hcv7h -xf /tmp/tmp.nMVK6Hcv7h/test-9891801c.tar.gz || die > [ -d /tmp/tmp.nMVK6Hcv7h/test/submodule/subdir ] && die > tar -C /tmp/tmp.nMVK6Hcv7h -xf /tmp/tmp.nMVK6Hcv7h/test-submodule-9891801c.tar.gz || die > [ -f /tmp/tmp.nMVK6Hcv7h/test-submodule/subdir/cookie ] || die > cat /tmp/tmp.nMVK6Hcv7h/test-submodule/subdir/cookie | grep -q 0 || die > tar -C /tmp/tmp.nMVK6Hcv7h -xf /tmp/tmp.nMVK6Hcv7h/test-submodule-subdir-9891801c.tar.gz || die > [ -f /tmp/tmp.nMVK6Hcv7h/test-submodule-subdir/cookie ] || die > cat /tmp/tmp.nMVK6Hcv7h/test-submodule-subdir/cookie | grep -q 0 || die success. > cat /tmp/tmp.PIUdrT2Otz/input_pack | preproc -C /tmp/tmp.PIUdrT2Otz -e OUTDIR=/tmp/tmp.nMVK6Hcv7h -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.PIUdrT2Otz' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.nMVK6Hcv7h/output | log_filter > /tmp/tmp.nMVK6Hcv7h/log > custom_test_pack_submodule_dirty > tar -C /tmp/tmp.nMVK6Hcv7h -xf /tmp/tmp.nMVK6Hcv7h/test-9891801c-dirty.tar.gz || die > [ -d /tmp/tmp.nMVK6Hcv7h/test/submodule/subdir ] && die > tar -C /tmp/tmp.nMVK6Hcv7h -xf /tmp/tmp.nMVK6Hcv7h/test-submodule-9891801c-dirty.tar.gz || die > cat /tmp/tmp.nMVK6Hcv7h/test-submodule/subdir/cookie | grep -q 2 || die > tar -C /tmp/tmp.nMVK6Hcv7h -xf /tmp/tmp.nMVK6Hcv7h/test-submodule-subdir-9891801c.tar.gz || die > cat /tmp/tmp.nMVK6Hcv7h/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.PomoINzO7W/.git/ [master (root-commit) 9f4fa1b] 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 b34c22c] side branch commit 1 file changed, 1 insertion(+) Switched to branch 'master' > cat /tmp/tmp.PomoINzO7W/input | preproc -C /tmp/tmp.PomoINzO7W -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.PomoINzO7W' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.bVr0i9brU3/output | log_filter > /tmp/tmp.bVr0i9brU3/log > diff /tmp/tmp.7FzHL5E4q3/output /tmp/tmp.bVr0i9brU3/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.bVr0i9brU3/log && die; } > diff log /tmp/tmp.bVr0i9brU3/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.CwHOezWxs4/.git/ [master (root-commit) 1a10db9] inital_commit 2 files changed, 117 insertions(+) create mode 100644 foo/file create mode 100644 input [master 74644c1] commit after tag 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 file > cat /tmp/tmp.CwHOezWxs4/input | preproc -C /tmp/tmp.CwHOezWxs4 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.CwHOezWxs4' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.D2cDaZhGFp/output | log_filter > /tmp/tmp.D2cDaZhGFp/log > diff /tmp/tmp.g8iqNXV2Ps/output /tmp/tmp.D2cDaZhGFp/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.D2cDaZhGFp/log && die; } > diff log /tmp/tmp.D2cDaZhGFp/log || die success. ====================== test_uninited ====================== > cat /tmp/tmp.IlaIv4iqGW/input | preproc -C /tmp/tmp.IlaIv4iqGW -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.IlaIv4iqGW' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.gQH8KBsO1Z/output | log_filter > /tmp/tmp.gQH8KBsO1Z/log > diff /tmp/tmp.8EVedf44Ko/output /tmp/tmp.gQH8KBsO1Z/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.gQH8KBsO1Z/log && die; } > diff log /tmp/tmp.gQH8KBsO1Z/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.MRFefk + 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.AdxVdd + 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.Za5zUU + 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