Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rpkg-macros.spec'], chrootPath='/var/lib/mock/rhel+epel-8-x86_64-1678143956.674150/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=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.vnx9ui73:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.vnx9ui73:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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', '4e7a963596b841be8295344b18c3bff0', '-D', '/var/lib/mock/rhel+epel-8-x86_64-1678143956.674150/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.vnx9ui73:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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 x86_64 --nodeps /builddir/build/SPECS/rpkg-macros.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/rpkg-macros-2.0.git.67.0afd61f2-1.el8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/rpkg-macros.spec'], chrootPath='/var/lib/mock/rhel+epel-8-x86_64-1678143956.674150/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=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.vnx9ui73:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.vnx9ui73:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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', 'd26cf7a2d8b3466fa6e77bb5318779ef', '-D', '/var/lib/mock/rhel+epel-8-x86_64-1678143956.674150/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.vnx9ui73:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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 x86_64 --nodeps /builddir/build/SPECS/rpkg-macros.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.qUtc2E + 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-0afd61f2.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 . + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.n9gfoN + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rpkg-macros-2.0.git.67.0afd61f2-1.el8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rpkg-macros-2.0.git.67.0afd61f2-1.el8.x86_64 ++ dirname /builddir/build/BUILDROOT/rpkg-macros-2.0.git.67.0afd61f2-1.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rpkg-macros-2.0.git.67.0afd61f2-1.el8.x86_64 + cd rpkg-util-macros + install -d /builddir/build/BUILDROOT/rpkg-macros-2.0.git.67.0afd61f2-1.el8.x86_64/usr/lib + install -d /builddir/build/BUILDROOT/rpkg-macros-2.0.git.67.0afd61f2-1.el8.x86_64/usr/lib/rpkg.macros.d + cp -ar macros.d/all.bash macros.d/git.bash macros.d/helpers macros.d/library /builddir/build/BUILDROOT/rpkg-macros-2.0.git.67.0afd61f2-1.el8.x86_64/usr/lib/rpkg.macros.d + install -d /builddir/build/BUILDROOT/rpkg-macros-2.0.git.67.0afd61f2-1.el8.x86_64/usr/bin + install -p -m 755 bin/pack_sources /builddir/build/BUILDROOT/rpkg-macros-2.0.git.67.0afd61f2-1.el8.x86_64/usr/bin/pack_sources + install -d /builddir/build/BUILDROOT/rpkg-macros-2.0.git.67.0afd61f2-1.el8.x86_64/usr/share/man/man1 + install -p -m 644 man/rpkg-macros.1 /builddir/build/BUILDROOT/rpkg-macros-2.0.git.67.0afd61f2-1.el8.x86_64//usr/share/man/man1/ + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 2.0.git.67.0afd61f2-1.el8 --unique-debug-suffix -2.0.git.67.0afd61f2-1.el8.x86_64 --unique-debug-src-base rpkg-macros-2.0.git.67.0afd61f2-1.el8.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -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 /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/bin/python3.6 + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.eAgsLy + 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.TTbQjBZv9I/.git/ > cat /tmp/tmp.TTbQjBZv9I/input | preproc -C /tmp/tmp.TTbQjBZv9I -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.TTbQjBZv9I' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.CW6ArznbWL/output | log_filter > /tmp/tmp.CW6ArznbWL/log > diff /tmp/tmp.NP2B0OW9Yd/output /tmp/tmp.CW6ArznbWL/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.CW6ArznbWL/log && die; } > diff log /tmp/tmp.CW6ArznbWL/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.znU5cwKMpi/.git/ [master (root-commit) 96139f8] commit 1 1 file changed, 117 insertions(+) create mode 100644 input [master 4dfcdcc] commit 2 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 foo/file [master 894b59e] commit 3 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 bar/file > cat /tmp/tmp.znU5cwKMpi/input | preproc -C /tmp/tmp.znU5cwKMpi -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.znU5cwKMpi' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.fySRwzThpq/output | log_filter > /tmp/tmp.fySRwzThpq/log > diff /tmp/tmp.0XKidEmbjs/output /tmp/tmp.fySRwzThpq/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.fySRwzThpq/log && die; } > diff log /tmp/tmp.fySRwzThpq/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.0FIXbFygiG/.git/ [master (root-commit) 023ce33] inital_commit 2 files changed, 117 insertions(+) create mode 100644 foo/file create mode 100644 input > cat /tmp/tmp.0FIXbFygiG/input | preproc -C /tmp/tmp.0FIXbFygiG -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.0FIXbFygiG' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.Nff1bHWecW/output | log_filter > /tmp/tmp.Nff1bHWecW/log > diff /tmp/tmp.pJT6fmpLv7/output /tmp/tmp.Nff1bHWecW/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.Nff1bHWecW/log && die; } > diff log /tmp/tmp.Nff1bHWecW/log || die success. ====================== test_fn_bumped_version ====================== > cat /tmp/tmp.4QKABMc8f7/input | preproc -C /tmp/tmp.4QKABMc8f7 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.4QKABMc8f7' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.hjxtshKNZo/output | log_filter > /tmp/tmp.hjxtshKNZo/log > diff /tmp/tmp.46KZrfhonA/output /tmp/tmp.hjxtshKNZo/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.hjxtshKNZo/log && die; } > diff log /tmp/tmp.hjxtshKNZo/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.XXnGyTllFz/.git/ [master (root-commit) 71bf924] add subdir with file 2 files changed, 6 insertions(+) create mode 100644 input create mode 100644 subdir/file Cloning into '/tmp/tmp.XXnGyTllFz/submodule'... done. [master 5c35d16] add submodule 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 submodule > cat /tmp/tmp.XXnGyTllFz/input | preproc -C /tmp/tmp.XXnGyTllFz -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.XXnGyTllFz' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.rD6lv5iMgT/output | log_filter > /tmp/tmp.rD6lv5iMgT/log > diff /tmp/tmp.fgInxn6Yf8/output /tmp/tmp.rD6lv5iMgT/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.rD6lv5iMgT/log && die; } > diff log /tmp/tmp.rD6lv5iMgT/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.MGX2YsLvwd/.git/ > cat /tmp/tmp.MGX2YsLvwd/input | preproc -C /tmp/tmp.MGX2YsLvwd -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.MGX2YsLvwd' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.ViIUqaeJt7/output | log_filter > /tmp/tmp.ViIUqaeJt7/log > diff /tmp/tmp.kLhlruBNTq/output /tmp/tmp.ViIUqaeJt7/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.ViIUqaeJt7/log && die; } > diff log /tmp/tmp.ViIUqaeJt7/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.nABEbBx8Pu/.git/ > cat /tmp/tmp.nABEbBx8Pu/input | preproc -C /tmp/tmp.nABEbBx8Pu -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.nABEbBx8Pu' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.0f8d9CFRte/output | log_filter > /tmp/tmp.0f8d9CFRte/log > diff /tmp/tmp.XFxt1kNwOa/output /tmp/tmp.0f8d9CFRte/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.0f8d9CFRte/log && die; } > diff log /tmp/tmp.0f8d9CFRte/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.dwZl4JDYBB/.git/ [master (root-commit) 1c1e6e0] hello world 3 files changed, 3 insertions(+) create mode 100644 cookie create mode 100644 foo/cookie create mode 100644 input > cat /tmp/tmp.dwZl4JDYBB/input | preproc -C /tmp/tmp.dwZl4JDYBB -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.dwZl4JDYBB' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.dF7uoghhyK/output | log_filter > /tmp/tmp.dF7uoghhyK/log > diff /tmp/tmp.Wat8eS1rE8/output_clean /tmp/tmp.dF7uoghhyK/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.dF7uoghhyK/log && die; } > diff log /tmp/tmp.dF7uoghhyK/log || die success. > cat /tmp/tmp.dwZl4JDYBB/input | preproc -C /tmp/tmp.dwZl4JDYBB -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.dwZl4JDYBB' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.dF7uoghhyK/output | log_filter > /tmp/tmp.dF7uoghhyK/log > diff /tmp/tmp.Wat8eS1rE8/output_dirty /tmp/tmp.dF7uoghhyK/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.dF7uoghhyK/log && die; } > diff log /tmp/tmp.dF7uoghhyK/log || die success. Updated 1 path from the index > cat /tmp/tmp.dwZl4JDYBB/input | preproc -C /tmp/tmp.dwZl4JDYBB -e GIT_DIRTY=1 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.dwZl4JDYBB' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.dF7uoghhyK/output | log_filter > /tmp/tmp.dF7uoghhyK/log > diff /tmp/tmp.Wat8eS1rE8/output_dirty_manual /tmp/tmp.dF7uoghhyK/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.dF7uoghhyK/log && die; } > diff log /tmp/tmp.dF7uoghhyK/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.NUlBhDknKf/.git/ > cat /tmp/tmp.NUlBhDknKf/input | preproc -C /tmp/tmp.NUlBhDknKf -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.NUlBhDknKf' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.qnswzghSCc/output | log_filter > /tmp/tmp.qnswzghSCc/log > diff /tmp/tmp.PrQpZWyzsd/output /tmp/tmp.qnswzghSCc/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.qnswzghSCc/log && die; } > diff log /tmp/tmp.qnswzghSCc/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.cLsue8TxUk/.git/ > cat /tmp/tmp.cLsue8TxUk/input | preproc -C /tmp/tmp.cLsue8TxUk -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.cLsue8TxUk' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.KxlsZjG4jX/output | log_filter > /tmp/tmp.KxlsZjG4jX/log > diff /tmp/tmp.lB3D2P8jAi/output /tmp/tmp.KxlsZjG4jX/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.KxlsZjG4jX/log && die; } > diff log /tmp/tmp.KxlsZjG4jX/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.1MBxsXwXvm/.git/ > cat /tmp/tmp.1MBxsXwXvm/input | preproc -C /tmp/tmp.1MBxsXwXvm -e OUTDIR=/tmp/tmp.B5tTmizuuM -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.1MBxsXwXvm' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.B5tTmizuuM/output | log_filter > /tmp/tmp.B5tTmizuuM/log > diff /tmp/tmp.8cZLQ3k4Rp/output /tmp/tmp.B5tTmizuuM/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.B5tTmizuuM/log && die; } > diff log /tmp/tmp.B5tTmizuuM/log || die > custom_test > tar -C /tmp/tmp.B5tTmizuuM -xf /tmp/tmp.B5tTmizuuM/foo.tar.gz || die > diff /tmp/tmp.B5tTmizuuM/foo/cookie /tmp/tmp.1MBxsXwXvm/cookie || die > ls /tmp/tmp.B5tTmizuuM/foo/cookie_ignored 2>/dev/null && die > ls /tmp/tmp.B5tTmizuuM/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.wyWlEk4lmD/.git/ [master (root-commit) d0277c9] commit 1 2 files changed, 3 insertions(+) create mode 100644 cookie create mode 100644 input > cat /tmp/tmp.wyWlEk4lmD/input | preproc -C /tmp/tmp.wyWlEk4lmD -e OUTDIR=/tmp/tmp.7F7lb7Fddw -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.wyWlEk4lmD' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.7F7lb7Fddw/output | log_filter > /tmp/tmp.7F7lb7Fddw/log > diff /tmp/tmp.mugfHDgxmM/output /tmp/tmp.7F7lb7Fddw/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.7F7lb7Fddw/log && die; } > diff log /tmp/tmp.7F7lb7Fddw/log || die > custom_test > tar -C /tmp/tmp.7F7lb7Fddw -xf /tmp/tmp.7F7lb7Fddw/foo.tar.gz || die > diff /tmp/tmp.7F7lb7Fddw/foo/cookie /tmp/tmp.wyWlEk4lmD/cookie || die > [ 'd0277c930ab5461c480b889ad9612a1516c44451' = 'd0277c930ab5461c480b889ad9612a1516c44451' ] || die > tar -C /tmp/tmp.7F7lb7Fddw -xf /tmp/tmp.7F7lb7Fddw/bar.tar.gz || die > diff /tmp/tmp.7F7lb7Fddw/bar/cookie /tmp/tmp.wyWlEk4lmD/cookie || die > [ 'd0277c930ab5461c480b889ad9612a1516c44451' = 'd0277c930ab5461c480b889ad9612a1516c44451' ] || die success. > cat /tmp/tmp.wyWlEk4lmD/input | preproc -C /tmp/tmp.wyWlEk4lmD -e OUTDIR=/tmp/tmp.7F7lb7Fddw -e GIT_STATUS=somestatus -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.wyWlEk4lmD' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.7F7lb7Fddw/output | log_filter > /tmp/tmp.7F7lb7Fddw/log > test_nonempty_git_status > tar -C /tmp/tmp.7F7lb7Fddw -xf /tmp/tmp.7F7lb7Fddw/foo.tar.gz || die > diff /tmp/tmp.7F7lb7Fddw/foo/cookie /tmp/tmp.wyWlEk4lmD/cookie || die > [ 'd0277c930ab5461c480b889ad9612a1516c44451' = '' ] && die > tar -C /tmp/tmp.7F7lb7Fddw -xf /tmp/tmp.7F7lb7Fddw/bar.tar.gz || die > diff /tmp/tmp.7F7lb7Fddw/bar/cookie /tmp/tmp.wyWlEk4lmD/cookie || die > [ 'd0277c930ab5461c480b889ad9612a1516c44451' = 'd0277c930ab5461c480b889ad9612a1516c44451' ] || die success. > cat /tmp/tmp.wyWlEk4lmD/input | preproc -C /tmp/tmp.wyWlEk4lmD -e OUTDIR=/tmp/tmp.7F7lb7Fddw -e GIT_HEAD=somehead -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.wyWlEk4lmD' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.7F7lb7Fddw/output | log_filter > /tmp/tmp.7F7lb7Fddw/log > test_invalid_git_head > [ -f '/tmp/tmp.7F7lb7Fddw/foo.tar.gz' ] && die > [ -f '/tmp/tmp.7F7lb7Fddw/bar.tar.gz' ] && die success. > cat /tmp/tmp.wyWlEk4lmD/input | preproc -C /tmp/tmp.wyWlEk4lmD -e OUTDIR=/tmp/tmp.7F7lb7Fddw -e GIT_HEAD= -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.wyWlEk4lmD' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.7F7lb7Fddw/output | log_filter > /tmp/tmp.7F7lb7Fddw/log > test_empty_git_head > tar -C /tmp/tmp.7F7lb7Fddw -xf /tmp/tmp.7F7lb7Fddw/foo.tar.gz || die > diff /tmp/tmp.7F7lb7Fddw/foo/cookie /tmp/tmp.wyWlEk4lmD/cookie || die > [ 'd0277c930ab5461c480b889ad9612a1516c44451' = '' ] && die > [ -f '/tmp/tmp.7F7lb7Fddw/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.RSrEAMweBE/.git/ [master (root-commit) 887d1b6] commit 1 2 files changed, 3 insertions(+) create mode 100644 cookie create mode 100644 input > cat /tmp/tmp.RSrEAMweBE/input | preproc -C /tmp/tmp.RSrEAMweBE -e OUTDIR=/tmp/tmp.5ltqMC7CjP -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.RSrEAMweBE' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.5ltqMC7CjP/output | log_filter > /tmp/tmp.5ltqMC7CjP/log > diff /tmp/tmp.TvyDCCaKt2/output /tmp/tmp.5ltqMC7CjP/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.5ltqMC7CjP/log && die; } > diff log /tmp/tmp.5ltqMC7CjP/log || die > custom_test > tar -C /tmp/tmp.5ltqMC7CjP -xf /tmp/tmp.5ltqMC7CjP/foo.tar.gz || die > diff /tmp/tmp.5ltqMC7CjP/foo/cookie /tmp/tmp.RSrEAMweBE/cookie || die > [ '887d1b6270f095cc663c8aa7e8110276bcfd18d1' = '' ] && die > tar -C /tmp/tmp.5ltqMC7CjP -xf /tmp/tmp.5ltqMC7CjP/bar.tar.gz || die > diff /tmp/tmp.5ltqMC7CjP/bar/cookie /tmp/tmp.RSrEAMweBE/cookie >/dev/null && die > [ '887d1b6270f095cc663c8aa7e8110276bcfd18d1' = '887d1b6270f095cc663c8aa7e8110276bcfd18d1' ] || 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.GmMYH7cK8H/.git/ [master (root-commit) a606428] 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.GmMYH7cK8H/bar/input | preproc -C /tmp/tmp.GmMYH7cK8H/foo -e OUTDIR=/tmp/tmp.1WOCroxo1M -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.GmMYH7cK8H/bar' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.1WOCroxo1M/output | log_filter > /tmp/tmp.1WOCroxo1M/log > diff /tmp/tmp.wwhbCMl34O/output /tmp/tmp.1WOCroxo1M/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.1WOCroxo1M/log && die; } > diff log /tmp/tmp.1WOCroxo1M/log || die > custom_test > tar -C /tmp/tmp.1WOCroxo1M -xf /tmp/tmp.1WOCroxo1M/dir_pack_nodirname.tar.gz || die > diff /tmp/tmp.1WOCroxo1M/test-bar/cookie /tmp/tmp.GmMYH7cK8H/bar/cookie || die > tar -C /tmp/tmp.1WOCroxo1M -xf /tmp/tmp.1WOCroxo1M/dir_archive_nodirname.tar.gz || die > diff /tmp/tmp.1WOCroxo1M/test-bar/cookie /tmp/tmp.GmMYH7cK8H/bar/cookie || die > tar -C /tmp/tmp.1WOCroxo1M -xf /tmp/tmp.1WOCroxo1M/dir_pack_foo.tar.gz || die > diff /tmp/tmp.1WOCroxo1M/foo/cookie /tmp/tmp.GmMYH7cK8H/bar/cookie || die > tar -C /tmp/tmp.1WOCroxo1M -xf /tmp/tmp.1WOCroxo1M/dir_archive_bar.tar.gz || die > diff /tmp/tmp.1WOCroxo1M/bar/cookie /tmp/tmp.GmMYH7cK8H/bar/cookie || die > tar -C /tmp/tmp.1WOCroxo1M -xf /tmp/tmp.1WOCroxo1M/cwd_pack_nodirname.tar.gz || die > diff /tmp/tmp.1WOCroxo1M/test-foo/cookie /tmp/tmp.GmMYH7cK8H/foo/cookie || die > tar -C /tmp/tmp.1WOCroxo1M -xf /tmp/tmp.1WOCroxo1M/cwd_archive_nodirname.tar.gz || die > diff /tmp/tmp.1WOCroxo1M/test-foo/cookie /tmp/tmp.GmMYH7cK8H/foo/cookie || die > tar -C /tmp/tmp.1WOCroxo1M -xf /tmp/tmp.1WOCroxo1M/cwd_pack_foo.tar.gz || die > diff /tmp/tmp.1WOCroxo1M/foo/cookie /tmp/tmp.GmMYH7cK8H/foo/cookie || die > tar -C /tmp/tmp.1WOCroxo1M -xf /tmp/tmp.1WOCroxo1M/cwd_archive_bar.tar.gz || die > diff /tmp/tmp.1WOCroxo1M/bar/cookie /tmp/tmp.GmMYH7cK8H/foo/cookie || die > tar -C /tmp/tmp.1WOCroxo1M -xf /tmp/tmp.1WOCroxo1M/baz_pack_nodirname.tar.gz || die > diff /tmp/tmp.1WOCroxo1M/test-baz/cookie /tmp/tmp.GmMYH7cK8H/baz/cookie || die > tar -C /tmp/tmp.1WOCroxo1M -xf /tmp/tmp.1WOCroxo1M/baz_archive_nodirname.tar.gz || die > diff /tmp/tmp.1WOCroxo1M/test-baz/cookie /tmp/tmp.GmMYH7cK8H/baz/cookie || die > tar -C /tmp/tmp.1WOCroxo1M -xf /tmp/tmp.1WOCroxo1M/baz_pack_foo.tar.gz || die > diff /tmp/tmp.1WOCroxo1M/foo/cookie /tmp/tmp.GmMYH7cK8H/baz/cookie || die > ls /tmp/tmp.1WOCroxo1M/foo/cookie_ignored 2>/dev/null && die > ls /tmp/tmp.1WOCroxo1M/foo/cookie_unadded 2>/dev/null && die > tar -C /tmp/tmp.1WOCroxo1M -xf /tmp/tmp.1WOCroxo1M/baz_archive_bar.tar.gz || die > diff /tmp/tmp.1WOCroxo1M/bar/cookie /tmp/tmp.GmMYH7cK8H/baz/cookie || die > ls /tmp/tmp.1WOCroxo1M/bar/cookie_ignored 2>/dev/null && die > ls /tmp/tmp.1WOCroxo1M/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.uNm440ylbR/.git/ > cat /tmp/tmp.uNm440ylbR/bar/input | preproc -C /tmp/tmp.uNm440ylbR/foo -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.uNm440ylbR/bar' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.l2tzV5KLn4/output | log_filter > /tmp/tmp.l2tzV5KLn4/log > diff /tmp/tmp.k4RYXTGSdD/output /tmp/tmp.l2tzV5KLn4/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.l2tzV5KLn4/log && die; } > diff log /tmp/tmp.l2tzV5KLn4/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.KZGWGnjAI6/.git/ [master (root-commit) 0103341] 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.KZGWGnjAI6/submodule'... done. [master 8d3a09f] add submodule 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 submodule > cat /tmp/tmp.KZGWGnjAI6/input | preproc -C /tmp/tmp.KZGWGnjAI6 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.KZGWGnjAI6' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.LjemHccBFp/output | log_filter > /tmp/tmp.LjemHccBFp/log > diff /tmp/tmp.qpQrZnbYu4/output /tmp/tmp.LjemHccBFp/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.LjemHccBFp/log && die; } > diff log /tmp/tmp.LjemHccBFp/log || die success. > cat /tmp/tmp.KZGWGnjAI6/submodule/input_dir | preproc -C /tmp/tmp.KZGWGnjAI6 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.KZGWGnjAI6/submodule' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.LjemHccBFp/output | log_filter > /tmp/tmp.LjemHccBFp/log > diff /tmp/tmp.qpQrZnbYu4/output_dir /tmp/tmp.LjemHccBFp/output || { echo 'LOG DIFF:' && diff log_dir /tmp/tmp.LjemHccBFp/log && die; } > diff log_dir /tmp/tmp.LjemHccBFp/log || die success. > cat /tmp/tmp.KZGWGnjAI6/submodule/input_cwd | preproc -C /tmp/tmp.KZGWGnjAI6/submodule/subdir -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.KZGWGnjAI6/submodule' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.LjemHccBFp/output | log_filter > /tmp/tmp.LjemHccBFp/log > diff /tmp/tmp.qpQrZnbYu4/output_cwd /tmp/tmp.LjemHccBFp/output || { echo 'LOG DIFF:' && diff log_cwd /tmp/tmp.LjemHccBFp/log && die; } > diff log_cwd /tmp/tmp.LjemHccBFp/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.EI53fON4gp/.git/ [master (root-commit) 7d120b9] 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.EI53fON4gp/submodule'... done. [master 8b443db] add submodule 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 submodule > cat /tmp/tmp.EI53fON4gp/input_archive | preproc -C /tmp/tmp.EI53fON4gp -e OUTDIR=/tmp/tmp.vHFyNIGRmy -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.EI53fON4gp' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.vHFyNIGRmy/output | log_filter > /tmp/tmp.vHFyNIGRmy/log > custom_test_archive_clean > tar -C /tmp/tmp.vHFyNIGRmy -xf /tmp/tmp.vHFyNIGRmy/test-8b443dbc.tar.gz || die > [ -d /tmp/tmp.vHFyNIGRmy/test/submodule/subdir ] && die > tar -C /tmp/tmp.vHFyNIGRmy -xf /tmp/tmp.vHFyNIGRmy/test-submodule-8b443dbc.tar.gz || die > [ -f /tmp/tmp.vHFyNIGRmy/test-submodule/subdir/cookie ] || die > cat /tmp/tmp.vHFyNIGRmy/test-submodule/subdir/cookie | grep -q 0 || die > tar -C /tmp/tmp.vHFyNIGRmy -xf /tmp/tmp.vHFyNIGRmy/test-submodule-subdir-8b443dbc.tar.gz || die > [ -f /tmp/tmp.vHFyNIGRmy/test-submodule-subdir/cookie ] || die > cat /tmp/tmp.vHFyNIGRmy/test-submodule-subdir/cookie | grep -q 0 || die success. > cat /tmp/tmp.EI53fON4gp/input_pack | preproc -C /tmp/tmp.EI53fON4gp -e OUTDIR=/tmp/tmp.vHFyNIGRmy -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.EI53fON4gp' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.vHFyNIGRmy/output | log_filter > /tmp/tmp.vHFyNIGRmy/log > custom_test_pack_clean > tar -C /tmp/tmp.vHFyNIGRmy -xf /tmp/tmp.vHFyNIGRmy/test-8b443dbc.tar.gz || die > [ -f /tmp/tmp.vHFyNIGRmy/test/submodule/subdir ] && die > tar -C /tmp/tmp.vHFyNIGRmy -xf /tmp/tmp.vHFyNIGRmy/test-submodule-8b443dbc.tar.gz || die > [ -f /tmp/tmp.vHFyNIGRmy/test-submodule/subdir/cookie ] || die > cat /tmp/tmp.vHFyNIGRmy/test-submodule/subdir/cookie | grep -q 0 || die > tar -C /tmp/tmp.vHFyNIGRmy -xf /tmp/tmp.vHFyNIGRmy/test-submodule-subdir-8b443dbc.tar.gz || die > [ -f /tmp/tmp.vHFyNIGRmy/test-submodule-subdir/cookie ] || die > cat /tmp/tmp.vHFyNIGRmy/test-submodule-subdir/cookie | grep -q 0 || die success. [master 00d7ad0] submodule new commit 1 file changed, 1 insertion(+) > cat /tmp/tmp.EI53fON4gp/input_archive | preproc -C /tmp/tmp.EI53fON4gp -e OUTDIR=/tmp/tmp.vHFyNIGRmy -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.EI53fON4gp' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.vHFyNIGRmy/output | log_filter > /tmp/tmp.vHFyNIGRmy/log > custom_test_archive_submodule_new_commit > tar -C /tmp/tmp.vHFyNIGRmy -xf /tmp/tmp.vHFyNIGRmy/test-8b443dbc.tar.gz || die > [ -d /tmp/tmp.vHFyNIGRmy/test/submodule/subdir ] && die > tar -C /tmp/tmp.vHFyNIGRmy -xf /tmp/tmp.vHFyNIGRmy/test-submodule-8b443dbc.tar.gz || die > [ -f /tmp/tmp.vHFyNIGRmy/test-submodule/subdir/cookie ] || die > cat /tmp/tmp.vHFyNIGRmy/test-submodule/subdir/cookie | grep -q 0 || die > tar -C /tmp/tmp.vHFyNIGRmy -xf /tmp/tmp.vHFyNIGRmy/test-submodule-subdir-8b443dbc.tar.gz || die > [ -f /tmp/tmp.vHFyNIGRmy/test-submodule-subdir/cookie ] || die > cat /tmp/tmp.vHFyNIGRmy/test-submodule-subdir/cookie | grep -q 0 || die success. > cat /tmp/tmp.EI53fON4gp/input_pack | preproc -C /tmp/tmp.EI53fON4gp -e OUTDIR=/tmp/tmp.vHFyNIGRmy -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.EI53fON4gp' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.vHFyNIGRmy/output | log_filter > /tmp/tmp.vHFyNIGRmy/log > custom_test_pack_submodule_new_commit > tar -C /tmp/tmp.vHFyNIGRmy -xf /tmp/tmp.vHFyNIGRmy/test-8b443dbc-dirty.tar.gz || die > [ -d /tmp/tmp.vHFyNIGRmy/test/submodule/subdir ] && die > tar -C /tmp/tmp.vHFyNIGRmy -xf /tmp/tmp.vHFyNIGRmy/test-submodule-8b443dbc-dirty.tar.gz || die > cat /tmp/tmp.vHFyNIGRmy/test-submodule/subdir/cookie | grep -q 1 || die > tar -C /tmp/tmp.vHFyNIGRmy -xf /tmp/tmp.vHFyNIGRmy/test-submodule-subdir-8b443dbc.tar.gz || die > cat /tmp/tmp.vHFyNIGRmy/test-submodule-subdir/cookie | grep -q 1 || die success. > cat /tmp/tmp.EI53fON4gp/input_archive | preproc -C /tmp/tmp.EI53fON4gp -e OUTDIR=/tmp/tmp.vHFyNIGRmy -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.EI53fON4gp' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.vHFyNIGRmy/output | log_filter > /tmp/tmp.vHFyNIGRmy/log > custom_test_archive_submodule_dirty > tar -C /tmp/tmp.vHFyNIGRmy -xf /tmp/tmp.vHFyNIGRmy/test-8b443dbc.tar.gz || die > [ -d /tmp/tmp.vHFyNIGRmy/test/submodule/subdir ] && die > tar -C /tmp/tmp.vHFyNIGRmy -xf /tmp/tmp.vHFyNIGRmy/test-submodule-8b443dbc.tar.gz || die > [ -f /tmp/tmp.vHFyNIGRmy/test-submodule/subdir/cookie ] || die > cat /tmp/tmp.vHFyNIGRmy/test-submodule/subdir/cookie | grep -q 0 || die > tar -C /tmp/tmp.vHFyNIGRmy -xf /tmp/tmp.vHFyNIGRmy/test-submodule-subdir-8b443dbc.tar.gz || die > [ -f /tmp/tmp.vHFyNIGRmy/test-submodule-subdir/cookie ] || die > cat /tmp/tmp.vHFyNIGRmy/test-submodule-subdir/cookie | grep -q 0 || die success. > cat /tmp/tmp.EI53fON4gp/input_pack | preproc -C /tmp/tmp.EI53fON4gp -e OUTDIR=/tmp/tmp.vHFyNIGRmy -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.EI53fON4gp' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.vHFyNIGRmy/output | log_filter > /tmp/tmp.vHFyNIGRmy/log > custom_test_pack_submodule_dirty > tar -C /tmp/tmp.vHFyNIGRmy -xf /tmp/tmp.vHFyNIGRmy/test-8b443dbc-dirty.tar.gz || die > [ -d /tmp/tmp.vHFyNIGRmy/test/submodule/subdir ] && die > tar -C /tmp/tmp.vHFyNIGRmy -xf /tmp/tmp.vHFyNIGRmy/test-submodule-8b443dbc-dirty.tar.gz || die > cat /tmp/tmp.vHFyNIGRmy/test-submodule/subdir/cookie | grep -q 2 || die > tar -C /tmp/tmp.vHFyNIGRmy -xf /tmp/tmp.vHFyNIGRmy/test-submodule-subdir-8b443dbc.tar.gz || die > cat /tmp/tmp.vHFyNIGRmy/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.WJxRMi55hk/.git/ [master (root-commit) ad015f9] 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 43f2d31] side branch commit 1 file changed, 1 insertion(+) Switched to branch 'master' > cat /tmp/tmp.WJxRMi55hk/input | preproc -C /tmp/tmp.WJxRMi55hk -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.WJxRMi55hk' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.pQah5O7KPK/output | log_filter > /tmp/tmp.pQah5O7KPK/log > diff /tmp/tmp.k2vfUafMVW/output /tmp/tmp.pQah5O7KPK/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.pQah5O7KPK/log && die; } > diff log /tmp/tmp.pQah5O7KPK/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.XZ5fHEP0bA/.git/ [master (root-commit) 1f108ef] inital_commit 2 files changed, 117 insertions(+) create mode 100644 foo/file create mode 100644 input [master 816fe8f] commit after tag 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 file > cat /tmp/tmp.XZ5fHEP0bA/input | preproc -C /tmp/tmp.XZ5fHEP0bA -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.XZ5fHEP0bA' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.OMJWltoP45/output | log_filter > /tmp/tmp.OMJWltoP45/log > diff /tmp/tmp.6BT6SY3pIE/output /tmp/tmp.OMJWltoP45/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.OMJWltoP45/log && die; } > diff log /tmp/tmp.OMJWltoP45/log || die success. ====================== test_uninited ====================== > cat /tmp/tmp.71wksTHhaZ/input | preproc -C /tmp/tmp.71wksTHhaZ -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.71wksTHhaZ' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.vDMSMkHQoz/output | log_filter > /tmp/tmp.vDMSMkHQoz/log > diff /tmp/tmp.y4EEpQZMQA/output /tmp/tmp.vDMSMkHQoz/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.vDMSMkHQoz/log && die; } > diff log /tmp/tmp.vDMSMkHQoz/log || die success. + exit 0 Processing files: rpkg-macros-2.0.git.67.0afd61f2-1.el8.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.FSAuG5 + umask 022 + cd /builddir/build/BUILD + cd rpkg-util-macros + LICENSEDIR=/builddir/build/BUILDROOT/rpkg-macros-2.0.git.67.0afd61f2-1.el8.x86_64/usr/share/licenses/rpkg-macros + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rpkg-macros-2.0.git.67.0afd61f2-1.el8.x86_64/usr/share/licenses/rpkg-macros + cp -pr LICENSE /builddir/build/BUILDROOT/rpkg-macros-2.0.git.67.0afd61f2-1.el8.x86_64/usr/share/licenses/rpkg-macros + exit 0 Provides: rpkg-macros = 2.0.git.67.0afd61f2-1.el8 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.git.67.0afd61f2-1.el8.x86_64 Wrote: /builddir/build/RPMS/rpkg-macros-2.0.git.67.0afd61f2-1.el8.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.JSb7rI + umask 022 + cd /builddir/build/BUILD + cd rpkg-util-macros + /usr/bin/rm -rf /builddir/build/BUILDROOT/rpkg-macros-2.0.git.67.0afd61f2-1.el8.x86_64 + exit 0 Child return code was: 0