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-22.03_LTS_SP1-aarch64-1687747838.830688/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 /etc/profile.d/system-info.sh: line 55: ps: command not found 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-22.03_LTS_SP1-aarch64-1687747838.830688/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 /etc/profile.d/system-info.sh: line 55: ps: command not found 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-22.03_LTS_SP1-aarch64-1687747838.830688/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 /etc/profile.d/system-info.sh: line 55: ps: command not found Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.3Ml57o + 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.wpR4bn + 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.cCiLz4 + 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.upnzdSjGYh/.git/ > cat /tmp/tmp.upnzdSjGYh/input | preproc -C /tmp/tmp.upnzdSjGYh -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.upnzdSjGYh' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.xg4H0scZSu/output | log_filter > /tmp/tmp.xg4H0scZSu/log > diff /tmp/tmp.t0FJkaVOc3/output /tmp/tmp.xg4H0scZSu/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.xg4H0scZSu/log && die; } > diff log /tmp/tmp.xg4H0scZSu/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.RIYjJw08us/.git/ [master (root-commit) 96e12b8] commit 1 1 file changed, 117 insertions(+) create mode 100644 input [master 2a8a073] commit 2 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 foo/file [master 2986c23] commit 3 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 bar/file > cat /tmp/tmp.RIYjJw08us/input | preproc -C /tmp/tmp.RIYjJw08us -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.RIYjJw08us' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.AWTJPOgIQ8/output | log_filter > /tmp/tmp.AWTJPOgIQ8/log > diff /tmp/tmp.zIFoDt7HXH/output /tmp/tmp.AWTJPOgIQ8/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.AWTJPOgIQ8/log && die; } > diff log /tmp/tmp.AWTJPOgIQ8/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.HBVyt01en2/.git/ [master (root-commit) bf498af] inital_commit 2 files changed, 117 insertions(+) create mode 100644 foo/file create mode 100644 input > cat /tmp/tmp.HBVyt01en2/input | preproc -C /tmp/tmp.HBVyt01en2 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.HBVyt01en2' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.MV0SnaBWhD/output | log_filter > /tmp/tmp.MV0SnaBWhD/log > diff /tmp/tmp.93G6kM0EXe/output /tmp/tmp.MV0SnaBWhD/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.MV0SnaBWhD/log && die; } > diff log /tmp/tmp.MV0SnaBWhD/log || die success. ====================== test_fn_bumped_version ====================== > cat /tmp/tmp.YLZGXiUyhF/input | preproc -C /tmp/tmp.YLZGXiUyhF -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.YLZGXiUyhF' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.h8Cg2hp5Wy/output | log_filter > /tmp/tmp.h8Cg2hp5Wy/log > diff /tmp/tmp.SaK9C77RrP/output /tmp/tmp.h8Cg2hp5Wy/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.h8Cg2hp5Wy/log && die; } > diff log /tmp/tmp.h8Cg2hp5Wy/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.vHoBDXOY9n/.git/ [master (root-commit) f34b2a7] add subdir with file 2 files changed, 6 insertions(+) create mode 100644 input create mode 100644 subdir/file Cloning into '/tmp/tmp.vHoBDXOY9n/submodule'... done. [master 3b6869f] add submodule 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 submodule > cat /tmp/tmp.vHoBDXOY9n/input | preproc -C /tmp/tmp.vHoBDXOY9n -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.vHoBDXOY9n' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.My6HkXjUnl/output | log_filter > /tmp/tmp.My6HkXjUnl/log > diff /tmp/tmp.h6BOtnMn2A/output /tmp/tmp.My6HkXjUnl/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.My6HkXjUnl/log && die; } > diff log /tmp/tmp.My6HkXjUnl/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.KqWMlqNKty/.git/ > cat /tmp/tmp.KqWMlqNKty/input | preproc -C /tmp/tmp.KqWMlqNKty -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.KqWMlqNKty' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.F6Uiz0JbeC/output | log_filter > /tmp/tmp.F6Uiz0JbeC/log > diff /tmp/tmp.FIz5B2ejxq/output /tmp/tmp.F6Uiz0JbeC/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.F6Uiz0JbeC/log && die; } > diff log /tmp/tmp.F6Uiz0JbeC/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.AXPYTop6le/.git/ > cat /tmp/tmp.AXPYTop6le/input | preproc -C /tmp/tmp.AXPYTop6le -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.AXPYTop6le' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.iqu6uDgU7c/output | log_filter > /tmp/tmp.iqu6uDgU7c/log > diff /tmp/tmp.3UEHIPbJpB/output /tmp/tmp.iqu6uDgU7c/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.iqu6uDgU7c/log && die; } > diff log /tmp/tmp.iqu6uDgU7c/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.d6xw7atKPR/.git/ [master (root-commit) 964af51] hello world 3 files changed, 3 insertions(+) create mode 100644 cookie create mode 100644 foo/cookie create mode 100644 input > cat /tmp/tmp.d6xw7atKPR/input | preproc -C /tmp/tmp.d6xw7atKPR -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.d6xw7atKPR' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.67noM1Ncgq/output | log_filter > /tmp/tmp.67noM1Ncgq/log > diff /tmp/tmp.RqJVUTbtJy/output_clean /tmp/tmp.67noM1Ncgq/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.67noM1Ncgq/log && die; } > diff log /tmp/tmp.67noM1Ncgq/log || die success. > cat /tmp/tmp.d6xw7atKPR/input | preproc -C /tmp/tmp.d6xw7atKPR -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.d6xw7atKPR' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.67noM1Ncgq/output | log_filter > /tmp/tmp.67noM1Ncgq/log > diff /tmp/tmp.RqJVUTbtJy/output_dirty /tmp/tmp.67noM1Ncgq/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.67noM1Ncgq/log && die; } > diff log /tmp/tmp.67noM1Ncgq/log || die success. Updated 1 path from the index > cat /tmp/tmp.d6xw7atKPR/input | preproc -C /tmp/tmp.d6xw7atKPR -e GIT_DIRTY=1 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.d6xw7atKPR' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.67noM1Ncgq/output | log_filter > /tmp/tmp.67noM1Ncgq/log > diff /tmp/tmp.RqJVUTbtJy/output_dirty_manual /tmp/tmp.67noM1Ncgq/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.67noM1Ncgq/log && die; } > diff log /tmp/tmp.67noM1Ncgq/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.5yPWrQiePP/.git/ > cat /tmp/tmp.5yPWrQiePP/input | preproc -C /tmp/tmp.5yPWrQiePP -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.5yPWrQiePP' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.xKXOJVfi80/output | log_filter > /tmp/tmp.xKXOJVfi80/log > diff /tmp/tmp.Xe6QFo3h1Z/output /tmp/tmp.xKXOJVfi80/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.xKXOJVfi80/log && die; } > diff log /tmp/tmp.xKXOJVfi80/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.j3SKurhjgz/.git/ > cat /tmp/tmp.j3SKurhjgz/input | preproc -C /tmp/tmp.j3SKurhjgz -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.j3SKurhjgz' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.Ez8iJyn8pZ/output | log_filter > /tmp/tmp.Ez8iJyn8pZ/log > diff /tmp/tmp.dzwytbnWrw/output /tmp/tmp.Ez8iJyn8pZ/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.Ez8iJyn8pZ/log && die; } > diff log /tmp/tmp.Ez8iJyn8pZ/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.UNIzyGodI9/.git/ > cat /tmp/tmp.UNIzyGodI9/input | preproc -C /tmp/tmp.UNIzyGodI9 -e OUTDIR=/tmp/tmp.AfEErPRi8v -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.UNIzyGodI9' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.AfEErPRi8v/output | log_filter > /tmp/tmp.AfEErPRi8v/log > diff /tmp/tmp.nEKeyeVzfm/output /tmp/tmp.AfEErPRi8v/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.AfEErPRi8v/log && die; } > diff log /tmp/tmp.AfEErPRi8v/log || die > custom_test > tar -C /tmp/tmp.AfEErPRi8v -xf /tmp/tmp.AfEErPRi8v/foo.tar.gz || die > diff /tmp/tmp.AfEErPRi8v/foo/cookie /tmp/tmp.UNIzyGodI9/cookie || die > ls /tmp/tmp.AfEErPRi8v/foo/cookie_ignored 2>/dev/null && die > ls /tmp/tmp.AfEErPRi8v/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.kcAtNqPSu6/.git/ [master (root-commit) aa80704] commit 1 2 files changed, 3 insertions(+) create mode 100644 cookie create mode 100644 input > cat /tmp/tmp.kcAtNqPSu6/input | preproc -C /tmp/tmp.kcAtNqPSu6 -e OUTDIR=/tmp/tmp.xRhOjPWYj8 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.kcAtNqPSu6' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.xRhOjPWYj8/output | log_filter > /tmp/tmp.xRhOjPWYj8/log > diff /tmp/tmp.7Sf1xr50qO/output /tmp/tmp.xRhOjPWYj8/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.xRhOjPWYj8/log && die; } > diff log /tmp/tmp.xRhOjPWYj8/log || die > custom_test > tar -C /tmp/tmp.xRhOjPWYj8 -xf /tmp/tmp.xRhOjPWYj8/foo.tar.gz || die > diff /tmp/tmp.xRhOjPWYj8/foo/cookie /tmp/tmp.kcAtNqPSu6/cookie || die > [ 'aa807047a48b82f3d4fb750fae7946dfd1e12a3e' = 'aa807047a48b82f3d4fb750fae7946dfd1e12a3e' ] || die > tar -C /tmp/tmp.xRhOjPWYj8 -xf /tmp/tmp.xRhOjPWYj8/bar.tar.gz || die > diff /tmp/tmp.xRhOjPWYj8/bar/cookie /tmp/tmp.kcAtNqPSu6/cookie || die > [ 'aa807047a48b82f3d4fb750fae7946dfd1e12a3e' = 'aa807047a48b82f3d4fb750fae7946dfd1e12a3e' ] || die success. > cat /tmp/tmp.kcAtNqPSu6/input | preproc -C /tmp/tmp.kcAtNqPSu6 -e OUTDIR=/tmp/tmp.xRhOjPWYj8 -e GIT_STATUS=somestatus -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.kcAtNqPSu6' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.xRhOjPWYj8/output | log_filter > /tmp/tmp.xRhOjPWYj8/log > test_nonempty_git_status > tar -C /tmp/tmp.xRhOjPWYj8 -xf /tmp/tmp.xRhOjPWYj8/foo.tar.gz || die > diff /tmp/tmp.xRhOjPWYj8/foo/cookie /tmp/tmp.kcAtNqPSu6/cookie || die > [ 'aa807047a48b82f3d4fb750fae7946dfd1e12a3e' = '' ] && die > tar -C /tmp/tmp.xRhOjPWYj8 -xf /tmp/tmp.xRhOjPWYj8/bar.tar.gz || die > diff /tmp/tmp.xRhOjPWYj8/bar/cookie /tmp/tmp.kcAtNqPSu6/cookie || die > [ 'aa807047a48b82f3d4fb750fae7946dfd1e12a3e' = 'aa807047a48b82f3d4fb750fae7946dfd1e12a3e' ] || die success. > cat /tmp/tmp.kcAtNqPSu6/input | preproc -C /tmp/tmp.kcAtNqPSu6 -e OUTDIR=/tmp/tmp.xRhOjPWYj8 -e GIT_HEAD=somehead -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.kcAtNqPSu6' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.xRhOjPWYj8/output | log_filter > /tmp/tmp.xRhOjPWYj8/log > test_invalid_git_head > [ -f '/tmp/tmp.xRhOjPWYj8/foo.tar.gz' ] && die > [ -f '/tmp/tmp.xRhOjPWYj8/bar.tar.gz' ] && die success. > cat /tmp/tmp.kcAtNqPSu6/input | preproc -C /tmp/tmp.kcAtNqPSu6 -e OUTDIR=/tmp/tmp.xRhOjPWYj8 -e GIT_HEAD= -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.kcAtNqPSu6' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.xRhOjPWYj8/output | log_filter > /tmp/tmp.xRhOjPWYj8/log > test_empty_git_head > tar -C /tmp/tmp.xRhOjPWYj8 -xf /tmp/tmp.xRhOjPWYj8/foo.tar.gz || die > diff /tmp/tmp.xRhOjPWYj8/foo/cookie /tmp/tmp.kcAtNqPSu6/cookie || die > [ 'aa807047a48b82f3d4fb750fae7946dfd1e12a3e' = '' ] && die > [ -f '/tmp/tmp.xRhOjPWYj8/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.FIpl9G2BU1/.git/ [master (root-commit) d7d52e5] commit 1 2 files changed, 3 insertions(+) create mode 100644 cookie create mode 100644 input > cat /tmp/tmp.FIpl9G2BU1/input | preproc -C /tmp/tmp.FIpl9G2BU1 -e OUTDIR=/tmp/tmp.vBO3xnCznr -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.FIpl9G2BU1' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.vBO3xnCznr/output | log_filter > /tmp/tmp.vBO3xnCznr/log > diff /tmp/tmp.FMA72roeiz/output /tmp/tmp.vBO3xnCznr/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.vBO3xnCznr/log && die; } > diff log /tmp/tmp.vBO3xnCznr/log || die > custom_test > tar -C /tmp/tmp.vBO3xnCznr -xf /tmp/tmp.vBO3xnCznr/foo.tar.gz || die > diff /tmp/tmp.vBO3xnCznr/foo/cookie /tmp/tmp.FIpl9G2BU1/cookie || die > [ 'd7d52e5aa6a6cb9babc5285cde76c7ea04b2df93' = '' ] && die > tar -C /tmp/tmp.vBO3xnCznr -xf /tmp/tmp.vBO3xnCznr/bar.tar.gz || die > diff /tmp/tmp.vBO3xnCznr/bar/cookie /tmp/tmp.FIpl9G2BU1/cookie >/dev/null && die > [ 'd7d52e5aa6a6cb9babc5285cde76c7ea04b2df93' = 'd7d52e5aa6a6cb9babc5285cde76c7ea04b2df93' ] || 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.TFCFIojthC/.git/ [master (root-commit) 733c74c] 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.TFCFIojthC/bar/input | preproc -C /tmp/tmp.TFCFIojthC/foo -e OUTDIR=/tmp/tmp.FnQggJiMjo -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.TFCFIojthC/bar' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.FnQggJiMjo/output | log_filter > /tmp/tmp.FnQggJiMjo/log > diff /tmp/tmp.kjdrfTQTYj/output /tmp/tmp.FnQggJiMjo/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.FnQggJiMjo/log && die; } > diff log /tmp/tmp.FnQggJiMjo/log || die > custom_test > tar -C /tmp/tmp.FnQggJiMjo -xf /tmp/tmp.FnQggJiMjo/dir_pack_nodirname.tar.gz || die > diff /tmp/tmp.FnQggJiMjo/test-bar/cookie /tmp/tmp.TFCFIojthC/bar/cookie || die > tar -C /tmp/tmp.FnQggJiMjo -xf /tmp/tmp.FnQggJiMjo/dir_archive_nodirname.tar.gz || die > diff /tmp/tmp.FnQggJiMjo/test-bar/cookie /tmp/tmp.TFCFIojthC/bar/cookie || die > tar -C /tmp/tmp.FnQggJiMjo -xf /tmp/tmp.FnQggJiMjo/dir_pack_foo.tar.gz || die > diff /tmp/tmp.FnQggJiMjo/foo/cookie /tmp/tmp.TFCFIojthC/bar/cookie || die > tar -C /tmp/tmp.FnQggJiMjo -xf /tmp/tmp.FnQggJiMjo/dir_archive_bar.tar.gz || die > diff /tmp/tmp.FnQggJiMjo/bar/cookie /tmp/tmp.TFCFIojthC/bar/cookie || die > tar -C /tmp/tmp.FnQggJiMjo -xf /tmp/tmp.FnQggJiMjo/cwd_pack_nodirname.tar.gz || die > diff /tmp/tmp.FnQggJiMjo/test-foo/cookie /tmp/tmp.TFCFIojthC/foo/cookie || die > tar -C /tmp/tmp.FnQggJiMjo -xf /tmp/tmp.FnQggJiMjo/cwd_archive_nodirname.tar.gz || die > diff /tmp/tmp.FnQggJiMjo/test-foo/cookie /tmp/tmp.TFCFIojthC/foo/cookie || die > tar -C /tmp/tmp.FnQggJiMjo -xf /tmp/tmp.FnQggJiMjo/cwd_pack_foo.tar.gz || die > diff /tmp/tmp.FnQggJiMjo/foo/cookie /tmp/tmp.TFCFIojthC/foo/cookie || die > tar -C /tmp/tmp.FnQggJiMjo -xf /tmp/tmp.FnQggJiMjo/cwd_archive_bar.tar.gz || die > diff /tmp/tmp.FnQggJiMjo/bar/cookie /tmp/tmp.TFCFIojthC/foo/cookie || die > tar -C /tmp/tmp.FnQggJiMjo -xf /tmp/tmp.FnQggJiMjo/baz_pack_nodirname.tar.gz || die > diff /tmp/tmp.FnQggJiMjo/test-baz/cookie /tmp/tmp.TFCFIojthC/baz/cookie || die > tar -C /tmp/tmp.FnQggJiMjo -xf /tmp/tmp.FnQggJiMjo/baz_archive_nodirname.tar.gz || die > diff /tmp/tmp.FnQggJiMjo/test-baz/cookie /tmp/tmp.TFCFIojthC/baz/cookie || die > tar -C /tmp/tmp.FnQggJiMjo -xf /tmp/tmp.FnQggJiMjo/baz_pack_foo.tar.gz || die > diff /tmp/tmp.FnQggJiMjo/foo/cookie /tmp/tmp.TFCFIojthC/baz/cookie || die > ls /tmp/tmp.FnQggJiMjo/foo/cookie_ignored 2>/dev/null && die > ls /tmp/tmp.FnQggJiMjo/foo/cookie_unadded 2>/dev/null && die > tar -C /tmp/tmp.FnQggJiMjo -xf /tmp/tmp.FnQggJiMjo/baz_archive_bar.tar.gz || die > diff /tmp/tmp.FnQggJiMjo/bar/cookie /tmp/tmp.TFCFIojthC/baz/cookie || die > ls /tmp/tmp.FnQggJiMjo/bar/cookie_ignored 2>/dev/null && die > ls /tmp/tmp.FnQggJiMjo/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.bBTmhiX2Oz/.git/ > cat /tmp/tmp.bBTmhiX2Oz/bar/input | preproc -C /tmp/tmp.bBTmhiX2Oz/foo -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.bBTmhiX2Oz/bar' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.9W0eMyT6aX/output | log_filter > /tmp/tmp.9W0eMyT6aX/log > diff /tmp/tmp.rSOp3g61cb/output /tmp/tmp.9W0eMyT6aX/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.9W0eMyT6aX/log && die; } > diff log /tmp/tmp.9W0eMyT6aX/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.hI127vvxcG/.git/ [master (root-commit) 39a7a7e] 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.hI127vvxcG/submodule'... done. [master 3e3fade] add submodule 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 submodule > cat /tmp/tmp.hI127vvxcG/input | preproc -C /tmp/tmp.hI127vvxcG -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.hI127vvxcG' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.x1vDOFjSUH/output | log_filter > /tmp/tmp.x1vDOFjSUH/log > diff /tmp/tmp.ssLsf0cuyg/output /tmp/tmp.x1vDOFjSUH/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.x1vDOFjSUH/log && die; } > diff log /tmp/tmp.x1vDOFjSUH/log || die success. > cat /tmp/tmp.hI127vvxcG/submodule/input_dir | preproc -C /tmp/tmp.hI127vvxcG -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.hI127vvxcG/submodule' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.x1vDOFjSUH/output | log_filter > /tmp/tmp.x1vDOFjSUH/log > diff /tmp/tmp.ssLsf0cuyg/output_dir /tmp/tmp.x1vDOFjSUH/output || { echo 'LOG DIFF:' && diff log_dir /tmp/tmp.x1vDOFjSUH/log && die; } > diff log_dir /tmp/tmp.x1vDOFjSUH/log || die success. > cat /tmp/tmp.hI127vvxcG/submodule/input_cwd | preproc -C /tmp/tmp.hI127vvxcG/submodule/subdir -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.hI127vvxcG/submodule' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.x1vDOFjSUH/output | log_filter > /tmp/tmp.x1vDOFjSUH/log > diff /tmp/tmp.ssLsf0cuyg/output_cwd /tmp/tmp.x1vDOFjSUH/output || { echo 'LOG DIFF:' && diff log_cwd /tmp/tmp.x1vDOFjSUH/log && die; } > diff log_cwd /tmp/tmp.x1vDOFjSUH/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.nMMPWikRKq/.git/ [master (root-commit) 7673b66] 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.nMMPWikRKq/submodule'... done. [master 42b4464] add submodule 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 submodule > cat /tmp/tmp.nMMPWikRKq/input_archive | preproc -C /tmp/tmp.nMMPWikRKq -e OUTDIR=/tmp/tmp.hZ6qhGmFu6 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.nMMPWikRKq' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.hZ6qhGmFu6/output | log_filter > /tmp/tmp.hZ6qhGmFu6/log > custom_test_archive_clean > tar -C /tmp/tmp.hZ6qhGmFu6 -xf /tmp/tmp.hZ6qhGmFu6/test-42b44645.tar.gz || die > [ -d /tmp/tmp.hZ6qhGmFu6/test/submodule/subdir ] && die > tar -C /tmp/tmp.hZ6qhGmFu6 -xf /tmp/tmp.hZ6qhGmFu6/test-submodule-42b44645.tar.gz || die > [ -f /tmp/tmp.hZ6qhGmFu6/test-submodule/subdir/cookie ] || die > cat /tmp/tmp.hZ6qhGmFu6/test-submodule/subdir/cookie | grep -q 0 || die > tar -C /tmp/tmp.hZ6qhGmFu6 -xf /tmp/tmp.hZ6qhGmFu6/test-submodule-subdir-42b44645.tar.gz || die > [ -f /tmp/tmp.hZ6qhGmFu6/test-submodule-subdir/cookie ] || die > cat /tmp/tmp.hZ6qhGmFu6/test-submodule-subdir/cookie | grep -q 0 || die success. > cat /tmp/tmp.nMMPWikRKq/input_pack | preproc -C /tmp/tmp.nMMPWikRKq -e OUTDIR=/tmp/tmp.hZ6qhGmFu6 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.nMMPWikRKq' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.hZ6qhGmFu6/output | log_filter > /tmp/tmp.hZ6qhGmFu6/log > custom_test_pack_clean > tar -C /tmp/tmp.hZ6qhGmFu6 -xf /tmp/tmp.hZ6qhGmFu6/test-42b44645.tar.gz || die > [ -f /tmp/tmp.hZ6qhGmFu6/test/submodule/subdir ] && die > tar -C /tmp/tmp.hZ6qhGmFu6 -xf /tmp/tmp.hZ6qhGmFu6/test-submodule-42b44645.tar.gz || die > [ -f /tmp/tmp.hZ6qhGmFu6/test-submodule/subdir/cookie ] || die > cat /tmp/tmp.hZ6qhGmFu6/test-submodule/subdir/cookie | grep -q 0 || die > tar -C /tmp/tmp.hZ6qhGmFu6 -xf /tmp/tmp.hZ6qhGmFu6/test-submodule-subdir-42b44645.tar.gz || die > [ -f /tmp/tmp.hZ6qhGmFu6/test-submodule-subdir/cookie ] || die > cat /tmp/tmp.hZ6qhGmFu6/test-submodule-subdir/cookie | grep -q 0 || die success. [master 84979e1] submodule new commit 1 file changed, 1 insertion(+) > cat /tmp/tmp.nMMPWikRKq/input_archive | preproc -C /tmp/tmp.nMMPWikRKq -e OUTDIR=/tmp/tmp.hZ6qhGmFu6 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.nMMPWikRKq' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.hZ6qhGmFu6/output | log_filter > /tmp/tmp.hZ6qhGmFu6/log > custom_test_archive_submodule_new_commit > tar -C /tmp/tmp.hZ6qhGmFu6 -xf /tmp/tmp.hZ6qhGmFu6/test-42b44645.tar.gz || die > [ -d /tmp/tmp.hZ6qhGmFu6/test/submodule/subdir ] && die > tar -C /tmp/tmp.hZ6qhGmFu6 -xf /tmp/tmp.hZ6qhGmFu6/test-submodule-42b44645.tar.gz || die > [ -f /tmp/tmp.hZ6qhGmFu6/test-submodule/subdir/cookie ] || die > cat /tmp/tmp.hZ6qhGmFu6/test-submodule/subdir/cookie | grep -q 0 || die > tar -C /tmp/tmp.hZ6qhGmFu6 -xf /tmp/tmp.hZ6qhGmFu6/test-submodule-subdir-42b44645.tar.gz || die > [ -f /tmp/tmp.hZ6qhGmFu6/test-submodule-subdir/cookie ] || die > cat /tmp/tmp.hZ6qhGmFu6/test-submodule-subdir/cookie | grep -q 0 || die success. > cat /tmp/tmp.nMMPWikRKq/input_pack | preproc -C /tmp/tmp.nMMPWikRKq -e OUTDIR=/tmp/tmp.hZ6qhGmFu6 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.nMMPWikRKq' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.hZ6qhGmFu6/output | log_filter > /tmp/tmp.hZ6qhGmFu6/log > custom_test_pack_submodule_new_commit > tar -C /tmp/tmp.hZ6qhGmFu6 -xf /tmp/tmp.hZ6qhGmFu6/test-42b44645-dirty.tar.gz || die > [ -d /tmp/tmp.hZ6qhGmFu6/test/submodule/subdir ] && die > tar -C /tmp/tmp.hZ6qhGmFu6 -xf /tmp/tmp.hZ6qhGmFu6/test-submodule-42b44645-dirty.tar.gz || die > cat /tmp/tmp.hZ6qhGmFu6/test-submodule/subdir/cookie | grep -q 1 || die > tar -C /tmp/tmp.hZ6qhGmFu6 -xf /tmp/tmp.hZ6qhGmFu6/test-submodule-subdir-42b44645.tar.gz || die > cat /tmp/tmp.hZ6qhGmFu6/test-submodule-subdir/cookie | grep -q 1 || die success. > cat /tmp/tmp.nMMPWikRKq/input_archive | preproc -C /tmp/tmp.nMMPWikRKq -e OUTDIR=/tmp/tmp.hZ6qhGmFu6 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.nMMPWikRKq' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.hZ6qhGmFu6/output | log_filter > /tmp/tmp.hZ6qhGmFu6/log > custom_test_archive_submodule_dirty > tar -C /tmp/tmp.hZ6qhGmFu6 -xf /tmp/tmp.hZ6qhGmFu6/test-42b44645.tar.gz || die > [ -d /tmp/tmp.hZ6qhGmFu6/test/submodule/subdir ] && die > tar -C /tmp/tmp.hZ6qhGmFu6 -xf /tmp/tmp.hZ6qhGmFu6/test-submodule-42b44645.tar.gz || die > [ -f /tmp/tmp.hZ6qhGmFu6/test-submodule/subdir/cookie ] || die > cat /tmp/tmp.hZ6qhGmFu6/test-submodule/subdir/cookie | grep -q 0 || die > tar -C /tmp/tmp.hZ6qhGmFu6 -xf /tmp/tmp.hZ6qhGmFu6/test-submodule-subdir-42b44645.tar.gz || die > [ -f /tmp/tmp.hZ6qhGmFu6/test-submodule-subdir/cookie ] || die > cat /tmp/tmp.hZ6qhGmFu6/test-submodule-subdir/cookie | grep -q 0 || die success. > cat /tmp/tmp.nMMPWikRKq/input_pack | preproc -C /tmp/tmp.nMMPWikRKq -e OUTDIR=/tmp/tmp.hZ6qhGmFu6 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.nMMPWikRKq' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.hZ6qhGmFu6/output | log_filter > /tmp/tmp.hZ6qhGmFu6/log > custom_test_pack_submodule_dirty > tar -C /tmp/tmp.hZ6qhGmFu6 -xf /tmp/tmp.hZ6qhGmFu6/test-42b44645-dirty.tar.gz || die > [ -d /tmp/tmp.hZ6qhGmFu6/test/submodule/subdir ] && die > tar -C /tmp/tmp.hZ6qhGmFu6 -xf /tmp/tmp.hZ6qhGmFu6/test-submodule-42b44645-dirty.tar.gz || die > cat /tmp/tmp.hZ6qhGmFu6/test-submodule/subdir/cookie | grep -q 2 || die > tar -C /tmp/tmp.hZ6qhGmFu6 -xf /tmp/tmp.hZ6qhGmFu6/test-submodule-subdir-42b44645.tar.gz || die > cat /tmp/tmp.hZ6qhGmFu6/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.Ds5ZdKDGs3/.git/ [master (root-commit) c7c16f8] 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 4019146] side branch commit 1 file changed, 1 insertion(+) Switched to branch 'master' > cat /tmp/tmp.Ds5ZdKDGs3/input | preproc -C /tmp/tmp.Ds5ZdKDGs3 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.Ds5ZdKDGs3' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.ZE6ukx0NNv/output | log_filter > /tmp/tmp.ZE6ukx0NNv/log > diff /tmp/tmp.QEdmcI7MDr/output /tmp/tmp.ZE6ukx0NNv/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.ZE6ukx0NNv/log && die; } > diff log /tmp/tmp.ZE6ukx0NNv/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.KqYFgqlggo/.git/ [master (root-commit) 0b4de29] inital_commit 2 files changed, 117 insertions(+) create mode 100644 foo/file create mode 100644 input [master 93e955d] commit after tag 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 file > cat /tmp/tmp.KqYFgqlggo/input | preproc -C /tmp/tmp.KqYFgqlggo -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.KqYFgqlggo' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.BaXBhTsaNt/output | log_filter > /tmp/tmp.BaXBhTsaNt/log > diff /tmp/tmp.6nzmoZghBT/output /tmp/tmp.BaXBhTsaNt/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.BaXBhTsaNt/log && die; } > diff log /tmp/tmp.BaXBhTsaNt/log || die success. ====================== test_uninited ====================== > cat /tmp/tmp.7v2JpIppWE/input | preproc -C /tmp/tmp.7v2JpIppWE -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.7v2JpIppWE' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.CsNJ61cAfI/output | log_filter > /tmp/tmp.CsNJ61cAfI/log > diff /tmp/tmp.7xN6HbXJGD/output /tmp/tmp.CsNJ61cAfI/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.CsNJ61cAfI/log && die; } > diff log /tmp/tmp.CsNJ61cAfI/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.nqRQ7j + 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.GVC1vx + 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 Child return code was: 0