Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rpkg-macros.spec'], chrootPath='/var/lib/mock/openeuler-22.03_LTS_SP1-x86_64-1687747838.470197/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rpkg-macros.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False /etc/profile.d/system-info.sh: line 55: ps: command not found Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/rpkg-macros-2.0-1.src.rpm Child return code was: 0 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rpkg-macros.spec'], chrootPath='/var/lib/mock/openeuler-22.03_LTS_SP1-x86_64-1687747838.470197/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rpkg-macros.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False /etc/profile.d/system-info.sh: line 55: ps: command not found Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/rpkg-macros-2.0-1.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/rpkg-macros.spec'], chrootPath='/var/lib/mock/openeuler-22.03_LTS_SP1-x86_64-1687747838.470197/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/rpkg-macros.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False /etc/profile.d/system-info.sh: line 55: ps: command not found Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.cfDxO7 + 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 . + /usr/bin/cat /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.IDDgVo + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rpkg-macros-2.0-1.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rpkg-macros-2.0-1.x86_64 ++ dirname /builddir/build/BUILDROOT/rpkg-macros-2.0-1.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rpkg-macros-2.0-1.x86_64 + cd rpkg-util-macros + install -d /builddir/build/BUILDROOT/rpkg-macros-2.0-1.x86_64/usr/lib + install -d /builddir/build/BUILDROOT/rpkg-macros-2.0-1.x86_64/usr/lib/rpkg.macros.d + cp -ar macros.d/all.bash macros.d/git.bash macros.d/helpers macros.d/library /builddir/build/BUILDROOT/rpkg-macros-2.0-1.x86_64/usr/lib/rpkg.macros.d + install -d /builddir/build/BUILDROOT/rpkg-macros-2.0-1.x86_64/usr/bin + install -p -m 755 bin/pack_sources /builddir/build/BUILDROOT/rpkg-macros-2.0-1.x86_64/usr/bin/pack_sources + install -d /builddir/build/BUILDROOT/rpkg-macros-2.0-1.x86_64/usr/share/man/man1 + install -p -m 644 man/rpkg-macros.1 /builddir/build/BUILDROOT/rpkg-macros-2.0-1.x86_64//usr/share/man/man1/ + /usr/bin/find-debuginfo -j4 --strict-build-id -i --build-id-seed 2.0-1 --unique-debug-suffix -2.0-1.x86_64 --unique-debug-src-base rpkg-macros-2.0-1.x86_64 -S debugsourcefiles.list /builddir/build/BUILD/rpkg-util-macros find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 1 + /usr/lib/rpm/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.px5vAa + 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.AbDDT9Tm9S/.git/ > cat /tmp/tmp.AbDDT9Tm9S/input | preproc -C /tmp/tmp.AbDDT9Tm9S -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.AbDDT9Tm9S' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.vwbOQX3ovT/output | log_filter > /tmp/tmp.vwbOQX3ovT/log > diff /tmp/tmp.SYYHDMPOqM/output /tmp/tmp.vwbOQX3ovT/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.vwbOQX3ovT/log && die; } > diff log /tmp/tmp.vwbOQX3ovT/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.E5vb9nWshq/.git/ [master (root-commit) a4751ab] commit 1 1 file changed, 117 insertions(+) create mode 100644 input [master 2da3af0] commit 2 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 foo/file [master c2b54cf] commit 3 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 bar/file > cat /tmp/tmp.E5vb9nWshq/input | preproc -C /tmp/tmp.E5vb9nWshq -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.E5vb9nWshq' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.2Q6vvMpv69/output | log_filter > /tmp/tmp.2Q6vvMpv69/log > diff /tmp/tmp.wvWQ1NDh1F/output /tmp/tmp.2Q6vvMpv69/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.2Q6vvMpv69/log && die; } > diff log /tmp/tmp.2Q6vvMpv69/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.6zqfa2M8Or/.git/ [master (root-commit) 744398c] inital_commit 2 files changed, 117 insertions(+) create mode 100644 foo/file create mode 100644 input > cat /tmp/tmp.6zqfa2M8Or/input | preproc -C /tmp/tmp.6zqfa2M8Or -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.6zqfa2M8Or' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.spjK6aNpB4/output | log_filter > /tmp/tmp.spjK6aNpB4/log > diff /tmp/tmp.HMLQfSM8vM/output /tmp/tmp.spjK6aNpB4/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.spjK6aNpB4/log && die; } > diff log /tmp/tmp.spjK6aNpB4/log || die success. ====================== test_fn_bumped_version ====================== > cat /tmp/tmp.uA0h9Y9lVr/input | preproc -C /tmp/tmp.uA0h9Y9lVr -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.uA0h9Y9lVr' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.nre33F2pQv/output | log_filter > /tmp/tmp.nre33F2pQv/log > diff /tmp/tmp.8QJFxmQNnn/output /tmp/tmp.nre33F2pQv/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.nre33F2pQv/log && die; } > diff log /tmp/tmp.nre33F2pQv/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.kbps0WhlfB/.git/ [master (root-commit) b377e8a] add subdir with file 2 files changed, 6 insertions(+) create mode 100644 input create mode 100644 subdir/file Cloning into '/tmp/tmp.kbps0WhlfB/submodule'... done. [master e1f42e3] add submodule 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 submodule > cat /tmp/tmp.kbps0WhlfB/input | preproc -C /tmp/tmp.kbps0WhlfB -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.kbps0WhlfB' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.pl8RYjC0Si/output | log_filter > /tmp/tmp.pl8RYjC0Si/log > diff /tmp/tmp.wcca2lurFm/output /tmp/tmp.pl8RYjC0Si/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.pl8RYjC0Si/log && die; } > diff log /tmp/tmp.pl8RYjC0Si/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.bQUDuiBSjq/.git/ > cat /tmp/tmp.bQUDuiBSjq/input | preproc -C /tmp/tmp.bQUDuiBSjq -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.bQUDuiBSjq' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.4YGDoyTTlT/output | log_filter > /tmp/tmp.4YGDoyTTlT/log > diff /tmp/tmp.VBxyUrreuq/output /tmp/tmp.4YGDoyTTlT/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.4YGDoyTTlT/log && die; } > diff log /tmp/tmp.4YGDoyTTlT/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.rEWFnncz0h/.git/ > cat /tmp/tmp.rEWFnncz0h/input | preproc -C /tmp/tmp.rEWFnncz0h -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.rEWFnncz0h' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.GJ3KJsdi7x/output | log_filter > /tmp/tmp.GJ3KJsdi7x/log > diff /tmp/tmp.5YbXnUqvNX/output /tmp/tmp.GJ3KJsdi7x/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.GJ3KJsdi7x/log && die; } > diff log /tmp/tmp.GJ3KJsdi7x/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.k689tphW7l/.git/ [master (root-commit) eeea2a7] hello world 3 files changed, 3 insertions(+) create mode 100644 cookie create mode 100644 foo/cookie create mode 100644 input > cat /tmp/tmp.k689tphW7l/input | preproc -C /tmp/tmp.k689tphW7l -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.k689tphW7l' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.ZlRKdU6Vn5/output | log_filter > /tmp/tmp.ZlRKdU6Vn5/log > diff /tmp/tmp.GXn3V2GfFL/output_clean /tmp/tmp.ZlRKdU6Vn5/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.ZlRKdU6Vn5/log && die; } > diff log /tmp/tmp.ZlRKdU6Vn5/log || die success. > cat /tmp/tmp.k689tphW7l/input | preproc -C /tmp/tmp.k689tphW7l -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.k689tphW7l' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.ZlRKdU6Vn5/output | log_filter > /tmp/tmp.ZlRKdU6Vn5/log > diff /tmp/tmp.GXn3V2GfFL/output_dirty /tmp/tmp.ZlRKdU6Vn5/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.ZlRKdU6Vn5/log && die; } > diff log /tmp/tmp.ZlRKdU6Vn5/log || die success. Updated 1 path from the index > cat /tmp/tmp.k689tphW7l/input | preproc -C /tmp/tmp.k689tphW7l -e GIT_DIRTY=1 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.k689tphW7l' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.ZlRKdU6Vn5/output | log_filter > /tmp/tmp.ZlRKdU6Vn5/log > diff /tmp/tmp.GXn3V2GfFL/output_dirty_manual /tmp/tmp.ZlRKdU6Vn5/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.ZlRKdU6Vn5/log && die; } > diff log /tmp/tmp.ZlRKdU6Vn5/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.yo6gqp5CS0/.git/ > cat /tmp/tmp.yo6gqp5CS0/input | preproc -C /tmp/tmp.yo6gqp5CS0 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.yo6gqp5CS0' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.N0yKSuYZXP/output | log_filter > /tmp/tmp.N0yKSuYZXP/log > diff /tmp/tmp.4ygDupEun9/output /tmp/tmp.N0yKSuYZXP/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.N0yKSuYZXP/log && die; } > diff log /tmp/tmp.N0yKSuYZXP/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.cvFDbXpz79/.git/ > cat /tmp/tmp.cvFDbXpz79/input | preproc -C /tmp/tmp.cvFDbXpz79 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.cvFDbXpz79' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.AFQpHzY4Wm/output | log_filter > /tmp/tmp.AFQpHzY4Wm/log > diff /tmp/tmp.7SqJYVzOL2/output /tmp/tmp.AFQpHzY4Wm/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.AFQpHzY4Wm/log && die; } > diff log /tmp/tmp.AFQpHzY4Wm/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.RrtI7UysMo/.git/ > cat /tmp/tmp.RrtI7UysMo/input | preproc -C /tmp/tmp.RrtI7UysMo -e OUTDIR=/tmp/tmp.LapzOg4Jeh -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.RrtI7UysMo' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.LapzOg4Jeh/output | log_filter > /tmp/tmp.LapzOg4Jeh/log > diff /tmp/tmp.o5kQdiIVx9/output /tmp/tmp.LapzOg4Jeh/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.LapzOg4Jeh/log && die; } > diff log /tmp/tmp.LapzOg4Jeh/log || die > custom_test > tar -C /tmp/tmp.LapzOg4Jeh -xf /tmp/tmp.LapzOg4Jeh/foo.tar.gz || die > diff /tmp/tmp.LapzOg4Jeh/foo/cookie /tmp/tmp.RrtI7UysMo/cookie || die > ls /tmp/tmp.LapzOg4Jeh/foo/cookie_ignored 2>/dev/null && die > ls /tmp/tmp.LapzOg4Jeh/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.rpFkr4lA1x/.git/ [master (root-commit) 532adb4] commit 1 2 files changed, 3 insertions(+) create mode 100644 cookie create mode 100644 input > cat /tmp/tmp.rpFkr4lA1x/input | preproc -C /tmp/tmp.rpFkr4lA1x -e OUTDIR=/tmp/tmp.ZSALI5GpB3 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.rpFkr4lA1x' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.ZSALI5GpB3/output | log_filter > /tmp/tmp.ZSALI5GpB3/log > diff /tmp/tmp.M6wTAvLR35/output /tmp/tmp.ZSALI5GpB3/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.ZSALI5GpB3/log && die; } > diff log /tmp/tmp.ZSALI5GpB3/log || die > custom_test > tar -C /tmp/tmp.ZSALI5GpB3 -xf /tmp/tmp.ZSALI5GpB3/foo.tar.gz || die > diff /tmp/tmp.ZSALI5GpB3/foo/cookie /tmp/tmp.rpFkr4lA1x/cookie || die > [ '532adb4a3e5807a0d28018e58f84e592b951c3cf' = '532adb4a3e5807a0d28018e58f84e592b951c3cf' ] || die > tar -C /tmp/tmp.ZSALI5GpB3 -xf /tmp/tmp.ZSALI5GpB3/bar.tar.gz || die > diff /tmp/tmp.ZSALI5GpB3/bar/cookie /tmp/tmp.rpFkr4lA1x/cookie || die > [ '532adb4a3e5807a0d28018e58f84e592b951c3cf' = '532adb4a3e5807a0d28018e58f84e592b951c3cf' ] || die success. > cat /tmp/tmp.rpFkr4lA1x/input | preproc -C /tmp/tmp.rpFkr4lA1x -e OUTDIR=/tmp/tmp.ZSALI5GpB3 -e GIT_STATUS=somestatus -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.rpFkr4lA1x' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.ZSALI5GpB3/output | log_filter > /tmp/tmp.ZSALI5GpB3/log > test_nonempty_git_status > tar -C /tmp/tmp.ZSALI5GpB3 -xf /tmp/tmp.ZSALI5GpB3/foo.tar.gz || die > diff /tmp/tmp.ZSALI5GpB3/foo/cookie /tmp/tmp.rpFkr4lA1x/cookie || die > [ '532adb4a3e5807a0d28018e58f84e592b951c3cf' = '' ] && die > tar -C /tmp/tmp.ZSALI5GpB3 -xf /tmp/tmp.ZSALI5GpB3/bar.tar.gz || die > diff /tmp/tmp.ZSALI5GpB3/bar/cookie /tmp/tmp.rpFkr4lA1x/cookie || die > [ '532adb4a3e5807a0d28018e58f84e592b951c3cf' = '532adb4a3e5807a0d28018e58f84e592b951c3cf' ] || die success. > cat /tmp/tmp.rpFkr4lA1x/input | preproc -C /tmp/tmp.rpFkr4lA1x -e OUTDIR=/tmp/tmp.ZSALI5GpB3 -e GIT_HEAD=somehead -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.rpFkr4lA1x' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.ZSALI5GpB3/output | log_filter > /tmp/tmp.ZSALI5GpB3/log > test_invalid_git_head > [ -f '/tmp/tmp.ZSALI5GpB3/foo.tar.gz' ] && die > [ -f '/tmp/tmp.ZSALI5GpB3/bar.tar.gz' ] && die success. > cat /tmp/tmp.rpFkr4lA1x/input | preproc -C /tmp/tmp.rpFkr4lA1x -e OUTDIR=/tmp/tmp.ZSALI5GpB3 -e GIT_HEAD= -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.rpFkr4lA1x' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.ZSALI5GpB3/output | log_filter > /tmp/tmp.ZSALI5GpB3/log > test_empty_git_head > tar -C /tmp/tmp.ZSALI5GpB3 -xf /tmp/tmp.ZSALI5GpB3/foo.tar.gz || die > diff /tmp/tmp.ZSALI5GpB3/foo/cookie /tmp/tmp.rpFkr4lA1x/cookie || die > [ '532adb4a3e5807a0d28018e58f84e592b951c3cf' = '' ] && die > [ -f '/tmp/tmp.ZSALI5GpB3/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.LcnmDCV3VE/.git/ [master (root-commit) 532adb4] commit 1 2 files changed, 3 insertions(+) create mode 100644 cookie create mode 100644 input > cat /tmp/tmp.LcnmDCV3VE/input | preproc -C /tmp/tmp.LcnmDCV3VE -e OUTDIR=/tmp/tmp.wDlbZCv924 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.LcnmDCV3VE' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.wDlbZCv924/output | log_filter > /tmp/tmp.wDlbZCv924/log > diff /tmp/tmp.xXvai7Q1Fx/output /tmp/tmp.wDlbZCv924/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.wDlbZCv924/log && die; } > diff log /tmp/tmp.wDlbZCv924/log || die > custom_test > tar -C /tmp/tmp.wDlbZCv924 -xf /tmp/tmp.wDlbZCv924/foo.tar.gz || die > diff /tmp/tmp.wDlbZCv924/foo/cookie /tmp/tmp.LcnmDCV3VE/cookie || die > [ '532adb4a3e5807a0d28018e58f84e592b951c3cf' = '' ] && die > tar -C /tmp/tmp.wDlbZCv924 -xf /tmp/tmp.wDlbZCv924/bar.tar.gz || die > diff /tmp/tmp.wDlbZCv924/bar/cookie /tmp/tmp.LcnmDCV3VE/cookie >/dev/null && die > [ '532adb4a3e5807a0d28018e58f84e592b951c3cf' = '532adb4a3e5807a0d28018e58f84e592b951c3cf' ] || 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.RGAbDWa2JZ/.git/ [master (root-commit) 86ac2e1] 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.RGAbDWa2JZ/bar/input | preproc -C /tmp/tmp.RGAbDWa2JZ/foo -e OUTDIR=/tmp/tmp.MqYEj6jzYs -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.RGAbDWa2JZ/bar' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.MqYEj6jzYs/output | log_filter > /tmp/tmp.MqYEj6jzYs/log > diff /tmp/tmp.vWN267fgUj/output /tmp/tmp.MqYEj6jzYs/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.MqYEj6jzYs/log && die; } > diff log /tmp/tmp.MqYEj6jzYs/log || die > custom_test > tar -C /tmp/tmp.MqYEj6jzYs -xf /tmp/tmp.MqYEj6jzYs/dir_pack_nodirname.tar.gz || die > diff /tmp/tmp.MqYEj6jzYs/test-bar/cookie /tmp/tmp.RGAbDWa2JZ/bar/cookie || die > tar -C /tmp/tmp.MqYEj6jzYs -xf /tmp/tmp.MqYEj6jzYs/dir_archive_nodirname.tar.gz || die > diff /tmp/tmp.MqYEj6jzYs/test-bar/cookie /tmp/tmp.RGAbDWa2JZ/bar/cookie || die > tar -C /tmp/tmp.MqYEj6jzYs -xf /tmp/tmp.MqYEj6jzYs/dir_pack_foo.tar.gz || die > diff /tmp/tmp.MqYEj6jzYs/foo/cookie /tmp/tmp.RGAbDWa2JZ/bar/cookie || die > tar -C /tmp/tmp.MqYEj6jzYs -xf /tmp/tmp.MqYEj6jzYs/dir_archive_bar.tar.gz || die > diff /tmp/tmp.MqYEj6jzYs/bar/cookie /tmp/tmp.RGAbDWa2JZ/bar/cookie || die > tar -C /tmp/tmp.MqYEj6jzYs -xf /tmp/tmp.MqYEj6jzYs/cwd_pack_nodirname.tar.gz || die > diff /tmp/tmp.MqYEj6jzYs/test-foo/cookie /tmp/tmp.RGAbDWa2JZ/foo/cookie || die > tar -C /tmp/tmp.MqYEj6jzYs -xf /tmp/tmp.MqYEj6jzYs/cwd_archive_nodirname.tar.gz || die > diff /tmp/tmp.MqYEj6jzYs/test-foo/cookie /tmp/tmp.RGAbDWa2JZ/foo/cookie || die > tar -C /tmp/tmp.MqYEj6jzYs -xf /tmp/tmp.MqYEj6jzYs/cwd_pack_foo.tar.gz || die > diff /tmp/tmp.MqYEj6jzYs/foo/cookie /tmp/tmp.RGAbDWa2JZ/foo/cookie || die > tar -C /tmp/tmp.MqYEj6jzYs -xf /tmp/tmp.MqYEj6jzYs/cwd_archive_bar.tar.gz || die > diff /tmp/tmp.MqYEj6jzYs/bar/cookie /tmp/tmp.RGAbDWa2JZ/foo/cookie || die > tar -C /tmp/tmp.MqYEj6jzYs -xf /tmp/tmp.MqYEj6jzYs/baz_pack_nodirname.tar.gz || die > diff /tmp/tmp.MqYEj6jzYs/test-baz/cookie /tmp/tmp.RGAbDWa2JZ/baz/cookie || die > tar -C /tmp/tmp.MqYEj6jzYs -xf /tmp/tmp.MqYEj6jzYs/baz_archive_nodirname.tar.gz || die > diff /tmp/tmp.MqYEj6jzYs/test-baz/cookie /tmp/tmp.RGAbDWa2JZ/baz/cookie || die > tar -C /tmp/tmp.MqYEj6jzYs -xf /tmp/tmp.MqYEj6jzYs/baz_pack_foo.tar.gz || die > diff /tmp/tmp.MqYEj6jzYs/foo/cookie /tmp/tmp.RGAbDWa2JZ/baz/cookie || die > ls /tmp/tmp.MqYEj6jzYs/foo/cookie_ignored 2>/dev/null && die > ls /tmp/tmp.MqYEj6jzYs/foo/cookie_unadded 2>/dev/null && die > tar -C /tmp/tmp.MqYEj6jzYs -xf /tmp/tmp.MqYEj6jzYs/baz_archive_bar.tar.gz || die > diff /tmp/tmp.MqYEj6jzYs/bar/cookie /tmp/tmp.RGAbDWa2JZ/baz/cookie || die > ls /tmp/tmp.MqYEj6jzYs/bar/cookie_ignored 2>/dev/null && die > ls /tmp/tmp.MqYEj6jzYs/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.fxpOHFCg16/.git/ > cat /tmp/tmp.fxpOHFCg16/bar/input | preproc -C /tmp/tmp.fxpOHFCg16/foo -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.fxpOHFCg16/bar' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.Q7zIknSd1d/output | log_filter > /tmp/tmp.Q7zIknSd1d/log > diff /tmp/tmp.zFmmG3gbmJ/output /tmp/tmp.Q7zIknSd1d/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.Q7zIknSd1d/log && die; } > diff log /tmp/tmp.Q7zIknSd1d/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.PveLxPyXNi/.git/ [master (root-commit) e0a2229] 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.PveLxPyXNi/submodule'... done. [master d1bc00f] add submodule 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 submodule > cat /tmp/tmp.PveLxPyXNi/input | preproc -C /tmp/tmp.PveLxPyXNi -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.PveLxPyXNi' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.pRanvBLfPW/output | log_filter > /tmp/tmp.pRanvBLfPW/log > diff /tmp/tmp.HyEnn0qBaS/output /tmp/tmp.pRanvBLfPW/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.pRanvBLfPW/log && die; } > diff log /tmp/tmp.pRanvBLfPW/log || die success. > cat /tmp/tmp.PveLxPyXNi/submodule/input_dir | preproc -C /tmp/tmp.PveLxPyXNi -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.PveLxPyXNi/submodule' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.pRanvBLfPW/output | log_filter > /tmp/tmp.pRanvBLfPW/log > diff /tmp/tmp.HyEnn0qBaS/output_dir /tmp/tmp.pRanvBLfPW/output || { echo 'LOG DIFF:' && diff log_dir /tmp/tmp.pRanvBLfPW/log && die; } > diff log_dir /tmp/tmp.pRanvBLfPW/log || die success. > cat /tmp/tmp.PveLxPyXNi/submodule/input_cwd | preproc -C /tmp/tmp.PveLxPyXNi/submodule/subdir -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.PveLxPyXNi/submodule' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.pRanvBLfPW/output | log_filter > /tmp/tmp.pRanvBLfPW/log > diff /tmp/tmp.HyEnn0qBaS/output_cwd /tmp/tmp.pRanvBLfPW/output || { echo 'LOG DIFF:' && diff log_cwd /tmp/tmp.pRanvBLfPW/log && die; } > diff log_cwd /tmp/tmp.pRanvBLfPW/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.Ihi65bYgfl/.git/ [master (root-commit) 4cfcb24] 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.Ihi65bYgfl/submodule'... done. [master 597abf2] add submodule 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 submodule > cat /tmp/tmp.Ihi65bYgfl/input_archive | preproc -C /tmp/tmp.Ihi65bYgfl -e OUTDIR=/tmp/tmp.hQKbcpw7gK -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.Ihi65bYgfl' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.hQKbcpw7gK/output | log_filter > /tmp/tmp.hQKbcpw7gK/log > custom_test_archive_clean > tar -C /tmp/tmp.hQKbcpw7gK -xf /tmp/tmp.hQKbcpw7gK/test-597abf26.tar.gz || die > [ -d /tmp/tmp.hQKbcpw7gK/test/submodule/subdir ] && die > tar -C /tmp/tmp.hQKbcpw7gK -xf /tmp/tmp.hQKbcpw7gK/test-submodule-597abf26.tar.gz || die > [ -f /tmp/tmp.hQKbcpw7gK/test-submodule/subdir/cookie ] || die > cat /tmp/tmp.hQKbcpw7gK/test-submodule/subdir/cookie | grep -q 0 || die > tar -C /tmp/tmp.hQKbcpw7gK -xf /tmp/tmp.hQKbcpw7gK/test-submodule-subdir-597abf26.tar.gz || die > [ -f /tmp/tmp.hQKbcpw7gK/test-submodule-subdir/cookie ] || die > cat /tmp/tmp.hQKbcpw7gK/test-submodule-subdir/cookie | grep -q 0 || die success. > cat /tmp/tmp.Ihi65bYgfl/input_pack | preproc -C /tmp/tmp.Ihi65bYgfl -e OUTDIR=/tmp/tmp.hQKbcpw7gK -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.Ihi65bYgfl' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.hQKbcpw7gK/output | log_filter > /tmp/tmp.hQKbcpw7gK/log > custom_test_pack_clean > tar -C /tmp/tmp.hQKbcpw7gK -xf /tmp/tmp.hQKbcpw7gK/test-597abf26.tar.gz || die > [ -f /tmp/tmp.hQKbcpw7gK/test/submodule/subdir ] && die > tar -C /tmp/tmp.hQKbcpw7gK -xf /tmp/tmp.hQKbcpw7gK/test-submodule-597abf26.tar.gz || die > [ -f /tmp/tmp.hQKbcpw7gK/test-submodule/subdir/cookie ] || die > cat /tmp/tmp.hQKbcpw7gK/test-submodule/subdir/cookie | grep -q 0 || die > tar -C /tmp/tmp.hQKbcpw7gK -xf /tmp/tmp.hQKbcpw7gK/test-submodule-subdir-597abf26.tar.gz || die > [ -f /tmp/tmp.hQKbcpw7gK/test-submodule-subdir/cookie ] || die > cat /tmp/tmp.hQKbcpw7gK/test-submodule-subdir/cookie | grep -q 0 || die success. [master 4eeecca] submodule new commit 1 file changed, 1 insertion(+) > cat /tmp/tmp.Ihi65bYgfl/input_archive | preproc -C /tmp/tmp.Ihi65bYgfl -e OUTDIR=/tmp/tmp.hQKbcpw7gK -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.Ihi65bYgfl' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.hQKbcpw7gK/output | log_filter > /tmp/tmp.hQKbcpw7gK/log > custom_test_archive_submodule_new_commit > tar -C /tmp/tmp.hQKbcpw7gK -xf /tmp/tmp.hQKbcpw7gK/test-597abf26.tar.gz || die > [ -d /tmp/tmp.hQKbcpw7gK/test/submodule/subdir ] && die > tar -C /tmp/tmp.hQKbcpw7gK -xf /tmp/tmp.hQKbcpw7gK/test-submodule-597abf26.tar.gz || die > [ -f /tmp/tmp.hQKbcpw7gK/test-submodule/subdir/cookie ] || die > cat /tmp/tmp.hQKbcpw7gK/test-submodule/subdir/cookie | grep -q 0 || die > tar -C /tmp/tmp.hQKbcpw7gK -xf /tmp/tmp.hQKbcpw7gK/test-submodule-subdir-597abf26.tar.gz || die > [ -f /tmp/tmp.hQKbcpw7gK/test-submodule-subdir/cookie ] || die > cat /tmp/tmp.hQKbcpw7gK/test-submodule-subdir/cookie | grep -q 0 || die success. > cat /tmp/tmp.Ihi65bYgfl/input_pack | preproc -C /tmp/tmp.Ihi65bYgfl -e OUTDIR=/tmp/tmp.hQKbcpw7gK -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.Ihi65bYgfl' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.hQKbcpw7gK/output | log_filter > /tmp/tmp.hQKbcpw7gK/log > custom_test_pack_submodule_new_commit > tar -C /tmp/tmp.hQKbcpw7gK -xf /tmp/tmp.hQKbcpw7gK/test-597abf26-dirty.tar.gz || die > [ -d /tmp/tmp.hQKbcpw7gK/test/submodule/subdir ] && die > tar -C /tmp/tmp.hQKbcpw7gK -xf /tmp/tmp.hQKbcpw7gK/test-submodule-597abf26-dirty.tar.gz || die > cat /tmp/tmp.hQKbcpw7gK/test-submodule/subdir/cookie | grep -q 1 || die > tar -C /tmp/tmp.hQKbcpw7gK -xf /tmp/tmp.hQKbcpw7gK/test-submodule-subdir-597abf26.tar.gz || die > cat /tmp/tmp.hQKbcpw7gK/test-submodule-subdir/cookie | grep -q 1 || die success. > cat /tmp/tmp.Ihi65bYgfl/input_archive | preproc -C /tmp/tmp.Ihi65bYgfl -e OUTDIR=/tmp/tmp.hQKbcpw7gK -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.Ihi65bYgfl' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.hQKbcpw7gK/output | log_filter > /tmp/tmp.hQKbcpw7gK/log > custom_test_archive_submodule_dirty > tar -C /tmp/tmp.hQKbcpw7gK -xf /tmp/tmp.hQKbcpw7gK/test-597abf26.tar.gz || die > [ -d /tmp/tmp.hQKbcpw7gK/test/submodule/subdir ] && die > tar -C /tmp/tmp.hQKbcpw7gK -xf /tmp/tmp.hQKbcpw7gK/test-submodule-597abf26.tar.gz || die > [ -f /tmp/tmp.hQKbcpw7gK/test-submodule/subdir/cookie ] || die > cat /tmp/tmp.hQKbcpw7gK/test-submodule/subdir/cookie | grep -q 0 || die > tar -C /tmp/tmp.hQKbcpw7gK -xf /tmp/tmp.hQKbcpw7gK/test-submodule-subdir-597abf26.tar.gz || die > [ -f /tmp/tmp.hQKbcpw7gK/test-submodule-subdir/cookie ] || die > cat /tmp/tmp.hQKbcpw7gK/test-submodule-subdir/cookie | grep -q 0 || die success. > cat /tmp/tmp.Ihi65bYgfl/input_pack | preproc -C /tmp/tmp.Ihi65bYgfl -e OUTDIR=/tmp/tmp.hQKbcpw7gK -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.Ihi65bYgfl' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.hQKbcpw7gK/output | log_filter > /tmp/tmp.hQKbcpw7gK/log > custom_test_pack_submodule_dirty > tar -C /tmp/tmp.hQKbcpw7gK -xf /tmp/tmp.hQKbcpw7gK/test-597abf26-dirty.tar.gz || die > [ -d /tmp/tmp.hQKbcpw7gK/test/submodule/subdir ] && die > tar -C /tmp/tmp.hQKbcpw7gK -xf /tmp/tmp.hQKbcpw7gK/test-submodule-597abf26-dirty.tar.gz || die > cat /tmp/tmp.hQKbcpw7gK/test-submodule/subdir/cookie | grep -q 2 || die > tar -C /tmp/tmp.hQKbcpw7gK -xf /tmp/tmp.hQKbcpw7gK/test-submodule-subdir-597abf26.tar.gz || die > cat /tmp/tmp.hQKbcpw7gK/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.F4gimcG0Bp/.git/ [master (root-commit) 868b866] 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 07d2d35] side branch commit 1 file changed, 1 insertion(+) Switched to branch 'master' > cat /tmp/tmp.F4gimcG0Bp/input | preproc -C /tmp/tmp.F4gimcG0Bp -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.F4gimcG0Bp' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.SyGwoCFS0C/output | log_filter > /tmp/tmp.SyGwoCFS0C/log > diff /tmp/tmp.miIjNEHiBM/output /tmp/tmp.SyGwoCFS0C/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.SyGwoCFS0C/log && die; } > diff log /tmp/tmp.SyGwoCFS0C/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.EDBxvj74YO/.git/ [master (root-commit) 995eb24] inital_commit 2 files changed, 117 insertions(+) create mode 100644 foo/file create mode 100644 input [master 4a6ad91] commit after tag 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 file > cat /tmp/tmp.EDBxvj74YO/input | preproc -C /tmp/tmp.EDBxvj74YO -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.EDBxvj74YO' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.jW3NxA7d8T/output | log_filter > /tmp/tmp.jW3NxA7d8T/log > diff /tmp/tmp.PiWTW13Lhz/output /tmp/tmp.jW3NxA7d8T/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.jW3NxA7d8T/log && die; } > diff log /tmp/tmp.jW3NxA7d8T/log || die success. ====================== test_uninited ====================== > cat /tmp/tmp.DQ9aUn8J5r/input | preproc -C /tmp/tmp.DQ9aUn8J5r -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.DQ9aUn8J5r' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.ilO0BQvDzo/output | log_filter > /tmp/tmp.ilO0BQvDzo/log > diff /tmp/tmp.5UU88ONEgE/output /tmp/tmp.ilO0BQvDzo/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.ilO0BQvDzo/log && die; } > diff log /tmp/tmp.ilO0BQvDzo/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.fBNsY1 + umask 022 + cd /builddir/build/BUILD + cd rpkg-util-macros + LICENSEDIR=/builddir/build/BUILDROOT/rpkg-macros-2.0-1.x86_64/usr/share/licenses/rpkg-macros + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rpkg-macros-2.0-1.x86_64/usr/share/licenses/rpkg-macros + cp -pr LICENSE /builddir/build/BUILDROOT/rpkg-macros-2.0-1.x86_64/usr/share/licenses/rpkg-macros + RPM_EC=0 ++ jobs -p + exit 0 Provides: rpkg-macros = 2.0-1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /bin/bash Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rpkg-macros-2.0-1.x86_64 Wrote: /builddir/build/RPMS/rpkg-macros-2.0-1.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.ODvceW + umask 022 + cd /builddir/build/BUILD + cd rpkg-util-macros + /usr/bin/rm -rf /builddir/build/BUILDROOT/rpkg-macros-2.0-1.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0