Mock Version: 2.9 Mock Version: 2.9 Mock Version: 2.9 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/rpkg-macros.spec'], chrootPath='/var/lib/mock/epel7-build-26931247-3412346/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=201600uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --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: noarch Building for target noarch Wrote: /builddir/build/SRPMS/rpkg-macros-2.0-1.el7.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/rpkg-macros.spec'], chrootPath='/var/lib/mock/epel7-build-26931247-3412346/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=201600uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --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: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.mHB4u2 + 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 -xvvf - drwxrwxr-x root/root 0 2021-01-17 23:13 rpkg-util-macros/ -rw-rw-r-- root/root 18092 2021-01-17 23:13 rpkg-util-macros/LICENSE drwxrwxr-x root/root 0 2021-01-17 23:13 rpkg-util-macros/bin/ -rwxrwxr-x root/root 1734 2021-01-17 23:13 rpkg-util-macros/bin/pack_sources drwxrwxr-x root/root 0 2021-01-17 23:13 rpkg-util-macros/examples/ -rw-rw-r-- root/root 2432 2021-01-17 23:13 rpkg-util-macros/examples/git.spec.rpkg -rw-rw-r-- root/root 1180 2021-01-17 23:13 rpkg-util-macros/examples/git_cwd.spec.rpkg -rw-rw-r-- root/root 1309 2021-01-17 23:13 rpkg-util-macros/examples/git_dir.spec.rpkg -rw-rw-r-- root/root 1076 2021-01-17 23:13 rpkg-util-macros/examples/git_repo.spec.rpkg drwxrwxr-x root/root 0 2021-01-17 23:13 rpkg-util-macros/macros.d/ -rw-rw-r-- root/root 313 2021-01-17 23:13 rpkg-util-macros/macros.d/all.bash -rw-rw-r-- root/root 27249 2021-01-17 23:13 rpkg-util-macros/macros.d/git.bash drwxrwxr-x root/root 0 2021-01-17 23:13 rpkg-util-macros/macros.d/helpers/ -rwxrwxr-x root/root 625 2021-01-17 23:13 rpkg-util-macros/macros.d/helpers/git -rwxrwxr-x root/root 168 2021-01-17 23:13 rpkg-util-macros/macros.d/helpers/git_branch -rwxrwxr-x root/root 126 2021-01-17 23:13 rpkg-util-macros/macros.d/helpers/git_head -rwxrwxr-x root/root 151 2021-01-17 23:13 rpkg-util-macros/macros.d/helpers/git_head_short -rwxrwxr-x root/root 769 2021-01-17 23:13 rpkg-util-macros/macros.d/helpers/git_merged_tag_refs -rwxrwxr-x root/root 533 2021-01-17 23:13 rpkg-util-macros/macros.d/helpers/git_remote -rwxrwxr-x root/root 357 2021-01-17 23:13 rpkg-util-macros/macros.d/helpers/git_remote_url -rwxrwxr-x root/root 239 2021-01-17 23:13 rpkg-util-macros/macros.d/helpers/git_root -rwxrwxr-x root/root 199 2021-01-17 23:13 rpkg-util-macros/macros.d/helpers/git_status -rwxrwxr-x root/root 995 2021-01-17 23:13 rpkg-util-macros/macros.d/helpers/git_submodule_refs drwxrwxr-x root/root 0 2021-01-17 23:13 rpkg-util-macros/macros.d/library/ -rw-rw-r-- root/root 876 2021-01-17 23:13 rpkg-util-macros/macros.d/library/log.bash -rw-rw-r-- root/root 606 2021-01-17 23:13 rpkg-util-macros/macros.d/library/output.bash -rw-rw-r-- root/root 1281 2021-01-17 23:13 rpkg-util-macros/macros.d/library/query.bash -rw-rw-r-- root/root 376 2021-01-17 23:13 rpkg-util-macros/macros.d/library/utils.bash drwxrwxr-x root/root 0 2021-01-17 23:13 rpkg-util-macros/man/ -rw-rw-r-- root/root 28637 2021-01-17 23:13 rpkg-util-macros/man/rpkg-macros.1 -rw-rw-r-- root/root 2531 2021-01-17 23:13 rpkg-util-macros/rpkg-macros.spec.rpkg drwxrwxr-x root/root 0 2021-01-17 23:13 rpkg-util-macros/tests/ -rw-rw-r-- root/root 716 2021-01-17 23:13 rpkg-util-macros/tests/README -rw-rw-r-- root/root 2559 2021-01-17 23:13 rpkg-util-macros/tests/input -rw-rw-r-- root/root 3125 2021-01-17 23:13 rpkg-util-macros/tests/lib.bash -rwxrwxr-x root/root 246 2021-01-17 23:13 rpkg-util-macros/tests/run drwxrwxr-x root/root 0 2021-01-17 23:13 rpkg-util-macros/tests/test_bash/ -rw-rw-r-- root/root 78 2021-01-17 23:13 rpkg-util-macros/tests/test_bash/input -rw-rw-r-- root/root 96 2021-01-17 23:13 rpkg-util-macros/tests/test_bash/log -rw-rw-r-- root/root 96 2021-01-17 23:13 rpkg-util-macros/tests/test_bash/output -rwxrwxr-x root/root 408 2021-01-17 23:13 rpkg-util-macros/tests/test_bash/run drwxrwxr-x root/root 0 2021-01-17 23:13 rpkg-util-macros/tests/test_committed/ -rw-rw-r-- root/root 3817 2021-01-17 23:13 rpkg-util-macros/tests/test_committed/log -rw-rw-r-- root/root 4164 2021-01-17 23:13 rpkg-util-macros/tests/test_committed/output -rwxrwxr-x root/root 817 2021-01-17 23:13 rpkg-util-macros/tests/test_committed/run drwxrwxr-x root/root 0 2021-01-17 23:13 rpkg-util-macros/tests/test_dirty/ -rw-rw-r-- root/root 3817 2021-01-17 23:13 rpkg-util-macros/tests/test_dirty/log -rw-rw-r-- root/root 4377 2021-01-17 23:13 rpkg-util-macros/tests/test_dirty/output -rwxrwxr-x root/root 668 2021-01-17 23:13 rpkg-util-macros/tests/test_dirty/run drwxrwxr-x root/root 0 2021-01-17 23:13 rpkg-util-macros/tests/test_fn_bumped_version/ -rw-rw-r-- root/root 271 2021-01-17 23:13 rpkg-util-macros/tests/test_fn_bumped_version/input -rw-rw-r-- root/root 465 2021-01-17 23:13 rpkg-util-macros/tests/test_fn_bumped_version/log -rw-rw-r-- root/root 319 2021-01-17 23:13 rpkg-util-macros/tests/test_fn_bumped_version/output -rwxrwxr-x root/root 351 2021-01-17 23:13 rpkg-util-macros/tests/test_fn_bumped_version/run drwxrwxr-x root/root 0 2021-01-17 23:13 rpkg-util-macros/tests/test_fn_git_prefix/ -rw-rw-r-- root/root 198 2021-01-17 23:13 rpkg-util-macros/tests/test_fn_git_prefix/input -rw-rw-r-- root/root 234 2021-01-17 23:13 rpkg-util-macros/tests/test_fn_git_prefix/log -rw-rw-r-- root/root 263 2021-01-17 23:13 rpkg-util-macros/tests/test_fn_git_prefix/output -rwxrwxr-x root/root 627 2021-01-17 23:13 rpkg-util-macros/tests/test_fn_git_prefix/run drwxrwxr-x root/root 0 2021-01-17 23:13 rpkg-util-macros/tests/test_fn_is_physical_subpath/ -rw-rw-r-- root/root 515 2021-01-17 23:13 rpkg-util-macros/tests/test_fn_is_physical_subpath/input -rw-rw-r-- root/root 581 2021-01-17 23:13 rpkg-util-macros/tests/test_fn_is_physical_subpath/log -rw-rw-r-- root/root 565 2021-01-17 23:13 rpkg-util-macros/tests/test_fn_is_physical_subpath/output -rwxrwxr-x root/root 408 2021-01-17 23:13 rpkg-util-macros/tests/test_fn_is_physical_subpath/run drwxrwxr-x root/root 0 2021-01-17 23:13 rpkg-util-macros/tests/test_fn_is_strict_physical_subpath/ -rw-rw-r-- root/root 589 2021-01-17 23:13 rpkg-util-macros/tests/test_fn_is_strict_physical_subpath/input -rw-rw-r-- root/root 655 2021-01-17 23:13 rpkg-util-macros/tests/test_fn_is_strict_physical_subpath/log -rw-rw-r-- root/root 636 2021-01-17 23:13 rpkg-util-macros/tests/test_fn_is_strict_physical_subpath/output -rwxrwxr-x root/root 408 2021-01-17 23:13 rpkg-util-macros/tests/test_fn_is_strict_physical_subpath/run drwxrwxr-x root/root 0 2021-01-17 23:13 rpkg-util-macros/tests/test_fn_version_dirty_appendix/ -rw-rw-r-- root/root 27 2021-01-17 23:13 rpkg-util-macros/tests/test_fn_version_dirty_appendix/input -rw-rw-r-- root/root 33 2021-01-17 23:13 rpkg-util-macros/tests/test_fn_version_dirty_appendix/log -rw-rw-r-- root/root 29 2021-01-17 23:13 rpkg-util-macros/tests/test_fn_version_dirty_appendix/output_clean -rw-rw-r-- root/root 42 2021-01-17 23:13 rpkg-util-macros/tests/test_fn_version_dirty_appendix/output_dirty -rw-rw-r-- root/root 35 2021-01-17 23:13 rpkg-util-macros/tests/test_fn_version_dirty_appendix/output_dirty_manual -rwxrwxr-x root/root 1118 2021-01-17 23:13 rpkg-util-macros/tests/test_fn_version_dirty_appendix/run drwxrwxr-x root/root 0 2021-01-17 23:13 rpkg-util-macros/tests/test_inited/ -rw-rw-r-- root/root 8188 2021-01-17 23:13 rpkg-util-macros/tests/test_inited/log -rw-rw-r-- root/root 2999 2021-01-17 23:13 rpkg-util-macros/tests/test_inited/output -rwxrwxr-x root/root 500 2021-01-17 23:13 rpkg-util-macros/tests/test_inited/run drwxrwxr-x root/root 0 2021-01-17 23:13 rpkg-util-macros/tests/test_inited_origin_set/ -rw-rw-r-- root/root 4643 2021-01-17 23:13 rpkg-util-macros/tests/test_inited_origin_set/log -rw-rw-r-- root/root 3558 2021-01-17 23:13 rpkg-util-macros/tests/test_inited_origin_set/output -rwxrwxr-x root/root 569 2021-01-17 23:13 rpkg-util-macros/tests/test_inited_origin_set/run drwxrwxr-x root/root 0 2021-01-17 23:13 rpkg-util-macros/tests/test_sources/ -rw-rw-r-- root/root 127 2021-01-17 23:13 rpkg-util-macros/tests/test_sources/input -rw-rw-r-- root/root 289 2021-01-17 23:13 rpkg-util-macros/tests/test_sources/log -rw-rw-r-- root/root 141 2021-01-17 23:13 rpkg-util-macros/tests/test_sources/output -rwxrwxr-x root/root 954 2021-01-17 23:13 rpkg-util-macros/tests/test_sources/run drwxrwxr-x root/root 0 2021-01-17 23:13 rpkg-util-macros/tests/test_sources_committed/ -rw-rw-r-- root/root 127 2021-01-17 23:13 rpkg-util-macros/tests/test_sources_committed/input -rw-rw-r-- root/root 247 2021-01-17 23:13 rpkg-util-macros/tests/test_sources_committed/log -rw-rw-r-- root/root 151 2021-01-17 23:13 rpkg-util-macros/tests/test_sources_committed/output -rwxrwxr-x root/root 2998 2021-01-17 23:13 rpkg-util-macros/tests/test_sources_committed/run drwxrwxr-x root/root 0 2021-01-17 23:13 rpkg-util-macros/tests/test_sources_committed_dirty/ -rw-rw-r-- root/root 127 2021-01-17 23:13 rpkg-util-macros/tests/test_sources_committed_dirty/input -rw-rw-r-- root/root 193 2021-01-17 23:13 rpkg-util-macros/tests/test_sources_committed_dirty/log -rw-rw-r-- root/root 151 2021-01-17 23:13 rpkg-util-macros/tests/test_sources_committed_dirty/output -rwxrwxr-x root/root 1281 2021-01-17 23:13 rpkg-util-macros/tests/test_sources_committed_dirty/run drwxrwxr-x root/root 0 2021-01-17 23:13 rpkg-util-macros/tests/test_sources_subdir/ -rw-rw-r-- root/root 763 2021-01-17 23:13 rpkg-util-macros/tests/test_sources_subdir/input -rw-rw-r-- root/root 1478 2021-01-17 23:13 rpkg-util-macros/tests/test_sources_subdir/log -rw-rw-r-- root/root 1069 2021-01-17 23:13 rpkg-util-macros/tests/test_sources_subdir/output -rwxrwxr-x root/root 2682 2021-01-17 23:13 rpkg-util-macros/tests/test_sources_subdir/run drwxrwxr-x root/root 0 2021-01-17 23:13 rpkg-util-macros/tests/test_subdir/ -rw-rw-r-- root/root 4643 2021-01-17 23:13 rpkg-util-macros/tests/test_subdir/log -rw-rw-r-- root/root 3588 2021-01-17 23:13 rpkg-util-macros/tests/test_subdir/output -rwxrwxr-x root/root 546 2021-01-17 23:13 rpkg-util-macros/tests/test_subdir/run drwxrwxr-x root/root 0 2021-01-17 23:13 rpkg-util-macros/tests/test_submodule/ -rw-rw-r-- root/root 451 2021-01-17 23:13 rpkg-util-macros/tests/test_submodule/input -rw-rw-r-- root/root 106 2021-01-17 23:13 rpkg-util-macros/tests/test_submodule/input_cwd -rw-rw-r-- root/root 106 2021-01-17 23:13 rpkg-util-macros/tests/test_submodule/input_dir -rw-rw-r-- root/root 523 2021-01-17 23:13 rpkg-util-macros/tests/test_submodule/log -rw-rw-r-- root/root 148 2021-01-17 23:13 rpkg-util-macros/tests/test_submodule/log_cwd -rw-rw-r-- root/root 148 2021-01-17 23:13 rpkg-util-macros/tests/test_submodule/log_dir -rw-rw-r-- root/root 1010 2021-01-17 23:13 rpkg-util-macros/tests/test_submodule/output -rw-rw-r-- root/root 385 2021-01-17 23:13 rpkg-util-macros/tests/test_submodule/output_cwd -rw-rw-r-- root/root 351 2021-01-17 23:13 rpkg-util-macros/tests/test_submodule/output_dir -rwxrwxr-x root/root 1438 2021-01-17 23:13 rpkg-util-macros/tests/test_submodule/run drwxrwxr-x root/root 0 2021-01-17 23:13 rpkg-util-macros/tests/test_submodule_sources/ -rw-rw-r-- root/root 114 2021-01-17 23:13 rpkg-util-macros/tests/test_submodule_sources/input_archive -rw-rw-r-- root/root 105 2021-01-17 23:13 rpkg-util-macros/tests/test_submodule_sources/input_pack -rwxrwxr-x root/root 5980 2021-01-17 23:13 rpkg-util-macros/tests/test_submodule_sources/run drwxrwxr-x root/root 0 2021-01-17 23:13 rpkg-util-macros/tests/test_tagged/ -rw-rw-r-- root/root 3817 2021-01-17 23:13 rpkg-util-macros/tests/test_tagged/log -rw-rw-r-- root/root 6953 2021-01-17 23:13 rpkg-util-macros/tests/test_tagged/output -rwxrwxr-x root/root 1676 2021-01-17 23:13 rpkg-util-macros/tests/test_tagged/run drwxrwxr-x root/root 0 2021-01-17 23:13 rpkg-util-macros/tests/test_tagged_committed/ -rw-rw-r-- root/root 3817 2021-01-17 23:13 rpkg-util-macros/tests/test_tagged_committed/log -rw-rw-r-- root/root 4436 2021-01-17 23:13 rpkg-util-macros/tests/test_tagged_committed/output -rwxrwxr-x root/root 796 2021-01-17 23:13 rpkg-util-macros/tests/test_tagged_committed/run drwxrwxr-x root/root 0 2021-01-17 23:13 rpkg-util-macros/tests/test_uninited/ -rw-rw-r-- root/root 10291 2021-01-17 23:13 rpkg-util-macros/tests/test_uninited/log -rw-rw-r-- root/root 2783 2021-01-17 23:13 rpkg-util-macros/tests/test_uninited/output -rwxrwxr-x root/root 355 2021-01-17 23:13 rpkg-util-macros/tests/test_uninited/run + 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.RVNVly + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rpkg-macros-2.0-1.el7.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rpkg-macros-2.0-1.el7.noarch ++ dirname /builddir/build/BUILDROOT/rpkg-macros-2.0-1.el7.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rpkg-macros-2.0-1.el7.noarch + cd rpkg-util-macros + install -d /builddir/build/BUILDROOT/rpkg-macros-2.0-1.el7.noarch/usr/lib + install -d /builddir/build/BUILDROOT/rpkg-macros-2.0-1.el7.noarch/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.el7.noarch/usr/lib/rpkg.macros.d + install -d /builddir/build/BUILDROOT/rpkg-macros-2.0-1.el7.noarch/usr/bin + install -p -m 755 bin/pack_sources /builddir/build/BUILDROOT/rpkg-macros-2.0-1.el7.noarch/usr/bin/pack_sources + install -d /builddir/build/BUILDROOT/rpkg-macros-2.0-1.el7.noarch/usr/share/man/man1 + install -p -m 644 man/rpkg-macros.1 /builddir/build/BUILDROOT/rpkg-macros-2.0-1.el7.noarch//usr/share/man/man1/ + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 /builddir/build/BUILD/rpkg-util-macros /usr/lib/rpm/sepdebugcrcfix: Updated 0 CRC32s, 0 CRC32s did match. find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.wcwUo4 + umask 022 + cd /builddir/build/BUILD + cd rpkg-util-macros + PATH=bin/:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + tests/run ====================== test_bash ====================== Initialized empty Git repository in /tmp/tmp.4ijDDTzn08/.git/ > cat /tmp/tmp.4ijDDTzn08/input | preproc -C /tmp/tmp.4ijDDTzn08 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.4ijDDTzn08' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.rhr5KiAKEt/output | log_filter > /tmp/tmp.rhr5KiAKEt/log > diff /tmp/tmp.V6Jubd0ZHS/output /tmp/tmp.rhr5KiAKEt/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.rhr5KiAKEt/log && die; } > diff log /tmp/tmp.rhr5KiAKEt/log || die success. ====================== test_committed ====================== Initialized empty Git repository in /tmp/tmp.qCjLZqlJvX/.git/ [master (root-commit) d24e114] commit 1 1 file changed, 117 insertions(+) create mode 100644 input [master 8250c5c] commit 2 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 foo/file [master 248dd43] commit 3 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 bar/file > cat /tmp/tmp.qCjLZqlJvX/input | preproc -C /tmp/tmp.qCjLZqlJvX -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.qCjLZqlJvX' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.I5guQMKLr5/output | log_filter > /tmp/tmp.I5guQMKLr5/log > diff /tmp/tmp.2YIKgd5uvB/output /tmp/tmp.I5guQMKLr5/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.I5guQMKLr5/log && die; } > diff log /tmp/tmp.I5guQMKLr5/log || die success. ====================== test_dirty ====================== Initialized empty Git repository in /tmp/tmp.5xESFTiLV3/.git/ [master (root-commit) 0da4c7e] inital_commit 2 files changed, 117 insertions(+) create mode 100644 foo/file create mode 100644 input > cat /tmp/tmp.5xESFTiLV3/input | preproc -C /tmp/tmp.5xESFTiLV3 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.5xESFTiLV3' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.COmDuUysVg/output | log_filter > /tmp/tmp.COmDuUysVg/log > diff /tmp/tmp.WhCTzcRZFt/output /tmp/tmp.COmDuUysVg/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.COmDuUysVg/log && die; } > diff log /tmp/tmp.COmDuUysVg/log || die success. ====================== test_fn_bumped_version ====================== > cat /tmp/tmp.r9U7f1kNG5/input | preproc -C /tmp/tmp.r9U7f1kNG5 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.r9U7f1kNG5' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.6zE1CY4pmy/output | log_filter > /tmp/tmp.6zE1CY4pmy/log > diff /tmp/tmp.WtLklyGuwG/output /tmp/tmp.6zE1CY4pmy/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.6zE1CY4pmy/log && die; } > diff log /tmp/tmp.6zE1CY4pmy/log || die success. ====================== test_fn_git_prefix ====================== Initialized empty Git repository in /tmp/tmp.bsmA5hzJDR/.git/ [master (root-commit) 91a3164] add subdir with file 2 files changed, 6 insertions(+) create mode 100644 input create mode 100644 subdir/file Cloning into 'submodule'... done. [master c2bcf89] add submodule 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 submodule > cat /tmp/tmp.bsmA5hzJDR/input | preproc -C /tmp/tmp.bsmA5hzJDR -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.bsmA5hzJDR' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.Gfl3UR1WPW/output | log_filter > /tmp/tmp.Gfl3UR1WPW/log > diff /tmp/tmp.hEy2CPZmcp/output /tmp/tmp.Gfl3UR1WPW/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.Gfl3UR1WPW/log && die; } > diff log /tmp/tmp.Gfl3UR1WPW/log || die success. ====================== test_fn_is_physical_subpath ====================== Initialized empty Git repository in /tmp/tmp.srGsx3ux38/.git/ > cat /tmp/tmp.srGsx3ux38/input | preproc -C /tmp/tmp.srGsx3ux38 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.srGsx3ux38' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.ZSj2zCZyPQ/output | log_filter > /tmp/tmp.ZSj2zCZyPQ/log > diff /tmp/tmp.XrMPgstHrP/output /tmp/tmp.ZSj2zCZyPQ/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.ZSj2zCZyPQ/log && die; } > diff log /tmp/tmp.ZSj2zCZyPQ/log || die success. ====================== test_fn_is_strict_physical_subpath ====================== Initialized empty Git repository in /tmp/tmp.i3Qpyq5EqF/.git/ > cat /tmp/tmp.i3Qpyq5EqF/input | preproc -C /tmp/tmp.i3Qpyq5EqF -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.i3Qpyq5EqF' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.q5E9D4Dyxm/output | log_filter > /tmp/tmp.q5E9D4Dyxm/log > diff /tmp/tmp.x4zLLQ5UEh/output /tmp/tmp.q5E9D4Dyxm/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.q5E9D4Dyxm/log && die; } > diff log /tmp/tmp.q5E9D4Dyxm/log || die success. ====================== test_fn_version_dirty_appendix ====================== Initialized empty Git repository in /tmp/tmp.9ocPTnqgaF/.git/ [master (root-commit) 6d971b2] hello world 3 files changed, 3 insertions(+) create mode 100644 cookie create mode 100644 foo/cookie create mode 100644 input > cat /tmp/tmp.9ocPTnqgaF/input | preproc -C /tmp/tmp.9ocPTnqgaF -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.9ocPTnqgaF' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.jt3IyeCtWv/output | log_filter > /tmp/tmp.jt3IyeCtWv/log > diff /tmp/tmp.T1l3t8J3wG/output_clean /tmp/tmp.jt3IyeCtWv/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.jt3IyeCtWv/log && die; } > diff log /tmp/tmp.jt3IyeCtWv/log || die success. > cat /tmp/tmp.9ocPTnqgaF/input | preproc -C /tmp/tmp.9ocPTnqgaF -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.9ocPTnqgaF' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.jt3IyeCtWv/output | log_filter > /tmp/tmp.jt3IyeCtWv/log > diff /tmp/tmp.T1l3t8J3wG/output_dirty /tmp/tmp.jt3IyeCtWv/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.jt3IyeCtWv/log && die; } > diff log /tmp/tmp.jt3IyeCtWv/log || die success. > cat /tmp/tmp.9ocPTnqgaF/input | preproc -C /tmp/tmp.9ocPTnqgaF -e GIT_DIRTY=1 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.9ocPTnqgaF' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.jt3IyeCtWv/output | log_filter > /tmp/tmp.jt3IyeCtWv/log > diff /tmp/tmp.T1l3t8J3wG/output_dirty_manual /tmp/tmp.jt3IyeCtWv/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.jt3IyeCtWv/log && die; } > diff log /tmp/tmp.jt3IyeCtWv/log || die success. ====================== test_inited ====================== Initialized empty Git repository in /tmp/tmp.RxQFhWJsxS/.git/ > cat /tmp/tmp.RxQFhWJsxS/input | preproc -C /tmp/tmp.RxQFhWJsxS -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.RxQFhWJsxS' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.Ta6cJSXu9B/output | log_filter > /tmp/tmp.Ta6cJSXu9B/log > diff /tmp/tmp.DLQmyd6I7j/output /tmp/tmp.Ta6cJSXu9B/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.Ta6cJSXu9B/log && die; } > diff log /tmp/tmp.Ta6cJSXu9B/log || die success. ====================== test_inited_origin_set ====================== Initialized empty Git repository in /tmp/tmp.wzpjYrFcc1/.git/ > cat /tmp/tmp.wzpjYrFcc1/input | preproc -C /tmp/tmp.wzpjYrFcc1 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.wzpjYrFcc1' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.9qjrGRZdVk/output | log_filter > /tmp/tmp.9qjrGRZdVk/log > diff /tmp/tmp.EdL6EQ0dMc/output /tmp/tmp.9qjrGRZdVk/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.9qjrGRZdVk/log && die; } > diff log /tmp/tmp.9qjrGRZdVk/log || die success. ====================== test_sources ====================== Initialized empty Git repository in /tmp/tmp.bLvMrPtmfG/.git/ > cat /tmp/tmp.bLvMrPtmfG/input | preproc -C /tmp/tmp.bLvMrPtmfG -e OUTDIR=/tmp/tmp.jBq3Vm7UDJ -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.bLvMrPtmfG' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.jBq3Vm7UDJ/output | log_filter > /tmp/tmp.jBq3Vm7UDJ/log > diff /tmp/tmp.PXErYktKJg/output /tmp/tmp.jBq3Vm7UDJ/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.jBq3Vm7UDJ/log && die; } > diff log /tmp/tmp.jBq3Vm7UDJ/log || die > custom_test > tar -C /tmp/tmp.jBq3Vm7UDJ -xf /tmp/tmp.jBq3Vm7UDJ/foo.tar.gz || die > diff /tmp/tmp.jBq3Vm7UDJ/foo/cookie /tmp/tmp.bLvMrPtmfG/cookie || die > ls /tmp/tmp.jBq3Vm7UDJ/foo/cookie_ignored 2>/dev/null && die > ls /tmp/tmp.jBq3Vm7UDJ/foo/cookie_unadded 2>/dev/null && die success. ====================== test_sources_committed ====================== Initialized empty Git repository in /tmp/tmp.H2O6DV9Htp/.git/ [master (root-commit) 26fca82] commit 1 2 files changed, 3 insertions(+) create mode 100644 cookie create mode 100644 input > cat /tmp/tmp.H2O6DV9Htp/input | preproc -C /tmp/tmp.H2O6DV9Htp -e OUTDIR=/tmp/tmp.MayJmLtVc6 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.H2O6DV9Htp' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.MayJmLtVc6/output | log_filter > /tmp/tmp.MayJmLtVc6/log > diff /tmp/tmp.pekR6aOcbL/output /tmp/tmp.MayJmLtVc6/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.MayJmLtVc6/log && die; } > diff log /tmp/tmp.MayJmLtVc6/log || die > custom_test > tar -C /tmp/tmp.MayJmLtVc6 -xf /tmp/tmp.MayJmLtVc6/foo.tar.gz || die > diff /tmp/tmp.MayJmLtVc6/foo/cookie /tmp/tmp.H2O6DV9Htp/cookie || die > [ '26fca825da5c3450f5ec7b81f385214905a0a2d2' = '26fca825da5c3450f5ec7b81f385214905a0a2d2' ] || die > tar -C /tmp/tmp.MayJmLtVc6 -xf /tmp/tmp.MayJmLtVc6/bar.tar.gz || die > diff /tmp/tmp.MayJmLtVc6/bar/cookie /tmp/tmp.H2O6DV9Htp/cookie || die > [ '26fca825da5c3450f5ec7b81f385214905a0a2d2' = '26fca825da5c3450f5ec7b81f385214905a0a2d2' ] || die success. > cat /tmp/tmp.H2O6DV9Htp/input | preproc -C /tmp/tmp.H2O6DV9Htp -e OUTDIR=/tmp/tmp.MayJmLtVc6 -e GIT_STATUS=somestatus -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.H2O6DV9Htp' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.MayJmLtVc6/output | log_filter > /tmp/tmp.MayJmLtVc6/log > test_nonempty_git_status > tar -C /tmp/tmp.MayJmLtVc6 -xf /tmp/tmp.MayJmLtVc6/foo.tar.gz || die > diff /tmp/tmp.MayJmLtVc6/foo/cookie /tmp/tmp.H2O6DV9Htp/cookie || die > [ '26fca825da5c3450f5ec7b81f385214905a0a2d2' = '' ] && die > tar -C /tmp/tmp.MayJmLtVc6 -xf /tmp/tmp.MayJmLtVc6/bar.tar.gz || die > diff /tmp/tmp.MayJmLtVc6/bar/cookie /tmp/tmp.H2O6DV9Htp/cookie || die > [ '26fca825da5c3450f5ec7b81f385214905a0a2d2' = '26fca825da5c3450f5ec7b81f385214905a0a2d2' ] || die success. > cat /tmp/tmp.H2O6DV9Htp/input | preproc -C /tmp/tmp.H2O6DV9Htp -e OUTDIR=/tmp/tmp.MayJmLtVc6 -e GIT_HEAD=somehead -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.H2O6DV9Htp' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.MayJmLtVc6/output | log_filter > /tmp/tmp.MayJmLtVc6/log > test_invalid_git_head > [ -f '/tmp/tmp.MayJmLtVc6/foo.tar.gz' ] && die > [ -f '/tmp/tmp.MayJmLtVc6/bar.tar.gz' ] && die success. > cat /tmp/tmp.H2O6DV9Htp/input | preproc -C /tmp/tmp.H2O6DV9Htp -e OUTDIR=/tmp/tmp.MayJmLtVc6 -e GIT_HEAD= -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.H2O6DV9Htp' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.MayJmLtVc6/output | log_filter > /tmp/tmp.MayJmLtVc6/log > test_empty_git_head > tar -C /tmp/tmp.MayJmLtVc6 -xf /tmp/tmp.MayJmLtVc6/foo.tar.gz || die > diff /tmp/tmp.MayJmLtVc6/foo/cookie /tmp/tmp.H2O6DV9Htp/cookie || die > [ '26fca825da5c3450f5ec7b81f385214905a0a2d2' = '' ] && die > [ -f '/tmp/tmp.MayJmLtVc6/bar.tar.gz' ] && die success. ====================== test_sources_committed_dirty ====================== Initialized empty Git repository in /tmp/tmp.jjQOtX4796/.git/ [master (root-commit) 8cddff7] commit 1 2 files changed, 3 insertions(+) create mode 100644 cookie create mode 100644 input > cat /tmp/tmp.jjQOtX4796/input | preproc -C /tmp/tmp.jjQOtX4796 -e OUTDIR=/tmp/tmp.Xx8msWo4KD -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.jjQOtX4796' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.Xx8msWo4KD/output | log_filter > /tmp/tmp.Xx8msWo4KD/log > diff /tmp/tmp.t3BrR3ilh3/output /tmp/tmp.Xx8msWo4KD/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.Xx8msWo4KD/log && die; } > diff log /tmp/tmp.Xx8msWo4KD/log || die > custom_test > tar -C /tmp/tmp.Xx8msWo4KD -xf /tmp/tmp.Xx8msWo4KD/foo.tar.gz || die > diff /tmp/tmp.Xx8msWo4KD/foo/cookie /tmp/tmp.jjQOtX4796/cookie || die > [ '8cddff739979efd2c392d22b0a3e89324d5678d0' = '' ] && die > tar -C /tmp/tmp.Xx8msWo4KD -xf /tmp/tmp.Xx8msWo4KD/bar.tar.gz || die > diff /tmp/tmp.Xx8msWo4KD/bar/cookie /tmp/tmp.jjQOtX4796/cookie >/dev/null && die > [ '8cddff739979efd2c392d22b0a3e89324d5678d0' = '8cddff739979efd2c392d22b0a3e89324d5678d0' ] || die success. ====================== test_sources_subdir ====================== Initialized empty Git repository in /tmp/tmp.TGynFolg2y/.git/ [master (root-commit) 905933f] 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.TGynFolg2y/bar/input | preproc -C /tmp/tmp.TGynFolg2y/foo -e OUTDIR=/tmp/tmp.oTI643sxMG -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.TGynFolg2y/bar' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.oTI643sxMG/output | log_filter > /tmp/tmp.oTI643sxMG/log > diff /tmp/tmp.KXUloZoEqQ/output /tmp/tmp.oTI643sxMG/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.oTI643sxMG/log && die; } > diff log /tmp/tmp.oTI643sxMG/log || die > custom_test > tar -C /tmp/tmp.oTI643sxMG -xf /tmp/tmp.oTI643sxMG/dir_pack_nodirname.tar.gz || die > diff /tmp/tmp.oTI643sxMG/test-bar/cookie /tmp/tmp.TGynFolg2y/bar/cookie || die > tar -C /tmp/tmp.oTI643sxMG -xf /tmp/tmp.oTI643sxMG/dir_archive_nodirname.tar.gz || die > diff /tmp/tmp.oTI643sxMG/test-bar/cookie /tmp/tmp.TGynFolg2y/bar/cookie || die > tar -C /tmp/tmp.oTI643sxMG -xf /tmp/tmp.oTI643sxMG/dir_pack_foo.tar.gz || die > diff /tmp/tmp.oTI643sxMG/foo/cookie /tmp/tmp.TGynFolg2y/bar/cookie || die > tar -C /tmp/tmp.oTI643sxMG -xf /tmp/tmp.oTI643sxMG/dir_archive_bar.tar.gz || die > diff /tmp/tmp.oTI643sxMG/bar/cookie /tmp/tmp.TGynFolg2y/bar/cookie || die > tar -C /tmp/tmp.oTI643sxMG -xf /tmp/tmp.oTI643sxMG/cwd_pack_nodirname.tar.gz || die > diff /tmp/tmp.oTI643sxMG/test-foo/cookie /tmp/tmp.TGynFolg2y/foo/cookie || die > tar -C /tmp/tmp.oTI643sxMG -xf /tmp/tmp.oTI643sxMG/cwd_archive_nodirname.tar.gz || die > diff /tmp/tmp.oTI643sxMG/test-foo/cookie /tmp/tmp.TGynFolg2y/foo/cookie || die > tar -C /tmp/tmp.oTI643sxMG -xf /tmp/tmp.oTI643sxMG/cwd_pack_foo.tar.gz || die > diff /tmp/tmp.oTI643sxMG/foo/cookie /tmp/tmp.TGynFolg2y/foo/cookie || die > tar -C /tmp/tmp.oTI643sxMG -xf /tmp/tmp.oTI643sxMG/cwd_archive_bar.tar.gz || die > diff /tmp/tmp.oTI643sxMG/bar/cookie /tmp/tmp.TGynFolg2y/foo/cookie || die > tar -C /tmp/tmp.oTI643sxMG -xf /tmp/tmp.oTI643sxMG/baz_pack_nodirname.tar.gz || die > diff /tmp/tmp.oTI643sxMG/test-baz/cookie /tmp/tmp.TGynFolg2y/baz/cookie || die > tar -C /tmp/tmp.oTI643sxMG -xf /tmp/tmp.oTI643sxMG/baz_archive_nodirname.tar.gz || die > diff /tmp/tmp.oTI643sxMG/test-baz/cookie /tmp/tmp.TGynFolg2y/baz/cookie || die > tar -C /tmp/tmp.oTI643sxMG -xf /tmp/tmp.oTI643sxMG/baz_pack_foo.tar.gz || die > diff /tmp/tmp.oTI643sxMG/foo/cookie /tmp/tmp.TGynFolg2y/baz/cookie || die > ls /tmp/tmp.oTI643sxMG/foo/cookie_ignored 2>/dev/null && die > ls /tmp/tmp.oTI643sxMG/foo/cookie_unadded 2>/dev/null && die > tar -C /tmp/tmp.oTI643sxMG -xf /tmp/tmp.oTI643sxMG/baz_archive_bar.tar.gz || die > diff /tmp/tmp.oTI643sxMG/bar/cookie /tmp/tmp.TGynFolg2y/baz/cookie || die > ls /tmp/tmp.oTI643sxMG/bar/cookie_ignored 2>/dev/null && die > ls /tmp/tmp.oTI643sxMG/bar/cookie_unadded 2>/dev/null && die success. ====================== test_subdir ====================== Initialized empty Git repository in /tmp/tmp.ZVDC2Eu1nM/.git/ > cat /tmp/tmp.ZVDC2Eu1nM/bar/input | preproc -C /tmp/tmp.ZVDC2Eu1nM/foo -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.ZVDC2Eu1nM/bar' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.wAYyXe31nd/output | log_filter > /tmp/tmp.wAYyXe31nd/log > diff /tmp/tmp.9G1f1OYP0s/output /tmp/tmp.wAYyXe31nd/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.wAYyXe31nd/log && die; } > diff log /tmp/tmp.wAYyXe31nd/log || die success. ====================== test_submodule ====================== Initialized empty Git repository in /tmp/tmp.4e5GN7z8zm/.git/ [master (root-commit) bda6d7e] 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 'submodule'... done. [master e602dc7] add submodule 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 submodule > cat /tmp/tmp.4e5GN7z8zm/input | preproc -C /tmp/tmp.4e5GN7z8zm -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.4e5GN7z8zm' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.yk1UFhpsYn/output | log_filter > /tmp/tmp.yk1UFhpsYn/log > diff /tmp/tmp.yg0RJNIAkn/output /tmp/tmp.yk1UFhpsYn/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.yk1UFhpsYn/log && die; } > diff log /tmp/tmp.yk1UFhpsYn/log || die success. > cat /tmp/tmp.4e5GN7z8zm/submodule/input_dir | preproc -C /tmp/tmp.4e5GN7z8zm -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.4e5GN7z8zm/submodule' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.yk1UFhpsYn/output | log_filter > /tmp/tmp.yk1UFhpsYn/log > diff /tmp/tmp.yg0RJNIAkn/output_dir /tmp/tmp.yk1UFhpsYn/output || { echo 'LOG DIFF:' && diff log_dir /tmp/tmp.yk1UFhpsYn/log && die; } > diff log_dir /tmp/tmp.yk1UFhpsYn/log || die success. > cat /tmp/tmp.4e5GN7z8zm/submodule/input_cwd | preproc -C /tmp/tmp.4e5GN7z8zm/submodule/subdir -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.4e5GN7z8zm/submodule' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.yk1UFhpsYn/output | log_filter > /tmp/tmp.yk1UFhpsYn/log > diff /tmp/tmp.yg0RJNIAkn/output_cwd /tmp/tmp.yk1UFhpsYn/output || { echo 'LOG DIFF:' && diff log_cwd /tmp/tmp.yk1UFhpsYn/log && die; } > diff log_cwd /tmp/tmp.yk1UFhpsYn/log || die success. ====================== test_submodule_sources ====================== Initialized empty Git repository in /tmp/tmp.pvPDDmy8Ia/.git/ [master (root-commit) d4dd5ec] initial commit 3 files changed, 7 insertions(+) create mode 100644 input_archive create mode 100644 input_pack create mode 100644 subdir/cookie Cloning into 'submodule'... done. [master cf86671] add submodule 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 submodule > cat /tmp/tmp.pvPDDmy8Ia/input_archive | preproc -C /tmp/tmp.pvPDDmy8Ia -e OUTDIR=/tmp/tmp.5sMXhqdOND -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.pvPDDmy8Ia' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.5sMXhqdOND/output | log_filter > /tmp/tmp.5sMXhqdOND/log > custom_test_archive_clean > tar -C /tmp/tmp.5sMXhqdOND -xf /tmp/tmp.5sMXhqdOND/test-cf866717.tar.gz || die > [ -d /tmp/tmp.5sMXhqdOND/test/submodule/subdir ] && die > tar -C /tmp/tmp.5sMXhqdOND -xf /tmp/tmp.5sMXhqdOND/test-submodule-cf866717.tar.gz || die > [ -f /tmp/tmp.5sMXhqdOND/test-submodule/subdir/cookie ] || die > cat /tmp/tmp.5sMXhqdOND/test-submodule/subdir/cookie | grep -q 0 || die > tar -C /tmp/tmp.5sMXhqdOND -xf /tmp/tmp.5sMXhqdOND/test-submodule-subdir-cf866717.tar.gz || die > [ -f /tmp/tmp.5sMXhqdOND/test-submodule-subdir/cookie ] || die > cat /tmp/tmp.5sMXhqdOND/test-submodule-subdir/cookie | grep -q 0 || die success. > cat /tmp/tmp.pvPDDmy8Ia/input_pack | preproc -C /tmp/tmp.pvPDDmy8Ia -e OUTDIR=/tmp/tmp.5sMXhqdOND -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.pvPDDmy8Ia' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.5sMXhqdOND/output | log_filter > /tmp/tmp.5sMXhqdOND/log > custom_test_pack_clean > tar -C /tmp/tmp.5sMXhqdOND -xf /tmp/tmp.5sMXhqdOND/test-cf866717.tar.gz || die > [ -f /tmp/tmp.5sMXhqdOND/test/submodule/subdir ] && die > tar -C /tmp/tmp.5sMXhqdOND -xf /tmp/tmp.5sMXhqdOND/test-submodule-cf866717.tar.gz || die > [ -f /tmp/tmp.5sMXhqdOND/test-submodule/subdir/cookie ] || die > cat /tmp/tmp.5sMXhqdOND/test-submodule/subdir/cookie | grep -q 0 || die > tar -C /tmp/tmp.5sMXhqdOND -xf /tmp/tmp.5sMXhqdOND/test-submodule-subdir-cf866717.tar.gz || die > [ -f /tmp/tmp.5sMXhqdOND/test-submodule-subdir/cookie ] || die > cat /tmp/tmp.5sMXhqdOND/test-submodule-subdir/cookie | grep -q 0 || die success. [master f70521b] submodule new commit 1 file changed, 1 insertion(+) > cat /tmp/tmp.pvPDDmy8Ia/input_archive | preproc -C /tmp/tmp.pvPDDmy8Ia -e OUTDIR=/tmp/tmp.5sMXhqdOND -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.pvPDDmy8Ia' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.5sMXhqdOND/output | log_filter > /tmp/tmp.5sMXhqdOND/log > custom_test_archive_submodule_new_commit > tar -C /tmp/tmp.5sMXhqdOND -xf /tmp/tmp.5sMXhqdOND/test-cf866717.tar.gz || die > [ -d /tmp/tmp.5sMXhqdOND/test/submodule/subdir ] && die > tar -C /tmp/tmp.5sMXhqdOND -xf /tmp/tmp.5sMXhqdOND/test-submodule-cf866717.tar.gz || die > [ -f /tmp/tmp.5sMXhqdOND/test-submodule/subdir/cookie ] || die > cat /tmp/tmp.5sMXhqdOND/test-submodule/subdir/cookie | grep -q 0 || die > tar -C /tmp/tmp.5sMXhqdOND -xf /tmp/tmp.5sMXhqdOND/test-submodule-subdir-cf866717.tar.gz || die > [ -f /tmp/tmp.5sMXhqdOND/test-submodule-subdir/cookie ] || die > cat /tmp/tmp.5sMXhqdOND/test-submodule-subdir/cookie | grep -q 0 || die success. > cat /tmp/tmp.pvPDDmy8Ia/input_pack | preproc -C /tmp/tmp.pvPDDmy8Ia -e OUTDIR=/tmp/tmp.5sMXhqdOND -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.pvPDDmy8Ia' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.5sMXhqdOND/output | log_filter > /tmp/tmp.5sMXhqdOND/log > custom_test_pack_submodule_new_commit > tar -C /tmp/tmp.5sMXhqdOND -xf /tmp/tmp.5sMXhqdOND/test-cf866717-dirty.tar.gz || die > [ -d /tmp/tmp.5sMXhqdOND/test/submodule/subdir ] && die > tar -C /tmp/tmp.5sMXhqdOND -xf /tmp/tmp.5sMXhqdOND/test-submodule-cf866717-dirty.tar.gz || die > cat /tmp/tmp.5sMXhqdOND/test-submodule/subdir/cookie | grep -q 1 || die > tar -C /tmp/tmp.5sMXhqdOND -xf /tmp/tmp.5sMXhqdOND/test-submodule-subdir-cf866717.tar.gz || die > cat /tmp/tmp.5sMXhqdOND/test-submodule-subdir/cookie | grep -q 1 || die success. > cat /tmp/tmp.pvPDDmy8Ia/input_archive | preproc -C /tmp/tmp.pvPDDmy8Ia -e OUTDIR=/tmp/tmp.5sMXhqdOND -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.pvPDDmy8Ia' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.5sMXhqdOND/output | log_filter > /tmp/tmp.5sMXhqdOND/log > custom_test_archive_submodule_dirty > tar -C /tmp/tmp.5sMXhqdOND -xf /tmp/tmp.5sMXhqdOND/test-cf866717.tar.gz || die > [ -d /tmp/tmp.5sMXhqdOND/test/submodule/subdir ] && die > tar -C /tmp/tmp.5sMXhqdOND -xf /tmp/tmp.5sMXhqdOND/test-submodule-cf866717.tar.gz || die > [ -f /tmp/tmp.5sMXhqdOND/test-submodule/subdir/cookie ] || die > cat /tmp/tmp.5sMXhqdOND/test-submodule/subdir/cookie | grep -q 0 || die > tar -C /tmp/tmp.5sMXhqdOND -xf /tmp/tmp.5sMXhqdOND/test-submodule-subdir-cf866717.tar.gz || die > [ -f /tmp/tmp.5sMXhqdOND/test-submodule-subdir/cookie ] || die > cat /tmp/tmp.5sMXhqdOND/test-submodule-subdir/cookie | grep -q 0 || die success. > cat /tmp/tmp.pvPDDmy8Ia/input_pack | preproc -C /tmp/tmp.pvPDDmy8Ia -e OUTDIR=/tmp/tmp.5sMXhqdOND -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.pvPDDmy8Ia' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.5sMXhqdOND/output | log_filter > /tmp/tmp.5sMXhqdOND/log > custom_test_pack_submodule_dirty > tar -C /tmp/tmp.5sMXhqdOND -xf /tmp/tmp.5sMXhqdOND/test-cf866717-dirty.tar.gz || die > [ -d /tmp/tmp.5sMXhqdOND/test/submodule/subdir ] && die > tar -C /tmp/tmp.5sMXhqdOND -xf /tmp/tmp.5sMXhqdOND/test-submodule-cf866717-dirty.tar.gz || die > cat /tmp/tmp.5sMXhqdOND/test-submodule/subdir/cookie | grep -q 2 || die > tar -C /tmp/tmp.5sMXhqdOND -xf /tmp/tmp.5sMXhqdOND/test-submodule-subdir-cf866717.tar.gz || die > cat /tmp/tmp.5sMXhqdOND/test-submodule-subdir/cookie | grep -q 2 || die success. ====================== test_tagged ====================== Initialized empty Git repository in /tmp/tmp.K1cqFfpBHM/.git/ [master (root-commit) 3a7c47d] 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 ab10203] side branch commit 1 file changed, 1 insertion(+) Switched to branch 'master' > cat /tmp/tmp.K1cqFfpBHM/input | preproc -C /tmp/tmp.K1cqFfpBHM -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.K1cqFfpBHM' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.QaXwE2Xgxd/output | log_filter > /tmp/tmp.QaXwE2Xgxd/log > diff /tmp/tmp.dUjZRauLZk/output /tmp/tmp.QaXwE2Xgxd/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.QaXwE2Xgxd/log && die; } > diff log /tmp/tmp.QaXwE2Xgxd/log || die success. ====================== test_tagged_committed ====================== Initialized empty Git repository in /tmp/tmp.ESWLwpka5S/.git/ [master (root-commit) 034326a] inital_commit 2 files changed, 117 insertions(+) create mode 100644 foo/file create mode 100644 input [master dca2aae] commit after tag 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 file > cat /tmp/tmp.ESWLwpka5S/input | preproc -C /tmp/tmp.ESWLwpka5S -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.ESWLwpka5S' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.QuIPKuyDUr/output | log_filter > /tmp/tmp.QuIPKuyDUr/log > diff /tmp/tmp.qQ3YedtfEN/output /tmp/tmp.QuIPKuyDUr/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.QuIPKuyDUr/log && die; } > diff log /tmp/tmp.QuIPKuyDUr/log || die success. ====================== test_uninited ====================== > cat /tmp/tmp.JLeFDSiMdQ/input | preproc -C /tmp/tmp.JLeFDSiMdQ -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.JLeFDSiMdQ' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.1SA00XNHyU/output | log_filter > /tmp/tmp.1SA00XNHyU/log > diff /tmp/tmp.JpSEncBqm9/output /tmp/tmp.1SA00XNHyU/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.1SA00XNHyU/log && die; } > diff log /tmp/tmp.1SA00XNHyU/log || die success. + exit 0 Processing files: rpkg-macros-2.0-1.el7.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.TgviGy + umask 022 + cd /builddir/build/BUILD + cd rpkg-util-macros + LICENSEDIR=/builddir/build/BUILDROOT/rpkg-macros-2.0-1.el7.noarch/usr/share/licenses/rpkg-macros-2.0 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rpkg-macros-2.0-1.el7.noarch/usr/share/licenses/rpkg-macros-2.0 + cp -pr LICENSE /builddir/build/BUILDROOT/rpkg-macros-2.0-1.el7.noarch/usr/share/licenses/rpkg-macros-2.0 + exit 0 Provides: rpkg-macros = 2.0-1.el7 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.el7.noarch Wrote: /builddir/build/RPMS/rpkg-macros-2.0-1.el7.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.zJPgAx + umask 022 + cd /builddir/build/BUILD + cd rpkg-util-macros + /usr/bin/rm -rf /builddir/build/BUILDROOT/rpkg-macros-2.0-1.el7.noarch + exit 0 Child return code was: 0