Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/rpkg-macros.spec'], nspawn_args=[]shell=Falseuid=996env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}chrootPath='/var/lib/mock/epel-1-armhfp-7b273366477fd1b39e3759d2656513fc7d7a719e/root'gid=135user='mockbuild'timeout=0logger=printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/rpkg-macros.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} 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'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/rpkg-macros.spec'], nspawn_args=[]shell=Falseuid=996env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}chrootPath='/var/lib/mock/epel-1-armhfp-7b273366477fd1b39e3759d2656513fc7d7a719e/root'gid=135user='mockbuild'timeout=0logger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/rpkg-macros.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ARdNNw + 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 + 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 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.YHQ9o2 + 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.zuEIAj + umask 022 + cd /builddir/build/BUILD + cd rpkg-util-macros + PATH=bin/:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin + tests/run ====================== test_bash ====================== Initialized empty Git repository in /tmp/tmp.mIanhnrQ28/.git/ > cat /tmp/tmp.mIanhnrQ28/input | preproc -C /tmp/tmp.mIanhnrQ28 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.mIanhnrQ28' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.8WRjIGcDKo/output | log_filter > /tmp/tmp.8WRjIGcDKo/log > diff /tmp/tmp.s2HQcXJMcg/output /tmp/tmp.8WRjIGcDKo/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.8WRjIGcDKo/log && die; } > diff log /tmp/tmp.8WRjIGcDKo/log || die success. ====================== test_committed ====================== Initialized empty Git repository in /tmp/tmp.sBnsU6C4Dw/.git/ [master (root-commit) cc0a411] commit 1 1 file changed, 117 insertions(+) create mode 100644 input [master 614cf90] commit 2 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 foo/file [master d5fa56e] commit 3 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 bar/file > cat /tmp/tmp.sBnsU6C4Dw/input | preproc -C /tmp/tmp.sBnsU6C4Dw -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.sBnsU6C4Dw' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.Uu45mzvfxQ/output | log_filter > /tmp/tmp.Uu45mzvfxQ/log > diff /tmp/tmp.3wkFrq2FYH/output /tmp/tmp.Uu45mzvfxQ/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.Uu45mzvfxQ/log && die; } > diff log /tmp/tmp.Uu45mzvfxQ/log || die success. ====================== test_dirty ====================== Initialized empty Git repository in /tmp/tmp.QdUtHjwShl/.git/ [master (root-commit) 0edb07c] inital_commit 2 files changed, 117 insertions(+) create mode 100644 foo/file create mode 100644 input > cat /tmp/tmp.QdUtHjwShl/input | preproc -C /tmp/tmp.QdUtHjwShl -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.QdUtHjwShl' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.t4Ti4B9TaE/output | log_filter > /tmp/tmp.t4Ti4B9TaE/log > diff /tmp/tmp.YzAWJPBQWP/output /tmp/tmp.t4Ti4B9TaE/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.t4Ti4B9TaE/log && die; } > diff log /tmp/tmp.t4Ti4B9TaE/log || die success. ====================== test_fn_bumped_version ====================== > cat /tmp/tmp.lnfaa9K28c/input | preproc -C /tmp/tmp.lnfaa9K28c -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.lnfaa9K28c' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.TaFbIlK9DX/output | log_filter > /tmp/tmp.TaFbIlK9DX/log > diff /tmp/tmp.0NzBzyKFG6/output /tmp/tmp.TaFbIlK9DX/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.TaFbIlK9DX/log && die; } > diff log /tmp/tmp.TaFbIlK9DX/log || die success. ====================== test_fn_git_prefix ====================== Initialized empty Git repository in /tmp/tmp.9hK7Jb3kA8/.git/ [master (root-commit) e053977] add subdir with file 2 files changed, 6 insertions(+) create mode 100644 input create mode 100644 subdir/file Cloning into 'submodule'... done. [master 233453a] add submodule 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 submodule > cat /tmp/tmp.9hK7Jb3kA8/input | preproc -C /tmp/tmp.9hK7Jb3kA8 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.9hK7Jb3kA8' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.Ml1gXCqEEM/output | log_filter > /tmp/tmp.Ml1gXCqEEM/log > diff /tmp/tmp.Ci11fvuYE4/output /tmp/tmp.Ml1gXCqEEM/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.Ml1gXCqEEM/log && die; } > diff log /tmp/tmp.Ml1gXCqEEM/log || die success. ====================== test_fn_is_physical_subpath ====================== Initialized empty Git repository in /tmp/tmp.UNbD4sxOnH/.git/ > cat /tmp/tmp.UNbD4sxOnH/input | preproc -C /tmp/tmp.UNbD4sxOnH -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.UNbD4sxOnH' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.k1nfdKJqLu/output | log_filter > /tmp/tmp.k1nfdKJqLu/log > diff /tmp/tmp.eT0bxRdpeg/output /tmp/tmp.k1nfdKJqLu/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.k1nfdKJqLu/log && die; } > diff log /tmp/tmp.k1nfdKJqLu/log || die success. ====================== test_fn_is_strict_physical_subpath ====================== Initialized empty Git repository in /tmp/tmp.ghaanf4FmE/.git/ > cat /tmp/tmp.ghaanf4FmE/input | preproc -C /tmp/tmp.ghaanf4FmE -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.ghaanf4FmE' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.V1caLZhKx2/output | log_filter > /tmp/tmp.V1caLZhKx2/log > diff /tmp/tmp.NqHjgXTbsN/output /tmp/tmp.V1caLZhKx2/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.V1caLZhKx2/log && die; } > diff log /tmp/tmp.V1caLZhKx2/log || die success. ====================== test_fn_version_dirty_appendix ====================== Initialized empty Git repository in /tmp/tmp.TZlG4I4Hrw/.git/ [master (root-commit) 420cba9] hello world 3 files changed, 3 insertions(+) create mode 100644 cookie create mode 100644 foo/cookie create mode 100644 input > cat /tmp/tmp.TZlG4I4Hrw/input | preproc -C /tmp/tmp.TZlG4I4Hrw -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.TZlG4I4Hrw' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.UGqrwro7n9/output | log_filter > /tmp/tmp.UGqrwro7n9/log > diff /tmp/tmp.2V62B6ysvb/output_clean /tmp/tmp.UGqrwro7n9/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.UGqrwro7n9/log && die; } > diff log /tmp/tmp.UGqrwro7n9/log || die success. > cat /tmp/tmp.TZlG4I4Hrw/input | preproc -C /tmp/tmp.TZlG4I4Hrw -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.TZlG4I4Hrw' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.UGqrwro7n9/output | log_filter > /tmp/tmp.UGqrwro7n9/log > diff /tmp/tmp.2V62B6ysvb/output_dirty /tmp/tmp.UGqrwro7n9/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.UGqrwro7n9/log && die; } > diff log /tmp/tmp.UGqrwro7n9/log || die success. > cat /tmp/tmp.TZlG4I4Hrw/input | preproc -C /tmp/tmp.TZlG4I4Hrw -e GIT_DIRTY=1 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.TZlG4I4Hrw' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.UGqrwro7n9/output | log_filter > /tmp/tmp.UGqrwro7n9/log > diff /tmp/tmp.2V62B6ysvb/output_dirty_manual /tmp/tmp.UGqrwro7n9/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.UGqrwro7n9/log && die; } > diff log /tmp/tmp.UGqrwro7n9/log || die success. ====================== test_inited ====================== Initialized empty Git repository in /tmp/tmp.k7geS1ZsGK/.git/ > cat /tmp/tmp.k7geS1ZsGK/input | preproc -C /tmp/tmp.k7geS1ZsGK -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.k7geS1ZsGK' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.4bZHO4HcZE/output | log_filter > /tmp/tmp.4bZHO4HcZE/log > diff /tmp/tmp.Rib70WBLGP/output /tmp/tmp.4bZHO4HcZE/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.4bZHO4HcZE/log && die; } > diff log /tmp/tmp.4bZHO4HcZE/log || die success. ====================== test_inited_origin_set ====================== Initialized empty Git repository in /tmp/tmp.Y00PT2g1R6/.git/ > cat /tmp/tmp.Y00PT2g1R6/input | preproc -C /tmp/tmp.Y00PT2g1R6 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.Y00PT2g1R6' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.34PP3I1KPN/output | log_filter > /tmp/tmp.34PP3I1KPN/log > diff /tmp/tmp.OSKZGRwonL/output /tmp/tmp.34PP3I1KPN/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.34PP3I1KPN/log && die; } > diff log /tmp/tmp.34PP3I1KPN/log || die success. ====================== test_sources ====================== Initialized empty Git repository in /tmp/tmp.xGA2ENJAsO/.git/ > cat /tmp/tmp.xGA2ENJAsO/input | preproc -C /tmp/tmp.xGA2ENJAsO -e OUTDIR=/tmp/tmp.B7qGwTNznd -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.xGA2ENJAsO' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.B7qGwTNznd/output | log_filter > /tmp/tmp.B7qGwTNznd/log > diff /tmp/tmp.Rj7ntYqY1W/output /tmp/tmp.B7qGwTNznd/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.B7qGwTNznd/log && die; } > diff log /tmp/tmp.B7qGwTNznd/log || die > custom_test > tar -C /tmp/tmp.B7qGwTNznd -xf /tmp/tmp.B7qGwTNznd/foo.tar.gz || die > diff /tmp/tmp.B7qGwTNznd/foo/cookie /tmp/tmp.xGA2ENJAsO/cookie || die > ls /tmp/tmp.B7qGwTNznd/foo/cookie_ignored 2>/dev/null && die > ls /tmp/tmp.B7qGwTNznd/foo/cookie_unadded 2>/dev/null && die success. ====================== test_sources_committed ====================== Initialized empty Git repository in /tmp/tmp.mbCEQXP8Yr/.git/ [master (root-commit) ccf9ec3] commit 1 2 files changed, 3 insertions(+) create mode 100644 cookie create mode 100644 input > cat /tmp/tmp.mbCEQXP8Yr/input | preproc -C /tmp/tmp.mbCEQXP8Yr -e OUTDIR=/tmp/tmp.gltoXSZ4aN -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.mbCEQXP8Yr' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.gltoXSZ4aN/output | log_filter > /tmp/tmp.gltoXSZ4aN/log > diff /tmp/tmp.WVAltv750O/output /tmp/tmp.gltoXSZ4aN/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.gltoXSZ4aN/log && die; } > diff log /tmp/tmp.gltoXSZ4aN/log || die > custom_test > tar -C /tmp/tmp.gltoXSZ4aN -xf /tmp/tmp.gltoXSZ4aN/foo.tar.gz || die > diff /tmp/tmp.gltoXSZ4aN/foo/cookie /tmp/tmp.mbCEQXP8Yr/cookie || die > [ 'ccf9ec35c977b79742328d38c1d9a9a5cad1b9cb' = 'ccf9ec35c977b79742328d38c1d9a9a5cad1b9cb' ] || die > tar -C /tmp/tmp.gltoXSZ4aN -xf /tmp/tmp.gltoXSZ4aN/bar.tar.gz || die > diff /tmp/tmp.gltoXSZ4aN/bar/cookie /tmp/tmp.mbCEQXP8Yr/cookie || die > [ 'ccf9ec35c977b79742328d38c1d9a9a5cad1b9cb' = 'ccf9ec35c977b79742328d38c1d9a9a5cad1b9cb' ] || die success. > cat /tmp/tmp.mbCEQXP8Yr/input | preproc -C /tmp/tmp.mbCEQXP8Yr -e OUTDIR=/tmp/tmp.gltoXSZ4aN -e GIT_STATUS=somestatus -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.mbCEQXP8Yr' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.gltoXSZ4aN/output | log_filter > /tmp/tmp.gltoXSZ4aN/log > test_nonempty_git_status > tar -C /tmp/tmp.gltoXSZ4aN -xf /tmp/tmp.gltoXSZ4aN/foo.tar.gz || die > diff /tmp/tmp.gltoXSZ4aN/foo/cookie /tmp/tmp.mbCEQXP8Yr/cookie || die > [ 'ccf9ec35c977b79742328d38c1d9a9a5cad1b9cb' = '' ] && die > tar -C /tmp/tmp.gltoXSZ4aN -xf /tmp/tmp.gltoXSZ4aN/bar.tar.gz || die > diff /tmp/tmp.gltoXSZ4aN/bar/cookie /tmp/tmp.mbCEQXP8Yr/cookie || die > [ 'ccf9ec35c977b79742328d38c1d9a9a5cad1b9cb' = 'ccf9ec35c977b79742328d38c1d9a9a5cad1b9cb' ] || die success. > cat /tmp/tmp.mbCEQXP8Yr/input | preproc -C /tmp/tmp.mbCEQXP8Yr -e OUTDIR=/tmp/tmp.gltoXSZ4aN -e GIT_HEAD=somehead -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.mbCEQXP8Yr' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.gltoXSZ4aN/output | log_filter > /tmp/tmp.gltoXSZ4aN/log > test_invalid_git_head > [ -f '/tmp/tmp.gltoXSZ4aN/foo.tar.gz' ] && die > [ -f '/tmp/tmp.gltoXSZ4aN/bar.tar.gz' ] && die success. > cat /tmp/tmp.mbCEQXP8Yr/input | preproc -C /tmp/tmp.mbCEQXP8Yr -e OUTDIR=/tmp/tmp.gltoXSZ4aN -e GIT_HEAD= -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.mbCEQXP8Yr' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.gltoXSZ4aN/output | log_filter > /tmp/tmp.gltoXSZ4aN/log > test_empty_git_head > tar -C /tmp/tmp.gltoXSZ4aN -xf /tmp/tmp.gltoXSZ4aN/foo.tar.gz || die > diff /tmp/tmp.gltoXSZ4aN/foo/cookie /tmp/tmp.mbCEQXP8Yr/cookie || die > [ 'ccf9ec35c977b79742328d38c1d9a9a5cad1b9cb' = '' ] && die > [ -f '/tmp/tmp.gltoXSZ4aN/bar.tar.gz' ] && die success. ====================== test_sources_committed_dirty ====================== Initialized empty Git repository in /tmp/tmp.ac9vLW9mH2/.git/ [master (root-commit) 0c1a176] commit 1 2 files changed, 3 insertions(+) create mode 100644 cookie create mode 100644 input > cat /tmp/tmp.ac9vLW9mH2/input | preproc -C /tmp/tmp.ac9vLW9mH2 -e OUTDIR=/tmp/tmp.fWnUmlEpfy -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.ac9vLW9mH2' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.fWnUmlEpfy/output | log_filter > /tmp/tmp.fWnUmlEpfy/log > diff /tmp/tmp.JvIGcbCC30/output /tmp/tmp.fWnUmlEpfy/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.fWnUmlEpfy/log && die; } > diff log /tmp/tmp.fWnUmlEpfy/log || die > custom_test > tar -C /tmp/tmp.fWnUmlEpfy -xf /tmp/tmp.fWnUmlEpfy/foo.tar.gz || die > diff /tmp/tmp.fWnUmlEpfy/foo/cookie /tmp/tmp.ac9vLW9mH2/cookie || die > [ '0c1a176e27c2face52248cd73e5d42066cb6ec51' = '' ] && die > tar -C /tmp/tmp.fWnUmlEpfy -xf /tmp/tmp.fWnUmlEpfy/bar.tar.gz || die > diff /tmp/tmp.fWnUmlEpfy/bar/cookie /tmp/tmp.ac9vLW9mH2/cookie >/dev/null && die > [ '0c1a176e27c2face52248cd73e5d42066cb6ec51' = '0c1a176e27c2face52248cd73e5d42066cb6ec51' ] || die success. ====================== test_sources_subdir ====================== Initialized empty Git repository in /tmp/tmp.aUSwWKrxPI/.git/ [master (root-commit) ae83100] 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.aUSwWKrxPI/bar/input | preproc -C /tmp/tmp.aUSwWKrxPI/foo -e OUTDIR=/tmp/tmp.bEDZuh5mfR -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.aUSwWKrxPI/bar' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.bEDZuh5mfR/output | log_filter > /tmp/tmp.bEDZuh5mfR/log > diff /tmp/tmp.tPuY3Np9aH/output /tmp/tmp.bEDZuh5mfR/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.bEDZuh5mfR/log && die; } > diff log /tmp/tmp.bEDZuh5mfR/log || die > custom_test > tar -C /tmp/tmp.bEDZuh5mfR -xf /tmp/tmp.bEDZuh5mfR/dir_pack_nodirname.tar.gz || die > diff /tmp/tmp.bEDZuh5mfR/test-bar/cookie /tmp/tmp.aUSwWKrxPI/bar/cookie || die > tar -C /tmp/tmp.bEDZuh5mfR -xf /tmp/tmp.bEDZuh5mfR/dir_archive_nodirname.tar.gz || die > diff /tmp/tmp.bEDZuh5mfR/test-bar/cookie /tmp/tmp.aUSwWKrxPI/bar/cookie || die > tar -C /tmp/tmp.bEDZuh5mfR -xf /tmp/tmp.bEDZuh5mfR/dir_pack_foo.tar.gz || die > diff /tmp/tmp.bEDZuh5mfR/foo/cookie /tmp/tmp.aUSwWKrxPI/bar/cookie || die > tar -C /tmp/tmp.bEDZuh5mfR -xf /tmp/tmp.bEDZuh5mfR/dir_archive_bar.tar.gz || die > diff /tmp/tmp.bEDZuh5mfR/bar/cookie /tmp/tmp.aUSwWKrxPI/bar/cookie || die > tar -C /tmp/tmp.bEDZuh5mfR -xf /tmp/tmp.bEDZuh5mfR/cwd_pack_nodirname.tar.gz || die > diff /tmp/tmp.bEDZuh5mfR/test-foo/cookie /tmp/tmp.aUSwWKrxPI/foo/cookie || die > tar -C /tmp/tmp.bEDZuh5mfR -xf /tmp/tmp.bEDZuh5mfR/cwd_archive_nodirname.tar.gz || die > diff /tmp/tmp.bEDZuh5mfR/test-foo/cookie /tmp/tmp.aUSwWKrxPI/foo/cookie || die > tar -C /tmp/tmp.bEDZuh5mfR -xf /tmp/tmp.bEDZuh5mfR/cwd_pack_foo.tar.gz || die > diff /tmp/tmp.bEDZuh5mfR/foo/cookie /tmp/tmp.aUSwWKrxPI/foo/cookie || die > tar -C /tmp/tmp.bEDZuh5mfR -xf /tmp/tmp.bEDZuh5mfR/cwd_archive_bar.tar.gz || die > diff /tmp/tmp.bEDZuh5mfR/bar/cookie /tmp/tmp.aUSwWKrxPI/foo/cookie || die > tar -C /tmp/tmp.bEDZuh5mfR -xf /tmp/tmp.bEDZuh5mfR/baz_pack_nodirname.tar.gz || die > diff /tmp/tmp.bEDZuh5mfR/test-baz/cookie /tmp/tmp.aUSwWKrxPI/baz/cookie || die > tar -C /tmp/tmp.bEDZuh5mfR -xf /tmp/tmp.bEDZuh5mfR/baz_archive_nodirname.tar.gz || die > diff /tmp/tmp.bEDZuh5mfR/test-baz/cookie /tmp/tmp.aUSwWKrxPI/baz/cookie || die > tar -C /tmp/tmp.bEDZuh5mfR -xf /tmp/tmp.bEDZuh5mfR/baz_pack_foo.tar.gz || die > diff /tmp/tmp.bEDZuh5mfR/foo/cookie /tmp/tmp.aUSwWKrxPI/baz/cookie || die > ls /tmp/tmp.bEDZuh5mfR/foo/cookie_ignored 2>/dev/null && die > ls /tmp/tmp.bEDZuh5mfR/foo/cookie_unadded 2>/dev/null && die > tar -C /tmp/tmp.bEDZuh5mfR -xf /tmp/tmp.bEDZuh5mfR/baz_archive_bar.tar.gz || die > diff /tmp/tmp.bEDZuh5mfR/bar/cookie /tmp/tmp.aUSwWKrxPI/baz/cookie || die > ls /tmp/tmp.bEDZuh5mfR/bar/cookie_ignored 2>/dev/null && die > ls /tmp/tmp.bEDZuh5mfR/bar/cookie_unadded 2>/dev/null && die success. ====================== test_subdir ====================== Initialized empty Git repository in /tmp/tmp.nMGg420jV2/.git/ > cat /tmp/tmp.nMGg420jV2/bar/input | preproc -C /tmp/tmp.nMGg420jV2/foo -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.nMGg420jV2/bar' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.Ol57EPVbGC/output | log_filter > /tmp/tmp.Ol57EPVbGC/log > diff /tmp/tmp.GENOmUSGCE/output /tmp/tmp.Ol57EPVbGC/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.Ol57EPVbGC/log && die; } > diff log /tmp/tmp.Ol57EPVbGC/log || die success. ====================== test_submodule ====================== Initialized empty Git repository in /tmp/tmp.zy4BR3F34V/.git/ [master (root-commit) 5f31253] 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 1fa60e9] add submodule 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 submodule > cat /tmp/tmp.zy4BR3F34V/input | preproc -C /tmp/tmp.zy4BR3F34V -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.zy4BR3F34V' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.JXw1II7uGP/output | log_filter > /tmp/tmp.JXw1II7uGP/log > diff /tmp/tmp.WQ4LipPSiS/output /tmp/tmp.JXw1II7uGP/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.JXw1II7uGP/log && die; } > diff log /tmp/tmp.JXw1II7uGP/log || die success. > cat /tmp/tmp.zy4BR3F34V/submodule/input_dir | preproc -C /tmp/tmp.zy4BR3F34V -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.zy4BR3F34V/submodule' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.JXw1II7uGP/output | log_filter > /tmp/tmp.JXw1II7uGP/log > diff /tmp/tmp.WQ4LipPSiS/output_dir /tmp/tmp.JXw1II7uGP/output || { echo 'LOG DIFF:' && diff log_dir /tmp/tmp.JXw1II7uGP/log && die; } > diff log_dir /tmp/tmp.JXw1II7uGP/log || die success. > cat /tmp/tmp.zy4BR3F34V/submodule/input_cwd | preproc -C /tmp/tmp.zy4BR3F34V/submodule/subdir -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.zy4BR3F34V/submodule' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.JXw1II7uGP/output | log_filter > /tmp/tmp.JXw1II7uGP/log > diff /tmp/tmp.WQ4LipPSiS/output_cwd /tmp/tmp.JXw1II7uGP/output || { echo 'LOG DIFF:' && diff log_cwd /tmp/tmp.JXw1II7uGP/log && die; } > diff log_cwd /tmp/tmp.JXw1II7uGP/log || die success. ====================== test_submodule_sources ====================== Initialized empty Git repository in /tmp/tmp.Eds7ayspcE/.git/ [master (root-commit) 3deee37] 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 d25bdfc] add submodule 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 submodule > cat /tmp/tmp.Eds7ayspcE/input_archive | preproc -C /tmp/tmp.Eds7ayspcE -e OUTDIR=/tmp/tmp.wJwq3WZWrj -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.Eds7ayspcE' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.wJwq3WZWrj/output | log_filter > /tmp/tmp.wJwq3WZWrj/log > custom_test_archive_clean > tar -C /tmp/tmp.wJwq3WZWrj -xf /tmp/tmp.wJwq3WZWrj/test-d25bdfc4.tar.gz || die > [ -d /tmp/tmp.wJwq3WZWrj/test/submodule/subdir ] && die > tar -C /tmp/tmp.wJwq3WZWrj -xf /tmp/tmp.wJwq3WZWrj/test-submodule-d25bdfc4.tar.gz || die > [ -f /tmp/tmp.wJwq3WZWrj/test-submodule/subdir/cookie ] || die > cat /tmp/tmp.wJwq3WZWrj/test-submodule/subdir/cookie | grep -q 0 || die > tar -C /tmp/tmp.wJwq3WZWrj -xf /tmp/tmp.wJwq3WZWrj/test-submodule-subdir-d25bdfc4.tar.gz || die > [ -f /tmp/tmp.wJwq3WZWrj/test-submodule-subdir/cookie ] || die > cat /tmp/tmp.wJwq3WZWrj/test-submodule-subdir/cookie | grep -q 0 || die success. > cat /tmp/tmp.Eds7ayspcE/input_pack | preproc -C /tmp/tmp.Eds7ayspcE -e OUTDIR=/tmp/tmp.wJwq3WZWrj -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.Eds7ayspcE' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.wJwq3WZWrj/output | log_filter > /tmp/tmp.wJwq3WZWrj/log > custom_test_pack_clean > tar -C /tmp/tmp.wJwq3WZWrj -xf /tmp/tmp.wJwq3WZWrj/test-d25bdfc4.tar.gz || die > [ -f /tmp/tmp.wJwq3WZWrj/test/submodule/subdir ] && die > tar -C /tmp/tmp.wJwq3WZWrj -xf /tmp/tmp.wJwq3WZWrj/test-submodule-d25bdfc4.tar.gz || die > [ -f /tmp/tmp.wJwq3WZWrj/test-submodule/subdir/cookie ] || die > cat /tmp/tmp.wJwq3WZWrj/test-submodule/subdir/cookie | grep -q 0 || die > tar -C /tmp/tmp.wJwq3WZWrj -xf /tmp/tmp.wJwq3WZWrj/test-submodule-subdir-d25bdfc4.tar.gz || die > [ -f /tmp/tmp.wJwq3WZWrj/test-submodule-subdir/cookie ] || die > cat /tmp/tmp.wJwq3WZWrj/test-submodule-subdir/cookie | grep -q 0 || die success. [master 0982ad4] submodule new commit 1 file changed, 1 insertion(+) > cat /tmp/tmp.Eds7ayspcE/input_archive | preproc -C /tmp/tmp.Eds7ayspcE -e OUTDIR=/tmp/tmp.wJwq3WZWrj -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.Eds7ayspcE' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.wJwq3WZWrj/output | log_filter > /tmp/tmp.wJwq3WZWrj/log > custom_test_archive_submodule_new_commit > tar -C /tmp/tmp.wJwq3WZWrj -xf /tmp/tmp.wJwq3WZWrj/test-d25bdfc4.tar.gz || die > [ -d /tmp/tmp.wJwq3WZWrj/test/submodule/subdir ] && die > tar -C /tmp/tmp.wJwq3WZWrj -xf /tmp/tmp.wJwq3WZWrj/test-submodule-d25bdfc4.tar.gz || die > [ -f /tmp/tmp.wJwq3WZWrj/test-submodule/subdir/cookie ] || die > cat /tmp/tmp.wJwq3WZWrj/test-submodule/subdir/cookie | grep -q 0 || die > tar -C /tmp/tmp.wJwq3WZWrj -xf /tmp/tmp.wJwq3WZWrj/test-submodule-subdir-d25bdfc4.tar.gz || die > [ -f /tmp/tmp.wJwq3WZWrj/test-submodule-subdir/cookie ] || die > cat /tmp/tmp.wJwq3WZWrj/test-submodule-subdir/cookie | grep -q 0 || die success. > cat /tmp/tmp.Eds7ayspcE/input_pack | preproc -C /tmp/tmp.Eds7ayspcE -e OUTDIR=/tmp/tmp.wJwq3WZWrj -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.Eds7ayspcE' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.wJwq3WZWrj/output | log_filter > /tmp/tmp.wJwq3WZWrj/log > custom_test_pack_submodule_new_commit > tar -C /tmp/tmp.wJwq3WZWrj -xf /tmp/tmp.wJwq3WZWrj/test-d25bdfc4-dirty.tar.gz || die > [ -d /tmp/tmp.wJwq3WZWrj/test/submodule/subdir ] && die > tar -C /tmp/tmp.wJwq3WZWrj -xf /tmp/tmp.wJwq3WZWrj/test-submodule-d25bdfc4-dirty.tar.gz || die > cat /tmp/tmp.wJwq3WZWrj/test-submodule/subdir/cookie | grep -q 1 || die > tar -C /tmp/tmp.wJwq3WZWrj -xf /tmp/tmp.wJwq3WZWrj/test-submodule-subdir-d25bdfc4.tar.gz || die > cat /tmp/tmp.wJwq3WZWrj/test-submodule-subdir/cookie | grep -q 1 || die success. > cat /tmp/tmp.Eds7ayspcE/input_archive | preproc -C /tmp/tmp.Eds7ayspcE -e OUTDIR=/tmp/tmp.wJwq3WZWrj -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.Eds7ayspcE' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.wJwq3WZWrj/output | log_filter > /tmp/tmp.wJwq3WZWrj/log > custom_test_archive_submodule_dirty > tar -C /tmp/tmp.wJwq3WZWrj -xf /tmp/tmp.wJwq3WZWrj/test-d25bdfc4.tar.gz || die > [ -d /tmp/tmp.wJwq3WZWrj/test/submodule/subdir ] && die > tar -C /tmp/tmp.wJwq3WZWrj -xf /tmp/tmp.wJwq3WZWrj/test-submodule-d25bdfc4.tar.gz || die > [ -f /tmp/tmp.wJwq3WZWrj/test-submodule/subdir/cookie ] || die > cat /tmp/tmp.wJwq3WZWrj/test-submodule/subdir/cookie | grep -q 0 || die > tar -C /tmp/tmp.wJwq3WZWrj -xf /tmp/tmp.wJwq3WZWrj/test-submodule-subdir-d25bdfc4.tar.gz || die > [ -f /tmp/tmp.wJwq3WZWrj/test-submodule-subdir/cookie ] || die > cat /tmp/tmp.wJwq3WZWrj/test-submodule-subdir/cookie | grep -q 0 || die success. > cat /tmp/tmp.Eds7ayspcE/input_pack | preproc -C /tmp/tmp.Eds7ayspcE -e OUTDIR=/tmp/tmp.wJwq3WZWrj -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.Eds7ayspcE' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.wJwq3WZWrj/output | log_filter > /tmp/tmp.wJwq3WZWrj/log > custom_test_pack_submodule_dirty > tar -C /tmp/tmp.wJwq3WZWrj -xf /tmp/tmp.wJwq3WZWrj/test-d25bdfc4-dirty.tar.gz || die > [ -d /tmp/tmp.wJwq3WZWrj/test/submodule/subdir ] && die > tar -C /tmp/tmp.wJwq3WZWrj -xf /tmp/tmp.wJwq3WZWrj/test-submodule-d25bdfc4-dirty.tar.gz || die > cat /tmp/tmp.wJwq3WZWrj/test-submodule/subdir/cookie | grep -q 2 || die > tar -C /tmp/tmp.wJwq3WZWrj -xf /tmp/tmp.wJwq3WZWrj/test-submodule-subdir-d25bdfc4.tar.gz || die > cat /tmp/tmp.wJwq3WZWrj/test-submodule-subdir/cookie | grep -q 2 || die success. ====================== test_tagged ====================== Initialized empty Git repository in /tmp/tmp.qNaWF2P4hH/.git/ [master (root-commit) 6920567] 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 6f4db63] side branch commit 1 file changed, 1 insertion(+) Switched to branch 'master' > cat /tmp/tmp.qNaWF2P4hH/input | preproc -C /tmp/tmp.qNaWF2P4hH -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.qNaWF2P4hH' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.Vg9TnEprEm/output | log_filter > /tmp/tmp.Vg9TnEprEm/log > diff /tmp/tmp.vXn5Xj9wFb/output /tmp/tmp.Vg9TnEprEm/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.Vg9TnEprEm/log && die; } > diff log /tmp/tmp.Vg9TnEprEm/log || die success. ====================== test_tagged_committed ====================== Initialized empty Git repository in /tmp/tmp.ET6WVWEiVc/.git/ [master (root-commit) e398a38] inital_commit 2 files changed, 117 insertions(+) create mode 100644 foo/file create mode 100644 input [master 499c60d] commit after tag 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 file > cat /tmp/tmp.ET6WVWEiVc/input | preproc -C /tmp/tmp.ET6WVWEiVc -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.ET6WVWEiVc' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.NsAtTLVKD2/output | log_filter > /tmp/tmp.NsAtTLVKD2/log > diff /tmp/tmp.4gdxkiCV8B/output /tmp/tmp.NsAtTLVKD2/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.NsAtTLVKD2/log && die; } > diff log /tmp/tmp.NsAtTLVKD2/log || die success. ====================== test_uninited ====================== > cat /tmp/tmp.SmUkTx6k4k/input | preproc -C /tmp/tmp.SmUkTx6k4k -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.SmUkTx6k4k' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.unwOcBXT2H/output | log_filter > /tmp/tmp.unwOcBXT2H/log > diff /tmp/tmp.mb8Lq5vjPI/output /tmp/tmp.unwOcBXT2H/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.unwOcBXT2H/log && die; } > diff log /tmp/tmp.unwOcBXT2H/log || die success. Processing files: rpkg-macros-2.0-1.el7.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.cq0KYm + exit 0 + 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.Nf4xws + 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