Mock Version: 3.3 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target s390x --nodeps /builddir/build/SPECS/rpkg-macros.spec'], chrootPath='/var/lib/mock/rhel+epel-9-s390x-1668272640.808389/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=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.u224gf80:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.u224gf80:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'bde81aa3418b48ff89e834dfc914286e', '-D', '/var/lib/mock/rhel+epel-9-s390x-1668272640.808389/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.u224gf80:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target s390x --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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1658534400 Wrote: /builddir/build/SRPMS/rpkg-macros-2.0-4.el9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target s390x --nodeps /builddir/build/SPECS/rpkg-macros.spec'], chrootPath='/var/lib/mock/rhel+epel-9-s390x-1668272640.808389/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=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.u224gf80:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.u224gf80:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '4b7e02b3e4984501b1812ae1f701a53e', '-D', '/var/lib/mock/rhel+epel-9-s390x-1668272640.808389/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.u224gf80:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target s390x --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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1658534400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.LttX8A + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rpkg-util-macros + /usr/bin/gzip -dc /builddir/build/SOURCES/rpkg-util-macros-28034317.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd rpkg-util-macros + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.VqX5OU + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rpkg-macros-2.0-4.el9.s390x '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rpkg-macros-2.0-4.el9.s390x ++ dirname /builddir/build/BUILDROOT/rpkg-macros-2.0-4.el9.s390x + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rpkg-macros-2.0-4.el9.s390x + cd rpkg-util-macros + install -d /builddir/build/BUILDROOT/rpkg-macros-2.0-4.el9.s390x/usr/lib + install -d /builddir/build/BUILDROOT/rpkg-macros-2.0-4.el9.s390x/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-4.el9.s390x/usr/lib/rpkg.macros.d + install -d /builddir/build/BUILDROOT/rpkg-macros-2.0-4.el9.s390x/usr/bin + install -p -m 755 bin/pack_sources /builddir/build/BUILDROOT/rpkg-macros-2.0-4.el9.s390x/usr/bin/pack_sources + install -d /builddir/build/BUILDROOT/rpkg-macros-2.0-4.el9.s390x/usr/share/man/man1 + install -p -m 644 man/rpkg-macros.1 /builddir/build/BUILDROOT/rpkg-macros-2.0-4.el9.s390x//usr/share/man/man1/ + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 2.0-4.el9 --unique-debug-suffix -2.0-4.el9.s390x --unique-debug-src-base rpkg-macros-2.0-4.el9.s390x --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/rpkg-util-macros find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/bin/pack_sources from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib/rpkg.macros.d/helpers/git_submodule_refs from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib/rpkg.macros.d/helpers/git_status from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib/rpkg.macros.d/helpers/git_root from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib/rpkg.macros.d/helpers/git_remote_url from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib/rpkg.macros.d/helpers/git_remote from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib/rpkg.macros.d/helpers/git_merged_tag_refs from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib/rpkg.macros.d/helpers/git_head_short from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib/rpkg.macros.d/helpers/git_head from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib/rpkg.macros.d/helpers/git_branch from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib/rpkg.macros.d/helpers/git from /bin/bash to #!/usr/bin/bash Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.xhV1ZU + umask 022 + cd /builddir/build/BUILD + cd rpkg-util-macros + PATH=bin/:/builddir/.local/bin:/builddir/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + tests/run ====================== test_bash ====================== hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m Initialized empty Git repository in /tmp/tmp.GJGe6MdkEs/.git/ > cat /tmp/tmp.GJGe6MdkEs/input | preproc -C /tmp/tmp.GJGe6MdkEs -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.GJGe6MdkEs' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.RhzRB4FluJ/output | log_filter > /tmp/tmp.RhzRB4FluJ/log > diff /tmp/tmp.LqLazfQfCK/output /tmp/tmp.RhzRB4FluJ/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.RhzRB4FluJ/log && die; } > diff log /tmp/tmp.RhzRB4FluJ/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.mJT4ETTbZ3/.git/ [master (root-commit) dd35f4f] commit 1 1 file changed, 117 insertions(+) create mode 100644 input [master 182dc08] commit 2 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 foo/file [master 9de93b4] commit 3 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 bar/file > cat /tmp/tmp.mJT4ETTbZ3/input | preproc -C /tmp/tmp.mJT4ETTbZ3 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.mJT4ETTbZ3' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.6swErAtdKY/output | log_filter > /tmp/tmp.6swErAtdKY/log > diff /tmp/tmp.udwnGgAdW3/output /tmp/tmp.6swErAtdKY/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.6swErAtdKY/log && die; } > diff log /tmp/tmp.6swErAtdKY/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.q8C7xNmyz6/.git/ [master (root-commit) fca68ba] inital_commit 2 files changed, 117 insertions(+) create mode 100644 foo/file create mode 100644 input > cat /tmp/tmp.q8C7xNmyz6/input | preproc -C /tmp/tmp.q8C7xNmyz6 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.q8C7xNmyz6' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.rHhmJt0QMk/output | log_filter > /tmp/tmp.rHhmJt0QMk/log > diff /tmp/tmp.FhBR2xUnXB/output /tmp/tmp.rHhmJt0QMk/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.rHhmJt0QMk/log && die; } > diff log /tmp/tmp.rHhmJt0QMk/log || die success. ====================== test_fn_bumped_version ====================== > cat /tmp/tmp.ZcTeILH5P8/input | preproc -C /tmp/tmp.ZcTeILH5P8 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.ZcTeILH5P8' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.Ozp6yZVMz9/output | log_filter > /tmp/tmp.Ozp6yZVMz9/log > diff /tmp/tmp.HGVeevEOBY/output /tmp/tmp.Ozp6yZVMz9/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.Ozp6yZVMz9/log && die; } > diff log /tmp/tmp.Ozp6yZVMz9/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.WHHiNbdM5w/.git/ [master (root-commit) 3d1fa2a] add subdir with file 2 files changed, 6 insertions(+) create mode 100644 input create mode 100644 subdir/file Cloning into '/tmp/tmp.WHHiNbdM5w/submodule'... done. [master 3eefefc] add submodule 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 submodule > cat /tmp/tmp.WHHiNbdM5w/input | preproc -C /tmp/tmp.WHHiNbdM5w -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.WHHiNbdM5w' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.pm9dJ3NDxD/output | log_filter > /tmp/tmp.pm9dJ3NDxD/log > diff /tmp/tmp.cWAd0uHv99/output /tmp/tmp.pm9dJ3NDxD/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.pm9dJ3NDxD/log && die; } > diff log /tmp/tmp.pm9dJ3NDxD/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.dodXFAIH71/.git/ > cat /tmp/tmp.dodXFAIH71/input | preproc -C /tmp/tmp.dodXFAIH71 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.dodXFAIH71' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.l7vFkM6rZn/output | log_filter > /tmp/tmp.l7vFkM6rZn/log > diff /tmp/tmp.6EMF3ccC2H/output /tmp/tmp.l7vFkM6rZn/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.l7vFkM6rZn/log && die; } > diff log /tmp/tmp.l7vFkM6rZn/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.i7NohPKV5j/.git/ > cat /tmp/tmp.i7NohPKV5j/input | preproc -C /tmp/tmp.i7NohPKV5j -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.i7NohPKV5j' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.QmurFWodKr/output | log_filter > /tmp/tmp.QmurFWodKr/log > diff /tmp/tmp.bv2lyauCNG/output /tmp/tmp.QmurFWodKr/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.QmurFWodKr/log && die; } > diff log /tmp/tmp.QmurFWodKr/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.Qj8RJnT6xk/.git/ [master (root-commit) 344c03f] hello world 3 files changed, 3 insertions(+) create mode 100644 cookie create mode 100644 foo/cookie create mode 100644 input > cat /tmp/tmp.Qj8RJnT6xk/input | preproc -C /tmp/tmp.Qj8RJnT6xk -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.Qj8RJnT6xk' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.w6qYav0sSM/output | log_filter > /tmp/tmp.w6qYav0sSM/log > diff /tmp/tmp.im8LqdR0BB/output_clean /tmp/tmp.w6qYav0sSM/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.w6qYav0sSM/log && die; } > diff log /tmp/tmp.w6qYav0sSM/log || die success. > cat /tmp/tmp.Qj8RJnT6xk/input | preproc -C /tmp/tmp.Qj8RJnT6xk -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.Qj8RJnT6xk' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.w6qYav0sSM/output | log_filter > /tmp/tmp.w6qYav0sSM/log > diff /tmp/tmp.im8LqdR0BB/output_dirty /tmp/tmp.w6qYav0sSM/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.w6qYav0sSM/log && die; } > diff log /tmp/tmp.w6qYav0sSM/log || die success. Updated 1 path from the index > cat /tmp/tmp.Qj8RJnT6xk/input | preproc -C /tmp/tmp.Qj8RJnT6xk -e GIT_DIRTY=1 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.Qj8RJnT6xk' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.w6qYav0sSM/output | log_filter > /tmp/tmp.w6qYav0sSM/log > diff /tmp/tmp.im8LqdR0BB/output_dirty_manual /tmp/tmp.w6qYav0sSM/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.w6qYav0sSM/log && die; } > diff log /tmp/tmp.w6qYav0sSM/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.xIqJdCfvLw/.git/ > cat /tmp/tmp.xIqJdCfvLw/input | preproc -C /tmp/tmp.xIqJdCfvLw -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.xIqJdCfvLw' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.4ciannClhQ/output | log_filter > /tmp/tmp.4ciannClhQ/log > diff /tmp/tmp.6QO7yEy8pz/output /tmp/tmp.4ciannClhQ/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.4ciannClhQ/log && die; } > diff log /tmp/tmp.4ciannClhQ/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.IGL6eFm7DS/.git/ > cat /tmp/tmp.IGL6eFm7DS/input | preproc -C /tmp/tmp.IGL6eFm7DS -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.IGL6eFm7DS' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.UR6tsyS4aZ/output | log_filter > /tmp/tmp.UR6tsyS4aZ/log > diff /tmp/tmp.Q0SSAmS0iB/output /tmp/tmp.UR6tsyS4aZ/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.UR6tsyS4aZ/log && die; } > diff log /tmp/tmp.UR6tsyS4aZ/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.vY3JZYWss9/.git/ > cat /tmp/tmp.vY3JZYWss9/input | preproc -C /tmp/tmp.vY3JZYWss9 -e OUTDIR=/tmp/tmp.eneLyT04F7 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.vY3JZYWss9' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.eneLyT04F7/output | log_filter > /tmp/tmp.eneLyT04F7/log > diff /tmp/tmp.HyW7642kBa/output /tmp/tmp.eneLyT04F7/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.eneLyT04F7/log && die; } > diff log /tmp/tmp.eneLyT04F7/log || die > custom_test > tar -C /tmp/tmp.eneLyT04F7 -xf /tmp/tmp.eneLyT04F7/foo.tar.gz || die > diff /tmp/tmp.eneLyT04F7/foo/cookie /tmp/tmp.vY3JZYWss9/cookie || die > ls /tmp/tmp.eneLyT04F7/foo/cookie_ignored 2>/dev/null && die > ls /tmp/tmp.eneLyT04F7/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.K6hJBQv96I/.git/ [master (root-commit) aa7dfce] commit 1 2 files changed, 3 insertions(+) create mode 100644 cookie create mode 100644 input > cat /tmp/tmp.K6hJBQv96I/input | preproc -C /tmp/tmp.K6hJBQv96I -e OUTDIR=/tmp/tmp.jlKCmrZ2Rc -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.K6hJBQv96I' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.jlKCmrZ2Rc/output | log_filter > /tmp/tmp.jlKCmrZ2Rc/log > diff /tmp/tmp.zGXg2Z2hFz/output /tmp/tmp.jlKCmrZ2Rc/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.jlKCmrZ2Rc/log && die; } > diff log /tmp/tmp.jlKCmrZ2Rc/log || die > custom_test > tar -C /tmp/tmp.jlKCmrZ2Rc -xf /tmp/tmp.jlKCmrZ2Rc/foo.tar.gz || die > diff /tmp/tmp.jlKCmrZ2Rc/foo/cookie /tmp/tmp.K6hJBQv96I/cookie || die > [ 'aa7dfceda8412da1425abb60bcd2563bfae738c1' = 'aa7dfceda8412da1425abb60bcd2563bfae738c1' ] || die > tar -C /tmp/tmp.jlKCmrZ2Rc -xf /tmp/tmp.jlKCmrZ2Rc/bar.tar.gz || die > diff /tmp/tmp.jlKCmrZ2Rc/bar/cookie /tmp/tmp.K6hJBQv96I/cookie || die > [ 'aa7dfceda8412da1425abb60bcd2563bfae738c1' = 'aa7dfceda8412da1425abb60bcd2563bfae738c1' ] || die success. > cat /tmp/tmp.K6hJBQv96I/input | preproc -C /tmp/tmp.K6hJBQv96I -e OUTDIR=/tmp/tmp.jlKCmrZ2Rc -e GIT_STATUS=somestatus -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.K6hJBQv96I' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.jlKCmrZ2Rc/output | log_filter > /tmp/tmp.jlKCmrZ2Rc/log > test_nonempty_git_status > tar -C /tmp/tmp.jlKCmrZ2Rc -xf /tmp/tmp.jlKCmrZ2Rc/foo.tar.gz || die > diff /tmp/tmp.jlKCmrZ2Rc/foo/cookie /tmp/tmp.K6hJBQv96I/cookie || die > [ 'aa7dfceda8412da1425abb60bcd2563bfae738c1' = '' ] && die > tar -C /tmp/tmp.jlKCmrZ2Rc -xf /tmp/tmp.jlKCmrZ2Rc/bar.tar.gz || die > diff /tmp/tmp.jlKCmrZ2Rc/bar/cookie /tmp/tmp.K6hJBQv96I/cookie || die > [ 'aa7dfceda8412da1425abb60bcd2563bfae738c1' = 'aa7dfceda8412da1425abb60bcd2563bfae738c1' ] || die success. > cat /tmp/tmp.K6hJBQv96I/input | preproc -C /tmp/tmp.K6hJBQv96I -e OUTDIR=/tmp/tmp.jlKCmrZ2Rc -e GIT_HEAD=somehead -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.K6hJBQv96I' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.jlKCmrZ2Rc/output | log_filter > /tmp/tmp.jlKCmrZ2Rc/log > test_invalid_git_head > [ -f '/tmp/tmp.jlKCmrZ2Rc/foo.tar.gz' ] && die > [ -f '/tmp/tmp.jlKCmrZ2Rc/bar.tar.gz' ] && die success. > cat /tmp/tmp.K6hJBQv96I/input | preproc -C /tmp/tmp.K6hJBQv96I -e OUTDIR=/tmp/tmp.jlKCmrZ2Rc -e GIT_HEAD= -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.K6hJBQv96I' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.jlKCmrZ2Rc/output | log_filter > /tmp/tmp.jlKCmrZ2Rc/log > test_empty_git_head > tar -C /tmp/tmp.jlKCmrZ2Rc -xf /tmp/tmp.jlKCmrZ2Rc/foo.tar.gz || die > diff /tmp/tmp.jlKCmrZ2Rc/foo/cookie /tmp/tmp.K6hJBQv96I/cookie || die > [ 'aa7dfceda8412da1425abb60bcd2563bfae738c1' = '' ] && die > [ -f '/tmp/tmp.jlKCmrZ2Rc/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.FDv0DuLxJm/.git/ [master (root-commit) be83deb] commit 1 2 files changed, 3 insertions(+) create mode 100644 cookie create mode 100644 input > cat /tmp/tmp.FDv0DuLxJm/input | preproc -C /tmp/tmp.FDv0DuLxJm -e OUTDIR=/tmp/tmp.DHPDNWkT0c -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.FDv0DuLxJm' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.DHPDNWkT0c/output | log_filter > /tmp/tmp.DHPDNWkT0c/log > diff /tmp/tmp.fVNOHDeyqc/output /tmp/tmp.DHPDNWkT0c/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.DHPDNWkT0c/log && die; } > diff log /tmp/tmp.DHPDNWkT0c/log || die > custom_test > tar -C /tmp/tmp.DHPDNWkT0c -xf /tmp/tmp.DHPDNWkT0c/foo.tar.gz || die > diff /tmp/tmp.DHPDNWkT0c/foo/cookie /tmp/tmp.FDv0DuLxJm/cookie || die > [ 'be83deb56d2e9b3bcf11bcc441b06bd3209817bb' = '' ] && die > tar -C /tmp/tmp.DHPDNWkT0c -xf /tmp/tmp.DHPDNWkT0c/bar.tar.gz || die > diff /tmp/tmp.DHPDNWkT0c/bar/cookie /tmp/tmp.FDv0DuLxJm/cookie >/dev/null && die > [ 'be83deb56d2e9b3bcf11bcc441b06bd3209817bb' = 'be83deb56d2e9b3bcf11bcc441b06bd3209817bb' ] || 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.47dVbsJ4gB/.git/ [master (root-commit) 18b21d5] 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.47dVbsJ4gB/bar/input | preproc -C /tmp/tmp.47dVbsJ4gB/foo -e OUTDIR=/tmp/tmp.jpsIhnmFFX -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.47dVbsJ4gB/bar' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.jpsIhnmFFX/output | log_filter > /tmp/tmp.jpsIhnmFFX/log > diff /tmp/tmp.xxqviBWdvx/output /tmp/tmp.jpsIhnmFFX/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.jpsIhnmFFX/log && die; } > diff log /tmp/tmp.jpsIhnmFFX/log || die > custom_test > tar -C /tmp/tmp.jpsIhnmFFX -xf /tmp/tmp.jpsIhnmFFX/dir_pack_nodirname.tar.gz || die > diff /tmp/tmp.jpsIhnmFFX/test-bar/cookie /tmp/tmp.47dVbsJ4gB/bar/cookie || die > tar -C /tmp/tmp.jpsIhnmFFX -xf /tmp/tmp.jpsIhnmFFX/dir_archive_nodirname.tar.gz || die > diff /tmp/tmp.jpsIhnmFFX/test-bar/cookie /tmp/tmp.47dVbsJ4gB/bar/cookie || die > tar -C /tmp/tmp.jpsIhnmFFX -xf /tmp/tmp.jpsIhnmFFX/dir_pack_foo.tar.gz || die > diff /tmp/tmp.jpsIhnmFFX/foo/cookie /tmp/tmp.47dVbsJ4gB/bar/cookie || die > tar -C /tmp/tmp.jpsIhnmFFX -xf /tmp/tmp.jpsIhnmFFX/dir_archive_bar.tar.gz || die > diff /tmp/tmp.jpsIhnmFFX/bar/cookie /tmp/tmp.47dVbsJ4gB/bar/cookie || die > tar -C /tmp/tmp.jpsIhnmFFX -xf /tmp/tmp.jpsIhnmFFX/cwd_pack_nodirname.tar.gz || die > diff /tmp/tmp.jpsIhnmFFX/test-foo/cookie /tmp/tmp.47dVbsJ4gB/foo/cookie || die > tar -C /tmp/tmp.jpsIhnmFFX -xf /tmp/tmp.jpsIhnmFFX/cwd_archive_nodirname.tar.gz || die > diff /tmp/tmp.jpsIhnmFFX/test-foo/cookie /tmp/tmp.47dVbsJ4gB/foo/cookie || die > tar -C /tmp/tmp.jpsIhnmFFX -xf /tmp/tmp.jpsIhnmFFX/cwd_pack_foo.tar.gz || die > diff /tmp/tmp.jpsIhnmFFX/foo/cookie /tmp/tmp.47dVbsJ4gB/foo/cookie || die > tar -C /tmp/tmp.jpsIhnmFFX -xf /tmp/tmp.jpsIhnmFFX/cwd_archive_bar.tar.gz || die > diff /tmp/tmp.jpsIhnmFFX/bar/cookie /tmp/tmp.47dVbsJ4gB/foo/cookie || die > tar -C /tmp/tmp.jpsIhnmFFX -xf /tmp/tmp.jpsIhnmFFX/baz_pack_nodirname.tar.gz || die > diff /tmp/tmp.jpsIhnmFFX/test-baz/cookie /tmp/tmp.47dVbsJ4gB/baz/cookie || die > tar -C /tmp/tmp.jpsIhnmFFX -xf /tmp/tmp.jpsIhnmFFX/baz_archive_nodirname.tar.gz || die > diff /tmp/tmp.jpsIhnmFFX/test-baz/cookie /tmp/tmp.47dVbsJ4gB/baz/cookie || die > tar -C /tmp/tmp.jpsIhnmFFX -xf /tmp/tmp.jpsIhnmFFX/baz_pack_foo.tar.gz || die > diff /tmp/tmp.jpsIhnmFFX/foo/cookie /tmp/tmp.47dVbsJ4gB/baz/cookie || die > ls /tmp/tmp.jpsIhnmFFX/foo/cookie_ignored 2>/dev/null && die > ls /tmp/tmp.jpsIhnmFFX/foo/cookie_unadded 2>/dev/null && die > tar -C /tmp/tmp.jpsIhnmFFX -xf /tmp/tmp.jpsIhnmFFX/baz_archive_bar.tar.gz || die > diff /tmp/tmp.jpsIhnmFFX/bar/cookie /tmp/tmp.47dVbsJ4gB/baz/cookie || die > ls /tmp/tmp.jpsIhnmFFX/bar/cookie_ignored 2>/dev/null && die > ls /tmp/tmp.jpsIhnmFFX/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.ChD3medunQ/.git/ > cat /tmp/tmp.ChD3medunQ/bar/input | preproc -C /tmp/tmp.ChD3medunQ/foo -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.ChD3medunQ/bar' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.Q1aBbRjNfg/output | log_filter > /tmp/tmp.Q1aBbRjNfg/log > diff /tmp/tmp.0634b4an0Y/output /tmp/tmp.Q1aBbRjNfg/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.Q1aBbRjNfg/log && die; } > diff log /tmp/tmp.Q1aBbRjNfg/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.VQynBh32Zd/.git/ [master (root-commit) b46fd9f] 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.VQynBh32Zd/submodule'... done. [master 8419b17] add submodule 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 submodule > cat /tmp/tmp.VQynBh32Zd/input | preproc -C /tmp/tmp.VQynBh32Zd -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.VQynBh32Zd' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.oouRrIFnKZ/output | log_filter > /tmp/tmp.oouRrIFnKZ/log > diff /tmp/tmp.3E47TMNCEU/output /tmp/tmp.oouRrIFnKZ/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.oouRrIFnKZ/log && die; } > diff log /tmp/tmp.oouRrIFnKZ/log || die success. > cat /tmp/tmp.VQynBh32Zd/submodule/input_dir | preproc -C /tmp/tmp.VQynBh32Zd -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.VQynBh32Zd/submodule' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.oouRrIFnKZ/output | log_filter > /tmp/tmp.oouRrIFnKZ/log > diff /tmp/tmp.3E47TMNCEU/output_dir /tmp/tmp.oouRrIFnKZ/output || { echo 'LOG DIFF:' && diff log_dir /tmp/tmp.oouRrIFnKZ/log && die; } > diff log_dir /tmp/tmp.oouRrIFnKZ/log || die success. > cat /tmp/tmp.VQynBh32Zd/submodule/input_cwd | preproc -C /tmp/tmp.VQynBh32Zd/submodule/subdir -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.VQynBh32Zd/submodule' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.oouRrIFnKZ/output | log_filter > /tmp/tmp.oouRrIFnKZ/log > diff /tmp/tmp.3E47TMNCEU/output_cwd /tmp/tmp.oouRrIFnKZ/output || { echo 'LOG DIFF:' && diff log_cwd /tmp/tmp.oouRrIFnKZ/log && die; } > diff log_cwd /tmp/tmp.oouRrIFnKZ/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.PaohOhZpqL/.git/ [master (root-commit) d227cef] 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.PaohOhZpqL/submodule'... done. [master 79c6dab] add submodule 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 submodule > cat /tmp/tmp.PaohOhZpqL/input_archive | preproc -C /tmp/tmp.PaohOhZpqL -e OUTDIR=/tmp/tmp.c0mVmS1jOn -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.PaohOhZpqL' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.c0mVmS1jOn/output | log_filter > /tmp/tmp.c0mVmS1jOn/log > custom_test_archive_clean > tar -C /tmp/tmp.c0mVmS1jOn -xf /tmp/tmp.c0mVmS1jOn/test-79c6dab6.tar.gz || die > [ -d /tmp/tmp.c0mVmS1jOn/test/submodule/subdir ] && die > tar -C /tmp/tmp.c0mVmS1jOn -xf /tmp/tmp.c0mVmS1jOn/test-submodule-79c6dab6.tar.gz || die > [ -f /tmp/tmp.c0mVmS1jOn/test-submodule/subdir/cookie ] || die > cat /tmp/tmp.c0mVmS1jOn/test-submodule/subdir/cookie | grep -q 0 || die > tar -C /tmp/tmp.c0mVmS1jOn -xf /tmp/tmp.c0mVmS1jOn/test-submodule-subdir-79c6dab6.tar.gz || die > [ -f /tmp/tmp.c0mVmS1jOn/test-submodule-subdir/cookie ] || die > cat /tmp/tmp.c0mVmS1jOn/test-submodule-subdir/cookie | grep -q 0 || die success. > cat /tmp/tmp.PaohOhZpqL/input_pack | preproc -C /tmp/tmp.PaohOhZpqL -e OUTDIR=/tmp/tmp.c0mVmS1jOn -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.PaohOhZpqL' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.c0mVmS1jOn/output | log_filter > /tmp/tmp.c0mVmS1jOn/log > custom_test_pack_clean > tar -C /tmp/tmp.c0mVmS1jOn -xf /tmp/tmp.c0mVmS1jOn/test-79c6dab6.tar.gz || die > [ -f /tmp/tmp.c0mVmS1jOn/test/submodule/subdir ] && die > tar -C /tmp/tmp.c0mVmS1jOn -xf /tmp/tmp.c0mVmS1jOn/test-submodule-79c6dab6.tar.gz || die > [ -f /tmp/tmp.c0mVmS1jOn/test-submodule/subdir/cookie ] || die > cat /tmp/tmp.c0mVmS1jOn/test-submodule/subdir/cookie | grep -q 0 || die > tar -C /tmp/tmp.c0mVmS1jOn -xf /tmp/tmp.c0mVmS1jOn/test-submodule-subdir-79c6dab6.tar.gz || die > [ -f /tmp/tmp.c0mVmS1jOn/test-submodule-subdir/cookie ] || die > cat /tmp/tmp.c0mVmS1jOn/test-submodule-subdir/cookie | grep -q 0 || die success. [master bb4656c] submodule new commit 1 file changed, 1 insertion(+) > cat /tmp/tmp.PaohOhZpqL/input_archive | preproc -C /tmp/tmp.PaohOhZpqL -e OUTDIR=/tmp/tmp.c0mVmS1jOn -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.PaohOhZpqL' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.c0mVmS1jOn/output | log_filter > /tmp/tmp.c0mVmS1jOn/log > custom_test_archive_submodule_new_commit > tar -C /tmp/tmp.c0mVmS1jOn -xf /tmp/tmp.c0mVmS1jOn/test-79c6dab6.tar.gz || die > [ -d /tmp/tmp.c0mVmS1jOn/test/submodule/subdir ] && die > tar -C /tmp/tmp.c0mVmS1jOn -xf /tmp/tmp.c0mVmS1jOn/test-submodule-79c6dab6.tar.gz || die > [ -f /tmp/tmp.c0mVmS1jOn/test-submodule/subdir/cookie ] || die > cat /tmp/tmp.c0mVmS1jOn/test-submodule/subdir/cookie | grep -q 0 || die > tar -C /tmp/tmp.c0mVmS1jOn -xf /tmp/tmp.c0mVmS1jOn/test-submodule-subdir-79c6dab6.tar.gz || die > [ -f /tmp/tmp.c0mVmS1jOn/test-submodule-subdir/cookie ] || die > cat /tmp/tmp.c0mVmS1jOn/test-submodule-subdir/cookie | grep -q 0 || die success. > cat /tmp/tmp.PaohOhZpqL/input_pack | preproc -C /tmp/tmp.PaohOhZpqL -e OUTDIR=/tmp/tmp.c0mVmS1jOn -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.PaohOhZpqL' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.c0mVmS1jOn/output | log_filter > /tmp/tmp.c0mVmS1jOn/log > custom_test_pack_submodule_new_commit > tar -C /tmp/tmp.c0mVmS1jOn -xf /tmp/tmp.c0mVmS1jOn/test-79c6dab6-dirty.tar.gz || die > [ -d /tmp/tmp.c0mVmS1jOn/test/submodule/subdir ] && die > tar -C /tmp/tmp.c0mVmS1jOn -xf /tmp/tmp.c0mVmS1jOn/test-submodule-79c6dab6-dirty.tar.gz || die > cat /tmp/tmp.c0mVmS1jOn/test-submodule/subdir/cookie | grep -q 1 || die > tar -C /tmp/tmp.c0mVmS1jOn -xf /tmp/tmp.c0mVmS1jOn/test-submodule-subdir-79c6dab6.tar.gz || die > cat /tmp/tmp.c0mVmS1jOn/test-submodule-subdir/cookie | grep -q 1 || die success. > cat /tmp/tmp.PaohOhZpqL/input_archive | preproc -C /tmp/tmp.PaohOhZpqL -e OUTDIR=/tmp/tmp.c0mVmS1jOn -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.PaohOhZpqL' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.c0mVmS1jOn/output | log_filter > /tmp/tmp.c0mVmS1jOn/log > custom_test_archive_submodule_dirty > tar -C /tmp/tmp.c0mVmS1jOn -xf /tmp/tmp.c0mVmS1jOn/test-79c6dab6.tar.gz || die > [ -d /tmp/tmp.c0mVmS1jOn/test/submodule/subdir ] && die > tar -C /tmp/tmp.c0mVmS1jOn -xf /tmp/tmp.c0mVmS1jOn/test-submodule-79c6dab6.tar.gz || die > [ -f /tmp/tmp.c0mVmS1jOn/test-submodule/subdir/cookie ] || die > cat /tmp/tmp.c0mVmS1jOn/test-submodule/subdir/cookie | grep -q 0 || die > tar -C /tmp/tmp.c0mVmS1jOn -xf /tmp/tmp.c0mVmS1jOn/test-submodule-subdir-79c6dab6.tar.gz || die > [ -f /tmp/tmp.c0mVmS1jOn/test-submodule-subdir/cookie ] || die > cat /tmp/tmp.c0mVmS1jOn/test-submodule-subdir/cookie | grep -q 0 || die success. > cat /tmp/tmp.PaohOhZpqL/input_pack | preproc -C /tmp/tmp.PaohOhZpqL -e OUTDIR=/tmp/tmp.c0mVmS1jOn -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.PaohOhZpqL' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.c0mVmS1jOn/output | log_filter > /tmp/tmp.c0mVmS1jOn/log > custom_test_pack_submodule_dirty > tar -C /tmp/tmp.c0mVmS1jOn -xf /tmp/tmp.c0mVmS1jOn/test-79c6dab6-dirty.tar.gz || die > [ -d /tmp/tmp.c0mVmS1jOn/test/submodule/subdir ] && die > tar -C /tmp/tmp.c0mVmS1jOn -xf /tmp/tmp.c0mVmS1jOn/test-submodule-79c6dab6-dirty.tar.gz || die > cat /tmp/tmp.c0mVmS1jOn/test-submodule/subdir/cookie | grep -q 2 || die > tar -C /tmp/tmp.c0mVmS1jOn -xf /tmp/tmp.c0mVmS1jOn/test-submodule-subdir-79c6dab6.tar.gz || die > cat /tmp/tmp.c0mVmS1jOn/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.Y7Su6m3Jjz/.git/ [master (root-commit) 132edea] 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 d14bd96] side branch commit 1 file changed, 1 insertion(+) Switched to branch 'master' > cat /tmp/tmp.Y7Su6m3Jjz/input | preproc -C /tmp/tmp.Y7Su6m3Jjz -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.Y7Su6m3Jjz' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.vNciG569Cn/output | log_filter > /tmp/tmp.vNciG569Cn/log > diff /tmp/tmp.aiJk95j6yX/output /tmp/tmp.vNciG569Cn/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.vNciG569Cn/log && die; } > diff log /tmp/tmp.vNciG569Cn/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.sasyH6L2QE/.git/ [master (root-commit) 742f15f] inital_commit 2 files changed, 117 insertions(+) create mode 100644 foo/file create mode 100644 input [master b02c04d] commit after tag 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 file > cat /tmp/tmp.sasyH6L2QE/input | preproc -C /tmp/tmp.sasyH6L2QE -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.sasyH6L2QE' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.LyOKZy8DF1/output | log_filter > /tmp/tmp.LyOKZy8DF1/log > diff /tmp/tmp.ZEiu3Tv63u/output /tmp/tmp.LyOKZy8DF1/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.LyOKZy8DF1/log && die; } > diff log /tmp/tmp.LyOKZy8DF1/log || die success. ====================== test_uninited ====================== > cat /tmp/tmp.8TxIs6kNQb/input | preproc -C /tmp/tmp.8TxIs6kNQb -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.8TxIs6kNQb' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.Hit4dbOA8i/output | log_filter > /tmp/tmp.Hit4dbOA8i/log > diff /tmp/tmp.f9fMhvBxJH/output /tmp/tmp.Hit4dbOA8i/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.Hit4dbOA8i/log && die; } > diff log /tmp/tmp.Hit4dbOA8i/log || die success. + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rpkg-macros-2.0-4.el9.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.64Ds8Q + umask 022 + cd /builddir/build/BUILD + cd rpkg-util-macros + LICENSEDIR=/builddir/build/BUILDROOT/rpkg-macros-2.0-4.el9.s390x/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-4.el9.s390x/usr/share/licenses/rpkg-macros + cp -pr LICENSE /builddir/build/BUILDROOT/rpkg-macros-2.0-4.el9.s390x/usr/share/licenses/rpkg-macros + RPM_EC=0 ++ jobs -p + exit 0 Provides: rpkg-macros = 2.0-4.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/bash Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rpkg-macros-2.0-4.el9.s390x Wrote: /builddir/build/RPMS/rpkg-macros-2.0-4.el9.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.wb8p8u + umask 022 + cd /builddir/build/BUILD + cd rpkg-util-macros + /usr/bin/rm -rf /builddir/build/BUILDROOT/rpkg-macros-2.0-4.el9.s390x + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0