Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rpkg-macros.spec'], chrootPath='/var/lib/mock/openeuler-22.03_LTS_SP4-x86_64-1739525565.710780/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rpkg-macros.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/rpkg-macros-2.0-1.src.rpm Child return code was: 0 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rpkg-macros.spec'], chrootPath='/var/lib/mock/openeuler-22.03_LTS_SP4-x86_64-1739525565.710780/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rpkg-macros.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/rpkg-macros-2.0-1.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/rpkg-macros.spec'], chrootPath='/var/lib/mock/openeuler-22.03_LTS_SP4-x86_64-1739525565.710780/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/rpkg-macros.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.30svX5 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rpkg-util-macros + /usr/bin/gzip -dc /builddir/build/SOURCES/rpkg-util-macros-28034317.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd rpkg-util-macros + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/allow_protocol_file.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.aq0vaL + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rpkg-macros-2.0-1.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rpkg-macros-2.0-1.x86_64 ++ dirname /builddir/build/BUILDROOT/rpkg-macros-2.0-1.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rpkg-macros-2.0-1.x86_64 + cd rpkg-util-macros + install -d /builddir/build/BUILDROOT/rpkg-macros-2.0-1.x86_64/usr/lib + install -d /builddir/build/BUILDROOT/rpkg-macros-2.0-1.x86_64/usr/lib/rpkg.macros.d + cp -ar macros.d/all.bash macros.d/git.bash macros.d/helpers macros.d/library /builddir/build/BUILDROOT/rpkg-macros-2.0-1.x86_64/usr/lib/rpkg.macros.d + install -d /builddir/build/BUILDROOT/rpkg-macros-2.0-1.x86_64/usr/bin + install -p -m 755 bin/pack_sources /builddir/build/BUILDROOT/rpkg-macros-2.0-1.x86_64/usr/bin/pack_sources + install -d /builddir/build/BUILDROOT/rpkg-macros-2.0-1.x86_64/usr/share/man/man1 + install -p -m 644 man/rpkg-macros.1 /builddir/build/BUILDROOT/rpkg-macros-2.0-1.x86_64//usr/share/man/man1/ + /usr/bin/find-debuginfo -j4 --strict-build-id -i --build-id-seed 2.0-1 --unique-debug-suffix -2.0-1.x86_64 --unique-debug-src-base rpkg-macros-2.0-1.x86_64 -S debugsourcefiles.list /builddir/build/BUILD/rpkg-util-macros find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 1 + /usr/lib/rpm/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.lBzjV5 + umask 022 + cd /builddir/build/BUILD + cd rpkg-util-macros + git config --global protocol.file.allow always + PATH=bin/:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + tests/run fatal: not in a git directory ====================== test_bash ====================== hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m Initialized empty Git repository in /tmp/tmp.kvPl04EQFY/.git/ > cat /tmp/tmp.kvPl04EQFY/input | preproc -C /tmp/tmp.kvPl04EQFY -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.kvPl04EQFY' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.w8LAJ8Fvyy/output | log_filter > /tmp/tmp.w8LAJ8Fvyy/log > diff /tmp/tmp.JRLLCsaQpH/output /tmp/tmp.w8LAJ8Fvyy/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.w8LAJ8Fvyy/log && die; } > diff log /tmp/tmp.w8LAJ8Fvyy/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.JHqWYfhSAh/.git/ [master (root-commit) 76c16cc] commit 1 1 file changed, 117 insertions(+) create mode 100644 input [master 480b6a9] commit 2 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 foo/file [master ef03464] commit 3 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 bar/file > cat /tmp/tmp.JHqWYfhSAh/input | preproc -C /tmp/tmp.JHqWYfhSAh -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.JHqWYfhSAh' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.jM1DeofSNE/output | log_filter > /tmp/tmp.jM1DeofSNE/log > diff /tmp/tmp.WuuX8c0brK/output /tmp/tmp.jM1DeofSNE/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.jM1DeofSNE/log && die; } > diff log /tmp/tmp.jM1DeofSNE/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.tbrmRMK8J2/.git/ [master (root-commit) 0e734da] inital_commit 2 files changed, 117 insertions(+) create mode 100644 foo/file create mode 100644 input > cat /tmp/tmp.tbrmRMK8J2/input | preproc -C /tmp/tmp.tbrmRMK8J2 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.tbrmRMK8J2' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.l4QvFaHQ13/output | log_filter > /tmp/tmp.l4QvFaHQ13/log > diff /tmp/tmp.Uvyed9HVoe/output /tmp/tmp.l4QvFaHQ13/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.l4QvFaHQ13/log && die; } > diff log /tmp/tmp.l4QvFaHQ13/log || die success. ====================== test_fn_bumped_version ====================== > cat /tmp/tmp.hl9qtyQCOL/input | preproc -C /tmp/tmp.hl9qtyQCOL -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.hl9qtyQCOL' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.MKkdQCep4U/output | log_filter > /tmp/tmp.MKkdQCep4U/log > diff /tmp/tmp.6AIoCAjUKt/output /tmp/tmp.MKkdQCep4U/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.MKkdQCep4U/log && die; } > diff log /tmp/tmp.MKkdQCep4U/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.6L3z3ti3x5/.git/ [master (root-commit) 393c418] add subdir with file 2 files changed, 6 insertions(+) create mode 100644 input create mode 100644 subdir/file Cloning into '/tmp/tmp.6L3z3ti3x5/submodule'... done. [master 45d77f9] add submodule 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 submodule > cat /tmp/tmp.6L3z3ti3x5/input | preproc -C /tmp/tmp.6L3z3ti3x5 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.6L3z3ti3x5' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.VVW91yQD4y/output | log_filter > /tmp/tmp.VVW91yQD4y/log > diff /tmp/tmp.eslwWIcknA/output /tmp/tmp.VVW91yQD4y/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.VVW91yQD4y/log && die; } > diff log /tmp/tmp.VVW91yQD4y/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.rIoyUZgUBS/.git/ > cat /tmp/tmp.rIoyUZgUBS/input | preproc -C /tmp/tmp.rIoyUZgUBS -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.rIoyUZgUBS' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.mtUhfpSPHU/output | log_filter > /tmp/tmp.mtUhfpSPHU/log > diff /tmp/tmp.C4iS8zwrPE/output /tmp/tmp.mtUhfpSPHU/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.mtUhfpSPHU/log && die; } > diff log /tmp/tmp.mtUhfpSPHU/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.enazcNBq4A/.git/ > cat /tmp/tmp.enazcNBq4A/input | preproc -C /tmp/tmp.enazcNBq4A -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.enazcNBq4A' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.ND3MdG1BQ6/output | log_filter > /tmp/tmp.ND3MdG1BQ6/log > diff /tmp/tmp.aTQr9vZCCO/output /tmp/tmp.ND3MdG1BQ6/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.ND3MdG1BQ6/log && die; } > diff log /tmp/tmp.ND3MdG1BQ6/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.VFAp5bHWSF/.git/ [master (root-commit) c3732e5] hello world 3 files changed, 3 insertions(+) create mode 100644 cookie create mode 100644 foo/cookie create mode 100644 input > cat /tmp/tmp.VFAp5bHWSF/input | preproc -C /tmp/tmp.VFAp5bHWSF -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.VFAp5bHWSF' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.BsDjRoqjeP/output | log_filter > /tmp/tmp.BsDjRoqjeP/log > diff /tmp/tmp.GjaLVMCLpM/output_clean /tmp/tmp.BsDjRoqjeP/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.BsDjRoqjeP/log && die; } > diff log /tmp/tmp.BsDjRoqjeP/log || die success. > cat /tmp/tmp.VFAp5bHWSF/input | preproc -C /tmp/tmp.VFAp5bHWSF -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.VFAp5bHWSF' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.BsDjRoqjeP/output | log_filter > /tmp/tmp.BsDjRoqjeP/log > diff /tmp/tmp.GjaLVMCLpM/output_dirty /tmp/tmp.BsDjRoqjeP/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.BsDjRoqjeP/log && die; } > diff log /tmp/tmp.BsDjRoqjeP/log || die success. Updated 1 path from the index > cat /tmp/tmp.VFAp5bHWSF/input | preproc -C /tmp/tmp.VFAp5bHWSF -e GIT_DIRTY=1 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.VFAp5bHWSF' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.BsDjRoqjeP/output | log_filter > /tmp/tmp.BsDjRoqjeP/log > diff /tmp/tmp.GjaLVMCLpM/output_dirty_manual /tmp/tmp.BsDjRoqjeP/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.BsDjRoqjeP/log && die; } > diff log /tmp/tmp.BsDjRoqjeP/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.OSPXhDcrpB/.git/ > cat /tmp/tmp.OSPXhDcrpB/input | preproc -C /tmp/tmp.OSPXhDcrpB -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.OSPXhDcrpB' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.R2xvlxHO0f/output | log_filter > /tmp/tmp.R2xvlxHO0f/log > diff /tmp/tmp.oxREAXNYoq/output /tmp/tmp.R2xvlxHO0f/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.R2xvlxHO0f/log && die; } > diff log /tmp/tmp.R2xvlxHO0f/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.wx1kzZJXiR/.git/ > cat /tmp/tmp.wx1kzZJXiR/input | preproc -C /tmp/tmp.wx1kzZJXiR -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.wx1kzZJXiR' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.hZ2IeIgJHF/output | log_filter > /tmp/tmp.hZ2IeIgJHF/log > diff /tmp/tmp.r6UjKuHl95/output /tmp/tmp.hZ2IeIgJHF/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.hZ2IeIgJHF/log && die; } > diff log /tmp/tmp.hZ2IeIgJHF/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.TAkdFFKn8y/.git/ > cat /tmp/tmp.TAkdFFKn8y/input | preproc -C /tmp/tmp.TAkdFFKn8y -e OUTDIR=/tmp/tmp.6Ay1qNl91J -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.TAkdFFKn8y' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.6Ay1qNl91J/output | log_filter > /tmp/tmp.6Ay1qNl91J/log > diff /tmp/tmp.sh9b1nYjlH/output /tmp/tmp.6Ay1qNl91J/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.6Ay1qNl91J/log && die; } > diff log /tmp/tmp.6Ay1qNl91J/log || die > custom_test > tar -C /tmp/tmp.6Ay1qNl91J -xf /tmp/tmp.6Ay1qNl91J/foo.tar.gz || die > diff /tmp/tmp.6Ay1qNl91J/foo/cookie /tmp/tmp.TAkdFFKn8y/cookie || die > ls /tmp/tmp.6Ay1qNl91J/foo/cookie_ignored 2>/dev/null && die > ls /tmp/tmp.6Ay1qNl91J/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.bG8aJndJ6T/.git/ [master (root-commit) 54d2a82] commit 1 2 files changed, 3 insertions(+) create mode 100644 cookie create mode 100644 input > cat /tmp/tmp.bG8aJndJ6T/input | preproc -C /tmp/tmp.bG8aJndJ6T -e OUTDIR=/tmp/tmp.JKelxBOuFM -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.bG8aJndJ6T' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.JKelxBOuFM/output | log_filter > /tmp/tmp.JKelxBOuFM/log > diff /tmp/tmp.bgMPTm4MoY/output /tmp/tmp.JKelxBOuFM/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.JKelxBOuFM/log && die; } > diff log /tmp/tmp.JKelxBOuFM/log || die > custom_test > tar -C /tmp/tmp.JKelxBOuFM -xf /tmp/tmp.JKelxBOuFM/foo.tar.gz || die > diff /tmp/tmp.JKelxBOuFM/foo/cookie /tmp/tmp.bG8aJndJ6T/cookie || die > [ '54d2a828e336e29316c1c9855b3f58407b8dd687' = '54d2a828e336e29316c1c9855b3f58407b8dd687' ] || die > tar -C /tmp/tmp.JKelxBOuFM -xf /tmp/tmp.JKelxBOuFM/bar.tar.gz || die > diff /tmp/tmp.JKelxBOuFM/bar/cookie /tmp/tmp.bG8aJndJ6T/cookie || die > [ '54d2a828e336e29316c1c9855b3f58407b8dd687' = '54d2a828e336e29316c1c9855b3f58407b8dd687' ] || die success. > cat /tmp/tmp.bG8aJndJ6T/input | preproc -C /tmp/tmp.bG8aJndJ6T -e OUTDIR=/tmp/tmp.JKelxBOuFM -e GIT_STATUS=somestatus -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.bG8aJndJ6T' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.JKelxBOuFM/output | log_filter > /tmp/tmp.JKelxBOuFM/log > test_nonempty_git_status > tar -C /tmp/tmp.JKelxBOuFM -xf /tmp/tmp.JKelxBOuFM/foo.tar.gz || die > diff /tmp/tmp.JKelxBOuFM/foo/cookie /tmp/tmp.bG8aJndJ6T/cookie || die > [ '54d2a828e336e29316c1c9855b3f58407b8dd687' = '' ] && die > tar -C /tmp/tmp.JKelxBOuFM -xf /tmp/tmp.JKelxBOuFM/bar.tar.gz || die > diff /tmp/tmp.JKelxBOuFM/bar/cookie /tmp/tmp.bG8aJndJ6T/cookie || die > [ '54d2a828e336e29316c1c9855b3f58407b8dd687' = '54d2a828e336e29316c1c9855b3f58407b8dd687' ] || die success. > cat /tmp/tmp.bG8aJndJ6T/input | preproc -C /tmp/tmp.bG8aJndJ6T -e OUTDIR=/tmp/tmp.JKelxBOuFM -e GIT_HEAD=somehead -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.bG8aJndJ6T' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.JKelxBOuFM/output | log_filter > /tmp/tmp.JKelxBOuFM/log > test_invalid_git_head > [ -f '/tmp/tmp.JKelxBOuFM/foo.tar.gz' ] && die > [ -f '/tmp/tmp.JKelxBOuFM/bar.tar.gz' ] && die success. > cat /tmp/tmp.bG8aJndJ6T/input | preproc -C /tmp/tmp.bG8aJndJ6T -e OUTDIR=/tmp/tmp.JKelxBOuFM -e GIT_HEAD= -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.bG8aJndJ6T' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.JKelxBOuFM/output | log_filter > /tmp/tmp.JKelxBOuFM/log > test_empty_git_head > tar -C /tmp/tmp.JKelxBOuFM -xf /tmp/tmp.JKelxBOuFM/foo.tar.gz || die > diff /tmp/tmp.JKelxBOuFM/foo/cookie /tmp/tmp.bG8aJndJ6T/cookie || die > [ '54d2a828e336e29316c1c9855b3f58407b8dd687' = '' ] && die > [ -f '/tmp/tmp.JKelxBOuFM/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.Bv2yQU43Nd/.git/ [master (root-commit) b43f3f4] commit 1 2 files changed, 3 insertions(+) create mode 100644 cookie create mode 100644 input > cat /tmp/tmp.Bv2yQU43Nd/input | preproc -C /tmp/tmp.Bv2yQU43Nd -e OUTDIR=/tmp/tmp.NPUCzg1VTX -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.Bv2yQU43Nd' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.NPUCzg1VTX/output | log_filter > /tmp/tmp.NPUCzg1VTX/log > diff /tmp/tmp.6twLjNMPIK/output /tmp/tmp.NPUCzg1VTX/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.NPUCzg1VTX/log && die; } > diff log /tmp/tmp.NPUCzg1VTX/log || die > custom_test > tar -C /tmp/tmp.NPUCzg1VTX -xf /tmp/tmp.NPUCzg1VTX/foo.tar.gz || die > diff /tmp/tmp.NPUCzg1VTX/foo/cookie /tmp/tmp.Bv2yQU43Nd/cookie || die > [ 'b43f3f4904ee0d0faeefb04de781b3fbb7544263' = '' ] && die > tar -C /tmp/tmp.NPUCzg1VTX -xf /tmp/tmp.NPUCzg1VTX/bar.tar.gz || die > diff /tmp/tmp.NPUCzg1VTX/bar/cookie /tmp/tmp.Bv2yQU43Nd/cookie >/dev/null && die > [ 'b43f3f4904ee0d0faeefb04de781b3fbb7544263' = 'b43f3f4904ee0d0faeefb04de781b3fbb7544263' ] || 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.pIBsSDotbq/.git/ [master (root-commit) 55c7e2c] 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.pIBsSDotbq/bar/input | preproc -C /tmp/tmp.pIBsSDotbq/foo -e OUTDIR=/tmp/tmp.ImlJroYgGU -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.pIBsSDotbq/bar' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.ImlJroYgGU/output | log_filter > /tmp/tmp.ImlJroYgGU/log > diff /tmp/tmp.4xx042MLJ1/output /tmp/tmp.ImlJroYgGU/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.ImlJroYgGU/log && die; } > diff log /tmp/tmp.ImlJroYgGU/log || die > custom_test > tar -C /tmp/tmp.ImlJroYgGU -xf /tmp/tmp.ImlJroYgGU/dir_pack_nodirname.tar.gz || die > diff /tmp/tmp.ImlJroYgGU/test-bar/cookie /tmp/tmp.pIBsSDotbq/bar/cookie || die > tar -C /tmp/tmp.ImlJroYgGU -xf /tmp/tmp.ImlJroYgGU/dir_archive_nodirname.tar.gz || die > diff /tmp/tmp.ImlJroYgGU/test-bar/cookie /tmp/tmp.pIBsSDotbq/bar/cookie || die > tar -C /tmp/tmp.ImlJroYgGU -xf /tmp/tmp.ImlJroYgGU/dir_pack_foo.tar.gz || die > diff /tmp/tmp.ImlJroYgGU/foo/cookie /tmp/tmp.pIBsSDotbq/bar/cookie || die > tar -C /tmp/tmp.ImlJroYgGU -xf /tmp/tmp.ImlJroYgGU/dir_archive_bar.tar.gz || die > diff /tmp/tmp.ImlJroYgGU/bar/cookie /tmp/tmp.pIBsSDotbq/bar/cookie || die > tar -C /tmp/tmp.ImlJroYgGU -xf /tmp/tmp.ImlJroYgGU/cwd_pack_nodirname.tar.gz || die > diff /tmp/tmp.ImlJroYgGU/test-foo/cookie /tmp/tmp.pIBsSDotbq/foo/cookie || die > tar -C /tmp/tmp.ImlJroYgGU -xf /tmp/tmp.ImlJroYgGU/cwd_archive_nodirname.tar.gz || die > diff /tmp/tmp.ImlJroYgGU/test-foo/cookie /tmp/tmp.pIBsSDotbq/foo/cookie || die > tar -C /tmp/tmp.ImlJroYgGU -xf /tmp/tmp.ImlJroYgGU/cwd_pack_foo.tar.gz || die > diff /tmp/tmp.ImlJroYgGU/foo/cookie /tmp/tmp.pIBsSDotbq/foo/cookie || die > tar -C /tmp/tmp.ImlJroYgGU -xf /tmp/tmp.ImlJroYgGU/cwd_archive_bar.tar.gz || die > diff /tmp/tmp.ImlJroYgGU/bar/cookie /tmp/tmp.pIBsSDotbq/foo/cookie || die > tar -C /tmp/tmp.ImlJroYgGU -xf /tmp/tmp.ImlJroYgGU/baz_pack_nodirname.tar.gz || die > diff /tmp/tmp.ImlJroYgGU/test-baz/cookie /tmp/tmp.pIBsSDotbq/baz/cookie || die > tar -C /tmp/tmp.ImlJroYgGU -xf /tmp/tmp.ImlJroYgGU/baz_archive_nodirname.tar.gz || die > diff /tmp/tmp.ImlJroYgGU/test-baz/cookie /tmp/tmp.pIBsSDotbq/baz/cookie || die > tar -C /tmp/tmp.ImlJroYgGU -xf /tmp/tmp.ImlJroYgGU/baz_pack_foo.tar.gz || die > diff /tmp/tmp.ImlJroYgGU/foo/cookie /tmp/tmp.pIBsSDotbq/baz/cookie || die > ls /tmp/tmp.ImlJroYgGU/foo/cookie_ignored 2>/dev/null && die > ls /tmp/tmp.ImlJroYgGU/foo/cookie_unadded 2>/dev/null && die > tar -C /tmp/tmp.ImlJroYgGU -xf /tmp/tmp.ImlJroYgGU/baz_archive_bar.tar.gz || die > diff /tmp/tmp.ImlJroYgGU/bar/cookie /tmp/tmp.pIBsSDotbq/baz/cookie || die > ls /tmp/tmp.ImlJroYgGU/bar/cookie_ignored 2>/dev/null && die > ls /tmp/tmp.ImlJroYgGU/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.P5LGCwzutP/.git/ > cat /tmp/tmp.P5LGCwzutP/bar/input | preproc -C /tmp/tmp.P5LGCwzutP/foo -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.P5LGCwzutP/bar' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.VfvuGuwBuq/output | log_filter > /tmp/tmp.VfvuGuwBuq/log > diff /tmp/tmp.HtVXdtrkgE/output /tmp/tmp.VfvuGuwBuq/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.VfvuGuwBuq/log && die; } > diff log /tmp/tmp.VfvuGuwBuq/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.ameodZ4yep/.git/ [master (root-commit) 94ef6ee] 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.ameodZ4yep/submodule'... done. [master 2a91c89] add submodule 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 submodule > cat /tmp/tmp.ameodZ4yep/input | preproc -C /tmp/tmp.ameodZ4yep -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.ameodZ4yep' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.DJS0iKFAGl/output | log_filter > /tmp/tmp.DJS0iKFAGl/log > diff /tmp/tmp.ywk2dkZXoG/output /tmp/tmp.DJS0iKFAGl/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.DJS0iKFAGl/log && die; } > diff log /tmp/tmp.DJS0iKFAGl/log || die success. > cat /tmp/tmp.ameodZ4yep/submodule/input_dir | preproc -C /tmp/tmp.ameodZ4yep -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.ameodZ4yep/submodule' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.DJS0iKFAGl/output | log_filter > /tmp/tmp.DJS0iKFAGl/log > diff /tmp/tmp.ywk2dkZXoG/output_dir /tmp/tmp.DJS0iKFAGl/output || { echo 'LOG DIFF:' && diff log_dir /tmp/tmp.DJS0iKFAGl/log && die; } > diff log_dir /tmp/tmp.DJS0iKFAGl/log || die success. > cat /tmp/tmp.ameodZ4yep/submodule/input_cwd | preproc -C /tmp/tmp.ameodZ4yep/submodule/subdir -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.ameodZ4yep/submodule' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.DJS0iKFAGl/output | log_filter > /tmp/tmp.DJS0iKFAGl/log > diff /tmp/tmp.ywk2dkZXoG/output_cwd /tmp/tmp.DJS0iKFAGl/output || { echo 'LOG DIFF:' && diff log_cwd /tmp/tmp.DJS0iKFAGl/log && die; } > diff log_cwd /tmp/tmp.DJS0iKFAGl/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.IhBl4DU7uV/.git/ [master (root-commit) 3ff36a0] 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.IhBl4DU7uV/submodule'... done. [master 7c796c6] add submodule 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 submodule > cat /tmp/tmp.IhBl4DU7uV/input_archive | preproc -C /tmp/tmp.IhBl4DU7uV -e OUTDIR=/tmp/tmp.J5L1wQog46 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.IhBl4DU7uV' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.J5L1wQog46/output | log_filter > /tmp/tmp.J5L1wQog46/log > custom_test_archive_clean > tar -C /tmp/tmp.J5L1wQog46 -xf /tmp/tmp.J5L1wQog46/test-7c796c63.tar.gz || die > [ -d /tmp/tmp.J5L1wQog46/test/submodule/subdir ] && die > tar -C /tmp/tmp.J5L1wQog46 -xf /tmp/tmp.J5L1wQog46/test-submodule-7c796c63.tar.gz || die > [ -f /tmp/tmp.J5L1wQog46/test-submodule/subdir/cookie ] || die > cat /tmp/tmp.J5L1wQog46/test-submodule/subdir/cookie | grep -q 0 || die > tar -C /tmp/tmp.J5L1wQog46 -xf /tmp/tmp.J5L1wQog46/test-submodule-subdir-7c796c63.tar.gz || die > [ -f /tmp/tmp.J5L1wQog46/test-submodule-subdir/cookie ] || die > cat /tmp/tmp.J5L1wQog46/test-submodule-subdir/cookie | grep -q 0 || die success. > cat /tmp/tmp.IhBl4DU7uV/input_pack | preproc -C /tmp/tmp.IhBl4DU7uV -e OUTDIR=/tmp/tmp.J5L1wQog46 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.IhBl4DU7uV' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.J5L1wQog46/output | log_filter > /tmp/tmp.J5L1wQog46/log > custom_test_pack_clean > tar -C /tmp/tmp.J5L1wQog46 -xf /tmp/tmp.J5L1wQog46/test-7c796c63.tar.gz || die > [ -f /tmp/tmp.J5L1wQog46/test/submodule/subdir ] && die > tar -C /tmp/tmp.J5L1wQog46 -xf /tmp/tmp.J5L1wQog46/test-submodule-7c796c63.tar.gz || die > [ -f /tmp/tmp.J5L1wQog46/test-submodule/subdir/cookie ] || die > cat /tmp/tmp.J5L1wQog46/test-submodule/subdir/cookie | grep -q 0 || die > tar -C /tmp/tmp.J5L1wQog46 -xf /tmp/tmp.J5L1wQog46/test-submodule-subdir-7c796c63.tar.gz || die > [ -f /tmp/tmp.J5L1wQog46/test-submodule-subdir/cookie ] || die > cat /tmp/tmp.J5L1wQog46/test-submodule-subdir/cookie | grep -q 0 || die success. [master 8b7f06a] submodule new commit 1 file changed, 1 insertion(+) > cat /tmp/tmp.IhBl4DU7uV/input_archive | preproc -C /tmp/tmp.IhBl4DU7uV -e OUTDIR=/tmp/tmp.J5L1wQog46 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.IhBl4DU7uV' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.J5L1wQog46/output | log_filter > /tmp/tmp.J5L1wQog46/log > custom_test_archive_submodule_new_commit > tar -C /tmp/tmp.J5L1wQog46 -xf /tmp/tmp.J5L1wQog46/test-7c796c63.tar.gz || die > [ -d /tmp/tmp.J5L1wQog46/test/submodule/subdir ] && die > tar -C /tmp/tmp.J5L1wQog46 -xf /tmp/tmp.J5L1wQog46/test-submodule-7c796c63.tar.gz || die > [ -f /tmp/tmp.J5L1wQog46/test-submodule/subdir/cookie ] || die > cat /tmp/tmp.J5L1wQog46/test-submodule/subdir/cookie | grep -q 0 || die > tar -C /tmp/tmp.J5L1wQog46 -xf /tmp/tmp.J5L1wQog46/test-submodule-subdir-7c796c63.tar.gz || die > [ -f /tmp/tmp.J5L1wQog46/test-submodule-subdir/cookie ] || die > cat /tmp/tmp.J5L1wQog46/test-submodule-subdir/cookie | grep -q 0 || die success. > cat /tmp/tmp.IhBl4DU7uV/input_pack | preproc -C /tmp/tmp.IhBl4DU7uV -e OUTDIR=/tmp/tmp.J5L1wQog46 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.IhBl4DU7uV' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.J5L1wQog46/output | log_filter > /tmp/tmp.J5L1wQog46/log > custom_test_pack_submodule_new_commit > tar -C /tmp/tmp.J5L1wQog46 -xf /tmp/tmp.J5L1wQog46/test-7c796c63-dirty.tar.gz || die > [ -d /tmp/tmp.J5L1wQog46/test/submodule/subdir ] && die > tar -C /tmp/tmp.J5L1wQog46 -xf /tmp/tmp.J5L1wQog46/test-submodule-7c796c63-dirty.tar.gz || die > cat /tmp/tmp.J5L1wQog46/test-submodule/subdir/cookie | grep -q 1 || die > tar -C /tmp/tmp.J5L1wQog46 -xf /tmp/tmp.J5L1wQog46/test-submodule-subdir-7c796c63.tar.gz || die > cat /tmp/tmp.J5L1wQog46/test-submodule-subdir/cookie | grep -q 1 || die success. > cat /tmp/tmp.IhBl4DU7uV/input_archive | preproc -C /tmp/tmp.IhBl4DU7uV -e OUTDIR=/tmp/tmp.J5L1wQog46 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.IhBl4DU7uV' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.J5L1wQog46/output | log_filter > /tmp/tmp.J5L1wQog46/log > custom_test_archive_submodule_dirty > tar -C /tmp/tmp.J5L1wQog46 -xf /tmp/tmp.J5L1wQog46/test-7c796c63.tar.gz || die > [ -d /tmp/tmp.J5L1wQog46/test/submodule/subdir ] && die > tar -C /tmp/tmp.J5L1wQog46 -xf /tmp/tmp.J5L1wQog46/test-submodule-7c796c63.tar.gz || die > [ -f /tmp/tmp.J5L1wQog46/test-submodule/subdir/cookie ] || die > cat /tmp/tmp.J5L1wQog46/test-submodule/subdir/cookie | grep -q 0 || die > tar -C /tmp/tmp.J5L1wQog46 -xf /tmp/tmp.J5L1wQog46/test-submodule-subdir-7c796c63.tar.gz || die > [ -f /tmp/tmp.J5L1wQog46/test-submodule-subdir/cookie ] || die > cat /tmp/tmp.J5L1wQog46/test-submodule-subdir/cookie | grep -q 0 || die success. > cat /tmp/tmp.IhBl4DU7uV/input_pack | preproc -C /tmp/tmp.IhBl4DU7uV -e OUTDIR=/tmp/tmp.J5L1wQog46 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.IhBl4DU7uV' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.J5L1wQog46/output | log_filter > /tmp/tmp.J5L1wQog46/log > custom_test_pack_submodule_dirty > tar -C /tmp/tmp.J5L1wQog46 -xf /tmp/tmp.J5L1wQog46/test-7c796c63-dirty.tar.gz || die > [ -d /tmp/tmp.J5L1wQog46/test/submodule/subdir ] && die > tar -C /tmp/tmp.J5L1wQog46 -xf /tmp/tmp.J5L1wQog46/test-submodule-7c796c63-dirty.tar.gz || die > cat /tmp/tmp.J5L1wQog46/test-submodule/subdir/cookie | grep -q 2 || die > tar -C /tmp/tmp.J5L1wQog46 -xf /tmp/tmp.J5L1wQog46/test-submodule-subdir-7c796c63.tar.gz || die > cat /tmp/tmp.J5L1wQog46/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.PD2AeQTwgi/.git/ [master (root-commit) 08c9fd2] 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 11f034a] side branch commit 1 file changed, 1 insertion(+) Switched to branch 'master' > cat /tmp/tmp.PD2AeQTwgi/input | preproc -C /tmp/tmp.PD2AeQTwgi -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.PD2AeQTwgi' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.5bi7GXGGTO/output | log_filter > /tmp/tmp.5bi7GXGGTO/log > diff /tmp/tmp.U2govumqUj/output /tmp/tmp.5bi7GXGGTO/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.5bi7GXGGTO/log && die; } > diff log /tmp/tmp.5bi7GXGGTO/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.UMdGoTkuP8/.git/ [master (root-commit) b4708e9] inital_commit 2 files changed, 117 insertions(+) create mode 100644 foo/file create mode 100644 input [master 93bde0d] commit after tag 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 file > cat /tmp/tmp.UMdGoTkuP8/input | preproc -C /tmp/tmp.UMdGoTkuP8 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.UMdGoTkuP8' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.n2Sv7xnpgC/output | log_filter > /tmp/tmp.n2Sv7xnpgC/log > diff /tmp/tmp.pyAkK3d6Kp/output /tmp/tmp.n2Sv7xnpgC/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.n2Sv7xnpgC/log && die; } > diff log /tmp/tmp.n2Sv7xnpgC/log || die success. ====================== test_uninited ====================== > cat /tmp/tmp.4WYeb3exIA/input | preproc -C /tmp/tmp.4WYeb3exIA -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.4WYeb3exIA' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.kce34dDZvl/output | log_filter > /tmp/tmp.kce34dDZvl/log > diff /tmp/tmp.IUgCak5k3Q/output /tmp/tmp.kce34dDZvl/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.kce34dDZvl/log && die; } > diff log /tmp/tmp.kce34dDZvl/log || die success. + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rpkg-macros-2.0-1.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.ohglHh + umask 022 + cd /builddir/build/BUILD + cd rpkg-util-macros + LICENSEDIR=/builddir/build/BUILDROOT/rpkg-macros-2.0-1.x86_64/usr/share/licenses/rpkg-macros + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rpkg-macros-2.0-1.x86_64/usr/share/licenses/rpkg-macros + cp -pr LICENSE /builddir/build/BUILDROOT/rpkg-macros-2.0-1.x86_64/usr/share/licenses/rpkg-macros + RPM_EC=0 ++ jobs -p + exit 0 Provides: rpkg-macros = 2.0-1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /bin/bash Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rpkg-macros-2.0-1.x86_64 Wrote: /builddir/build/RPMS/rpkg-macros-2.0-1.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.06WwUe + umask 022 + cd /builddir/build/BUILD + cd rpkg-util-macros + /usr/bin/rm -rf /builddir/build/BUILDROOT/rpkg-macros-2.0-1.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0