Mock Version: 6.5 Mock Version: 6.5 Mock Version: 6.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/rpkg-macros.spec'], chrootPath='/var/lib/mock/f45-build-34725-690/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=864000uid=995gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.kfe9pzgo:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.kfe9pzgo:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '43a02e21b5b24645acd9e6d4f08798cf', '-D', '/var/lib/mock/f45-build-34725-690/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.kfe9pzgo:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1784160000 Wrote: /builddir/build/SRPMS/rpkg-macros-2.0-14.fc45.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/rpkg-macros.spec'], chrootPath='/var/lib/mock/f45-build-34725-690/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=864000uid=995gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.kfe9pzgo:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.kfe9pzgo:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'd23891b70c3b47e1a8797db622ebe03c', '-D', '/var/lib/mock/f45-build-34725-690/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.kfe9pzgo:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1784160000 Executing(mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.LGBRMZ Creating(rpmbuild.env): /builddir/build/BUILD/rpkg-macros-2.0-build/rpmbuild.env RPM_SOURCE_DIR="/builddir/build/SOURCES" RPM_BUILD_DIR="/builddir/build/BUILD/rpkg-macros-2.0-build" RPM_OPT_FLAGS="-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer" RPM_LD_FLAGS="-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 " RPM_ARCH="noarch" RPM_OS="linux" RPM_BUILD_NCPUS="8" RPM_SPECPARTS_DIR="/builddir/build/BUILD/rpkg-macros-2.0-build/SPECPARTS" export RPM_SOURCE_DIR RPM_BUILD_DIR RPM_OPT_FLAGS RPM_ARCH RPM_OS RPM_BUILD_NCPUS RPM_SPECPARTS_DIR RPM_LD_FLAGS RPM_DOC_DIR="/usr/share/doc" export RPM_DOC_DIR RPM_PACKAGE_NAME="rpkg-macros" RPM_PACKAGE_VERSION="2.0" RPM_PACKAGE_RELEASE="14.fc45" export RPM_PACKAGE_NAME RPM_PACKAGE_VERSION RPM_PACKAGE_RELEASE LANG=C.UTF-8 export LANG unset CDPATH DISPLAY ||: unset DEBUGINFOD_URLS ||: unset RPM_CONFIG_DIR ||: RPM_BUILD_ROOT="/builddir/build/BUILD/rpkg-macros-2.0-build/BUILDROOT" export RPM_BUILD_ROOT PKG_CONFIG_PATH="${PKG_CONFIG_PATH}:/usr/lib/pkgconfig:/usr/share/pkgconfig" export PKG_CONFIG_PATH CONFIG_SITE=${CONFIG_SITE:-NONE} export CONFIG_SITE Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.wZCzKC + umask 022 + cd /builddir/build/BUILD/rpkg-macros-2.0-build + cd /builddir/build/BUILD/rpkg-macros-2.0-build + rm -rf rpkg-util-macros + /usr/bin/rpmuncompress -x /builddir/build/SOURCES/rpkg-util-macros-28034317.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd rpkg-util-macros + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.YUunoc + umask 022 + cd /builddir/build/BUILD/rpkg-macros-2.0-build + '[' /builddir/build/BUILD/rpkg-macros-2.0-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/rpkg-macros-2.0-build/BUILDROOT ++ dirname /builddir/build/BUILD/rpkg-macros-2.0-build/BUILDROOT + mkdir -p /builddir/build/BUILD/rpkg-macros-2.0-build + mkdir /builddir/build/BUILD/rpkg-macros-2.0-build/BUILDROOT + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd rpkg-util-macros + install -d /builddir/build/BUILD/rpkg-macros-2.0-build/BUILDROOT/usr/lib + install -d /builddir/build/BUILD/rpkg-macros-2.0-build/BUILDROOT/usr/lib/rpkg.macros.d + cp -ar macros.d/all.bash macros.d/git.bash macros.d/helpers macros.d/library /builddir/build/BUILD/rpkg-macros-2.0-build/BUILDROOT/usr/lib/rpkg.macros.d + install -d /builddir/build/BUILD/rpkg-macros-2.0-build/BUILDROOT/usr/bin + install -p -m 755 bin/pack_sources /builddir/build/BUILD/rpkg-macros-2.0-build/BUILDROOT/usr/bin/pack_sources + install -d /builddir/build/BUILD/rpkg-macros-2.0-build/BUILDROOT/usr/share/man/man1 + install -p -m 644 man/rpkg-macros.1 /builddir/build/BUILD/rpkg-macros-2.0-build/BUILDROOT//usr/share/man/man1/ + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + COMPRESS='gzip -9 -n' + COMPRESS_EXT=.gz + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/lib/rpkg.macros.d/helpers/git from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib/rpkg.macros.d/helpers/git_branch from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib/rpkg.macros.d/helpers/git_head from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib/rpkg.macros.d/helpers/git_head_short from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib/rpkg.macros.d/helpers/git_merged_tag_refs from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib/rpkg.macros.d/helpers/git_remote from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib/rpkg.macros.d/helpers/git_remote_url from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib/rpkg.macros.d/helpers/git_root from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib/rpkg.macros.d/helpers/git_status from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib/rpkg.macros.d/helpers/git_submodule_refs from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/bin/pack_sources from /bin/bash to #!/usr/bin/bash + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-rpm-in-distinfo + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j8 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-det --brp -j8 /builddir/build/BUILD/rpkg-macros-2.0-build/BUILDROOT Scanned 10 directories and 18 files, processed 1 inodes, 0 modified (0 replaced + 0 rewritten), 0 unsupported format, 0 errors + /usr/bin/linkdupes --brp /builddir/build/BUILD/rpkg-macros-2.0-build/BUILDROOT/usr Scanned 9 directories and 18 files, considered 18 files, read 0 files, linked 0 files, 0 errors sum of sizes of linked files: 0 bytes Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.fWrKH1 + umask 022 + cd /builddir/build/BUILD/rpkg-macros-2.0-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd rpkg-util-macros ++ pwd + export GIT_CONFIG_GLOBAL=/builddir/build/BUILD/rpkg-macros-2.0-build/rpkg-util-macros/gitconfig + GIT_CONFIG_GLOBAL=/builddir/build/BUILD/rpkg-macros-2.0-build/rpkg-util-macros/gitconfig + git config --global protocol.file.allow always + git config --global init.defaultBranch master + PATH=bin/:/usr/bin:/bin:/usr/sbin:/sbin + tests/run ====================== test_bash ====================== Initialized empty Git repository in /tmp/tmp.GdGqlpB5Al/.git/ > cat /tmp/tmp.GdGqlpB5Al/input | preproc -C /tmp/tmp.GdGqlpB5Al -e PATH=/builddir/build/BUILD/rpkg-macros-2.0-build/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.GdGqlpB5Al' -s /builddir/build/BUILD/rpkg-macros-2.0-build/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.M9AyUIHy8A/output | log_filter > /tmp/tmp.M9AyUIHy8A/log > diff /tmp/tmp.ZONuuLTZlj/output /tmp/tmp.M9AyUIHy8A/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.M9AyUIHy8A/log && die; } > diff log /tmp/tmp.M9AyUIHy8A/log || die success. ====================== test_committed ====================== Initialized empty Git repository in /tmp/tmp.xJKhzggn7T/.git/ [master (root-commit) 1f843fc] commit 1 1 file changed, 117 insertions(+) create mode 100644 input [master e4c7ff2] commit 2 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 foo/file [master fd4dc8e] commit 3 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 bar/file > cat /tmp/tmp.xJKhzggn7T/input | preproc -C /tmp/tmp.xJKhzggn7T -e PATH=/builddir/build/BUILD/rpkg-macros-2.0-build/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.xJKhzggn7T' -s /builddir/build/BUILD/rpkg-macros-2.0-build/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.knok3eOqJQ/output | log_filter > /tmp/tmp.knok3eOqJQ/log > diff /tmp/tmp.WlMhW65g6Z/output /tmp/tmp.knok3eOqJQ/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.knok3eOqJQ/log && die; } > diff log /tmp/tmp.knok3eOqJQ/log || die success. ====================== test_dirty ====================== Initialized empty Git repository in /tmp/tmp.goywoN3gJ4/.git/ [master (root-commit) 993bbbe] inital_commit 2 files changed, 117 insertions(+) create mode 100644 foo/file create mode 100644 input > cat /tmp/tmp.goywoN3gJ4/input | preproc -C /tmp/tmp.goywoN3gJ4 -e PATH=/builddir/build/BUILD/rpkg-macros-2.0-build/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.goywoN3gJ4' -s /builddir/build/BUILD/rpkg-macros-2.0-build/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.MvIwo1P9dV/output | log_filter > /tmp/tmp.MvIwo1P9dV/log > diff /tmp/tmp.dqdFZjbRxH/output /tmp/tmp.MvIwo1P9dV/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.MvIwo1P9dV/log && die; } > diff log /tmp/tmp.MvIwo1P9dV/log || die success. ====================== test_fn_bumped_version ====================== > cat /tmp/tmp.2OAgdcin7I/input | preproc -C /tmp/tmp.2OAgdcin7I -e PATH=/builddir/build/BUILD/rpkg-macros-2.0-build/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.2OAgdcin7I' -s /builddir/build/BUILD/rpkg-macros-2.0-build/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.qi16sRGWRu/output | log_filter > /tmp/tmp.qi16sRGWRu/log > diff /tmp/tmp.LBRKkj7FvN/output /tmp/tmp.qi16sRGWRu/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.qi16sRGWRu/log && die; } > diff log /tmp/tmp.qi16sRGWRu/log || die success. ====================== test_fn_git_prefix ====================== Initialized empty Git repository in /tmp/tmp.iUVz5WH3RY/.git/ [master (root-commit) d2adf19] add subdir with file 2 files changed, 6 insertions(+) create mode 100644 input create mode 100644 subdir/file Cloning into '/tmp/tmp.iUVz5WH3RY/submodule'... done. [master 6c174a6] add submodule 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 submodule > cat /tmp/tmp.iUVz5WH3RY/input | preproc -C /tmp/tmp.iUVz5WH3RY -e PATH=/builddir/build/BUILD/rpkg-macros-2.0-build/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.iUVz5WH3RY' -s /builddir/build/BUILD/rpkg-macros-2.0-build/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.wK4ODCc3YV/output | log_filter > /tmp/tmp.wK4ODCc3YV/log > diff /tmp/tmp.slTaXpMbnt/output /tmp/tmp.wK4ODCc3YV/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.wK4ODCc3YV/log && die; } > diff log /tmp/tmp.wK4ODCc3YV/log || die success. ====================== test_fn_is_physical_subpath ====================== Initialized empty Git repository in /tmp/tmp.yASIl2vVvg/.git/ > cat /tmp/tmp.yASIl2vVvg/input | preproc -C /tmp/tmp.yASIl2vVvg -e PATH=/builddir/build/BUILD/rpkg-macros-2.0-build/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.yASIl2vVvg' -s /builddir/build/BUILD/rpkg-macros-2.0-build/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.IB4fRetjxu/output | log_filter > /tmp/tmp.IB4fRetjxu/log > diff /tmp/tmp.Q1jCb4PfGz/output /tmp/tmp.IB4fRetjxu/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.IB4fRetjxu/log && die; } > diff log /tmp/tmp.IB4fRetjxu/log || die success. ====================== test_fn_is_strict_physical_subpath ====================== Initialized empty Git repository in /tmp/tmp.fGLxlcuois/.git/ > cat /tmp/tmp.fGLxlcuois/input | preproc -C /tmp/tmp.fGLxlcuois -e PATH=/builddir/build/BUILD/rpkg-macros-2.0-build/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.fGLxlcuois' -s /builddir/build/BUILD/rpkg-macros-2.0-build/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.Q5cQ9CBbYy/output | log_filter > /tmp/tmp.Q5cQ9CBbYy/log > diff /tmp/tmp.6CvRNJU3UT/output /tmp/tmp.Q5cQ9CBbYy/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.Q5cQ9CBbYy/log && die; } > diff log /tmp/tmp.Q5cQ9CBbYy/log || die success. ====================== test_fn_version_dirty_appendix ====================== Initialized empty Git repository in /tmp/tmp.7aJm0XOkFI/.git/ [master (root-commit) 57b8e2f] hello world 3 files changed, 3 insertions(+) create mode 100644 cookie create mode 100644 foo/cookie create mode 100644 input > cat /tmp/tmp.7aJm0XOkFI/input | preproc -C /tmp/tmp.7aJm0XOkFI -e PATH=/builddir/build/BUILD/rpkg-macros-2.0-build/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.7aJm0XOkFI' -s /builddir/build/BUILD/rpkg-macros-2.0-build/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.wMdYPYhnvw/output | log_filter > /tmp/tmp.wMdYPYhnvw/log > diff /tmp/tmp.QMqPMJ8AyU/output_clean /tmp/tmp.wMdYPYhnvw/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.wMdYPYhnvw/log && die; } > diff log /tmp/tmp.wMdYPYhnvw/log || die success. > cat /tmp/tmp.7aJm0XOkFI/input | preproc -C /tmp/tmp.7aJm0XOkFI -e PATH=/builddir/build/BUILD/rpkg-macros-2.0-build/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.7aJm0XOkFI' -s /builddir/build/BUILD/rpkg-macros-2.0-build/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.wMdYPYhnvw/output | log_filter > /tmp/tmp.wMdYPYhnvw/log > diff /tmp/tmp.QMqPMJ8AyU/output_dirty /tmp/tmp.wMdYPYhnvw/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.wMdYPYhnvw/log && die; } > diff log /tmp/tmp.wMdYPYhnvw/log || die success. Updated 1 path from the index > cat /tmp/tmp.7aJm0XOkFI/input | preproc -C /tmp/tmp.7aJm0XOkFI -e GIT_DIRTY=1 -e PATH=/builddir/build/BUILD/rpkg-macros-2.0-build/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.7aJm0XOkFI' -s /builddir/build/BUILD/rpkg-macros-2.0-build/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.wMdYPYhnvw/output | log_filter > /tmp/tmp.wMdYPYhnvw/log > diff /tmp/tmp.QMqPMJ8AyU/output_dirty_manual /tmp/tmp.wMdYPYhnvw/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.wMdYPYhnvw/log && die; } > diff log /tmp/tmp.wMdYPYhnvw/log || die success. ====================== test_inited ====================== Initialized empty Git repository in /tmp/tmp.HkKXQ2aMkN/.git/ > cat /tmp/tmp.HkKXQ2aMkN/input | preproc -C /tmp/tmp.HkKXQ2aMkN -e PATH=/builddir/build/BUILD/rpkg-macros-2.0-build/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.HkKXQ2aMkN' -s /builddir/build/BUILD/rpkg-macros-2.0-build/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.WhGUJ4fuxi/output | log_filter > /tmp/tmp.WhGUJ4fuxi/log > diff /tmp/tmp.VwrU4s7qTX/output /tmp/tmp.WhGUJ4fuxi/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.WhGUJ4fuxi/log && die; } > diff log /tmp/tmp.WhGUJ4fuxi/log || die success. ====================== test_inited_origin_set ====================== Initialized empty Git repository in /tmp/tmp.UuJBlm34y7/.git/ > cat /tmp/tmp.UuJBlm34y7/input | preproc -C /tmp/tmp.UuJBlm34y7 -e PATH=/builddir/build/BUILD/rpkg-macros-2.0-build/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.UuJBlm34y7' -s /builddir/build/BUILD/rpkg-macros-2.0-build/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.m1VNJiPRAQ/output | log_filter > /tmp/tmp.m1VNJiPRAQ/log > diff /tmp/tmp.WXQe4m6xHy/output /tmp/tmp.m1VNJiPRAQ/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.m1VNJiPRAQ/log && die; } > diff log /tmp/tmp.m1VNJiPRAQ/log || die success. ====================== test_sources ====================== Initialized empty Git repository in /tmp/tmp.ygf4lQnJqH/.git/ > cat /tmp/tmp.ygf4lQnJqH/input | preproc -C /tmp/tmp.ygf4lQnJqH -e OUTDIR=/tmp/tmp.3tjA3hEymJ -e PATH=/builddir/build/BUILD/rpkg-macros-2.0-build/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.ygf4lQnJqH' -s /builddir/build/BUILD/rpkg-macros-2.0-build/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.3tjA3hEymJ/output | log_filter > /tmp/tmp.3tjA3hEymJ/log > diff /tmp/tmp.70NDlfS7A6/output /tmp/tmp.3tjA3hEymJ/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.3tjA3hEymJ/log && die; } > diff log /tmp/tmp.3tjA3hEymJ/log || die > custom_test > tar -C /tmp/tmp.3tjA3hEymJ -xf /tmp/tmp.3tjA3hEymJ/foo.tar.gz || die > diff /tmp/tmp.3tjA3hEymJ/foo/cookie /tmp/tmp.ygf4lQnJqH/cookie || die > ls /tmp/tmp.3tjA3hEymJ/foo/cookie_ignored 2>/dev/null && die > ls /tmp/tmp.3tjA3hEymJ/foo/cookie_unadded 2>/dev/null && die success. ====================== test_sources_committed ====================== Initialized empty Git repository in /tmp/tmp.IUuYi2NHxE/.git/ [master (root-commit) 471201d] commit 1 2 files changed, 3 insertions(+) create mode 100644 cookie create mode 100644 input > cat /tmp/tmp.IUuYi2NHxE/input | preproc -C /tmp/tmp.IUuYi2NHxE -e OUTDIR=/tmp/tmp.5q9DV15b7u -e PATH=/builddir/build/BUILD/rpkg-macros-2.0-build/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.IUuYi2NHxE' -s /builddir/build/BUILD/rpkg-macros-2.0-build/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.5q9DV15b7u/output | log_filter > /tmp/tmp.5q9DV15b7u/log > diff /tmp/tmp.ObnTk1KtXX/output /tmp/tmp.5q9DV15b7u/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.5q9DV15b7u/log && die; } > diff log /tmp/tmp.5q9DV15b7u/log || die > custom_test > tar -C /tmp/tmp.5q9DV15b7u -xf /tmp/tmp.5q9DV15b7u/foo.tar.gz || die > diff /tmp/tmp.5q9DV15b7u/foo/cookie /tmp/tmp.IUuYi2NHxE/cookie || die > [ '471201dc3098a6412f9d2fb17b151fb3d7f4f046' = '471201dc3098a6412f9d2fb17b151fb3d7f4f046' ] || die > tar -C /tmp/tmp.5q9DV15b7u -xf /tmp/tmp.5q9DV15b7u/bar.tar.gz || die > diff /tmp/tmp.5q9DV15b7u/bar/cookie /tmp/tmp.IUuYi2NHxE/cookie || die > [ '471201dc3098a6412f9d2fb17b151fb3d7f4f046' = '471201dc3098a6412f9d2fb17b151fb3d7f4f046' ] || die success. > cat /tmp/tmp.IUuYi2NHxE/input | preproc -C /tmp/tmp.IUuYi2NHxE -e OUTDIR=/tmp/tmp.5q9DV15b7u -e GIT_STATUS=somestatus -e PATH=/builddir/build/BUILD/rpkg-macros-2.0-build/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.IUuYi2NHxE' -s /builddir/build/BUILD/rpkg-macros-2.0-build/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.5q9DV15b7u/output | log_filter > /tmp/tmp.5q9DV15b7u/log > test_nonempty_git_status > tar -C /tmp/tmp.5q9DV15b7u -xf /tmp/tmp.5q9DV15b7u/foo.tar.gz || die > diff /tmp/tmp.5q9DV15b7u/foo/cookie /tmp/tmp.IUuYi2NHxE/cookie || die > [ '471201dc3098a6412f9d2fb17b151fb3d7f4f046' = '' ] && die > tar -C /tmp/tmp.5q9DV15b7u -xf /tmp/tmp.5q9DV15b7u/bar.tar.gz || die > diff /tmp/tmp.5q9DV15b7u/bar/cookie /tmp/tmp.IUuYi2NHxE/cookie || die > [ '471201dc3098a6412f9d2fb17b151fb3d7f4f046' = '471201dc3098a6412f9d2fb17b151fb3d7f4f046' ] || die success. > cat /tmp/tmp.IUuYi2NHxE/input | preproc -C /tmp/tmp.IUuYi2NHxE -e OUTDIR=/tmp/tmp.5q9DV15b7u -e GIT_HEAD=somehead -e PATH=/builddir/build/BUILD/rpkg-macros-2.0-build/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.IUuYi2NHxE' -s /builddir/build/BUILD/rpkg-macros-2.0-build/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.5q9DV15b7u/output | log_filter > /tmp/tmp.5q9DV15b7u/log > test_invalid_git_head > [ -f '/tmp/tmp.5q9DV15b7u/foo.tar.gz' ] && die > [ -f '/tmp/tmp.5q9DV15b7u/bar.tar.gz' ] && die success. > cat /tmp/tmp.IUuYi2NHxE/input | preproc -C /tmp/tmp.IUuYi2NHxE -e OUTDIR=/tmp/tmp.5q9DV15b7u -e GIT_HEAD= -e PATH=/builddir/build/BUILD/rpkg-macros-2.0-build/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.IUuYi2NHxE' -s /builddir/build/BUILD/rpkg-macros-2.0-build/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.5q9DV15b7u/output | log_filter > /tmp/tmp.5q9DV15b7u/log > test_empty_git_head > tar -C /tmp/tmp.5q9DV15b7u -xf /tmp/tmp.5q9DV15b7u/foo.tar.gz || die > diff /tmp/tmp.5q9DV15b7u/foo/cookie /tmp/tmp.IUuYi2NHxE/cookie || die > [ '471201dc3098a6412f9d2fb17b151fb3d7f4f046' = '' ] && die > [ -f '/tmp/tmp.5q9DV15b7u/bar.tar.gz' ] && die success. ====================== test_sources_committed_dirty ====================== Initialized empty Git repository in /tmp/tmp.LodjcJycgD/.git/ [master (root-commit) 76efc8e] commit 1 2 files changed, 3 insertions(+) create mode 100644 cookie create mode 100644 input > cat /tmp/tmp.LodjcJycgD/input | preproc -C /tmp/tmp.LodjcJycgD -e OUTDIR=/tmp/tmp.XWUGHJjLwg -e PATH=/builddir/build/BUILD/rpkg-macros-2.0-build/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.LodjcJycgD' -s /builddir/build/BUILD/rpkg-macros-2.0-build/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.XWUGHJjLwg/output | log_filter > /tmp/tmp.XWUGHJjLwg/log > diff /tmp/tmp.NsICR5hPM0/output /tmp/tmp.XWUGHJjLwg/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.XWUGHJjLwg/log && die; } > diff log /tmp/tmp.XWUGHJjLwg/log || die > custom_test > tar -C /tmp/tmp.XWUGHJjLwg -xf /tmp/tmp.XWUGHJjLwg/foo.tar.gz || die > diff /tmp/tmp.XWUGHJjLwg/foo/cookie /tmp/tmp.LodjcJycgD/cookie || die > [ '76efc8eb2b8f05bccad767d704d6269d10834a03' = '' ] && die > tar -C /tmp/tmp.XWUGHJjLwg -xf /tmp/tmp.XWUGHJjLwg/bar.tar.gz || die > diff /tmp/tmp.XWUGHJjLwg/bar/cookie /tmp/tmp.LodjcJycgD/cookie >/dev/null && die > [ '76efc8eb2b8f05bccad767d704d6269d10834a03' = '76efc8eb2b8f05bccad767d704d6269d10834a03' ] || die success. ====================== test_sources_subdir ====================== Initialized empty Git repository in /tmp/tmp.O4HPV7AqIZ/.git/ [master (root-commit) 89ce298] 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.O4HPV7AqIZ/bar/input | preproc -C /tmp/tmp.O4HPV7AqIZ/foo -e OUTDIR=/tmp/tmp.GwpzXcvmDM -e PATH=/builddir/build/BUILD/rpkg-macros-2.0-build/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.O4HPV7AqIZ/bar' -s /builddir/build/BUILD/rpkg-macros-2.0-build/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.GwpzXcvmDM/output | log_filter > /tmp/tmp.GwpzXcvmDM/log > diff /tmp/tmp.VKg4msjbXf/output /tmp/tmp.GwpzXcvmDM/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.GwpzXcvmDM/log && die; } > diff log /tmp/tmp.GwpzXcvmDM/log || die > custom_test > tar -C /tmp/tmp.GwpzXcvmDM -xf /tmp/tmp.GwpzXcvmDM/dir_pack_nodirname.tar.gz || die > diff /tmp/tmp.GwpzXcvmDM/test-bar/cookie /tmp/tmp.O4HPV7AqIZ/bar/cookie || die > tar -C /tmp/tmp.GwpzXcvmDM -xf /tmp/tmp.GwpzXcvmDM/dir_archive_nodirname.tar.gz || die > diff /tmp/tmp.GwpzXcvmDM/test-bar/cookie /tmp/tmp.O4HPV7AqIZ/bar/cookie || die > tar -C /tmp/tmp.GwpzXcvmDM -xf /tmp/tmp.GwpzXcvmDM/dir_pack_foo.tar.gz || die > diff /tmp/tmp.GwpzXcvmDM/foo/cookie /tmp/tmp.O4HPV7AqIZ/bar/cookie || die > tar -C /tmp/tmp.GwpzXcvmDM -xf /tmp/tmp.GwpzXcvmDM/dir_archive_bar.tar.gz || die > diff /tmp/tmp.GwpzXcvmDM/bar/cookie /tmp/tmp.O4HPV7AqIZ/bar/cookie || die > tar -C /tmp/tmp.GwpzXcvmDM -xf /tmp/tmp.GwpzXcvmDM/cwd_pack_nodirname.tar.gz || die > diff /tmp/tmp.GwpzXcvmDM/test-foo/cookie /tmp/tmp.O4HPV7AqIZ/foo/cookie || die > tar -C /tmp/tmp.GwpzXcvmDM -xf /tmp/tmp.GwpzXcvmDM/cwd_archive_nodirname.tar.gz || die > diff /tmp/tmp.GwpzXcvmDM/test-foo/cookie /tmp/tmp.O4HPV7AqIZ/foo/cookie || die > tar -C /tmp/tmp.GwpzXcvmDM -xf /tmp/tmp.GwpzXcvmDM/cwd_pack_foo.tar.gz || die > diff /tmp/tmp.GwpzXcvmDM/foo/cookie /tmp/tmp.O4HPV7AqIZ/foo/cookie || die > tar -C /tmp/tmp.GwpzXcvmDM -xf /tmp/tmp.GwpzXcvmDM/cwd_archive_bar.tar.gz || die > diff /tmp/tmp.GwpzXcvmDM/bar/cookie /tmp/tmp.O4HPV7AqIZ/foo/cookie || die > tar -C /tmp/tmp.GwpzXcvmDM -xf /tmp/tmp.GwpzXcvmDM/baz_pack_nodirname.tar.gz || die > diff /tmp/tmp.GwpzXcvmDM/test-baz/cookie /tmp/tmp.O4HPV7AqIZ/baz/cookie || die > tar -C /tmp/tmp.GwpzXcvmDM -xf /tmp/tmp.GwpzXcvmDM/baz_archive_nodirname.tar.gz || die > diff /tmp/tmp.GwpzXcvmDM/test-baz/cookie /tmp/tmp.O4HPV7AqIZ/baz/cookie || die > tar -C /tmp/tmp.GwpzXcvmDM -xf /tmp/tmp.GwpzXcvmDM/baz_pack_foo.tar.gz || die > diff /tmp/tmp.GwpzXcvmDM/foo/cookie /tmp/tmp.O4HPV7AqIZ/baz/cookie || die > ls /tmp/tmp.GwpzXcvmDM/foo/cookie_ignored 2>/dev/null && die > ls /tmp/tmp.GwpzXcvmDM/foo/cookie_unadded 2>/dev/null && die > tar -C /tmp/tmp.GwpzXcvmDM -xf /tmp/tmp.GwpzXcvmDM/baz_archive_bar.tar.gz || die > diff /tmp/tmp.GwpzXcvmDM/bar/cookie /tmp/tmp.O4HPV7AqIZ/baz/cookie || die > ls /tmp/tmp.GwpzXcvmDM/bar/cookie_ignored 2>/dev/null && die > ls /tmp/tmp.GwpzXcvmDM/bar/cookie_unadded 2>/dev/null && die success. ====================== test_subdir ====================== Initialized empty Git repository in /tmp/tmp.LVZoPQQ7Xd/.git/ > cat /tmp/tmp.LVZoPQQ7Xd/bar/input | preproc -C /tmp/tmp.LVZoPQQ7Xd/foo -e PATH=/builddir/build/BUILD/rpkg-macros-2.0-build/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.LVZoPQQ7Xd/bar' -s /builddir/build/BUILD/rpkg-macros-2.0-build/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.pQm64G9XkD/output | log_filter > /tmp/tmp.pQm64G9XkD/log > diff /tmp/tmp.m1gKPaYHfj/output /tmp/tmp.pQm64G9XkD/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.pQm64G9XkD/log && die; } > diff log /tmp/tmp.pQm64G9XkD/log || die success. ====================== test_submodule ====================== Initialized empty Git repository in /tmp/tmp.F10LheMPqj/.git/ [master (root-commit) 259cd65] initial commit 4 files changed, 26 insertions(+) create mode 100644 input create mode 100644 input_cwd create mode 100644 input_dir create mode 100644 subdir/file Cloning into '/tmp/tmp.F10LheMPqj/submodule'... done. [master 4df6a0c] add submodule 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 submodule > cat /tmp/tmp.F10LheMPqj/input | preproc -C /tmp/tmp.F10LheMPqj -e PATH=/builddir/build/BUILD/rpkg-macros-2.0-build/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.F10LheMPqj' -s /builddir/build/BUILD/rpkg-macros-2.0-build/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.02BDRXKNbo/output | log_filter > /tmp/tmp.02BDRXKNbo/log > diff /tmp/tmp.gcfxpm2MSE/output /tmp/tmp.02BDRXKNbo/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.02BDRXKNbo/log && die; } > diff log /tmp/tmp.02BDRXKNbo/log || die success. > cat /tmp/tmp.F10LheMPqj/submodule/input_dir | preproc -C /tmp/tmp.F10LheMPqj -e PATH=/builddir/build/BUILD/rpkg-macros-2.0-build/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.F10LheMPqj/submodule' -s /builddir/build/BUILD/rpkg-macros-2.0-build/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.02BDRXKNbo/output | log_filter > /tmp/tmp.02BDRXKNbo/log > diff /tmp/tmp.gcfxpm2MSE/output_dir /tmp/tmp.02BDRXKNbo/output || { echo 'LOG DIFF:' && diff log_dir /tmp/tmp.02BDRXKNbo/log && die; } > diff log_dir /tmp/tmp.02BDRXKNbo/log || die success. > cat /tmp/tmp.F10LheMPqj/submodule/input_cwd | preproc -C /tmp/tmp.F10LheMPqj/submodule/subdir -e PATH=/builddir/build/BUILD/rpkg-macros-2.0-build/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.F10LheMPqj/submodule' -s /builddir/build/BUILD/rpkg-macros-2.0-build/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.02BDRXKNbo/output | log_filter > /tmp/tmp.02BDRXKNbo/log > diff /tmp/tmp.gcfxpm2MSE/output_cwd /tmp/tmp.02BDRXKNbo/output || { echo 'LOG DIFF:' && diff log_cwd /tmp/tmp.02BDRXKNbo/log && die; } > diff log_cwd /tmp/tmp.02BDRXKNbo/log || die success. ====================== test_submodule_sources ====================== Initialized empty Git repository in /tmp/tmp.1Mfu7AtEpc/.git/ [master (root-commit) 53ab600] initial commit 3 files changed, 7 insertions(+) create mode 100644 input_archive create mode 100644 input_pack create mode 100644 subdir/cookie Cloning into '/tmp/tmp.1Mfu7AtEpc/submodule'... done. [master ac7fa48] add submodule 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 submodule > cat /tmp/tmp.1Mfu7AtEpc/input_archive | preproc -C /tmp/tmp.1Mfu7AtEpc -e OUTDIR=/tmp/tmp.zYdCBHFnGj -e PATH=/builddir/build/BUILD/rpkg-macros-2.0-build/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.1Mfu7AtEpc' -s /builddir/build/BUILD/rpkg-macros-2.0-build/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.zYdCBHFnGj/output | log_filter > /tmp/tmp.zYdCBHFnGj/log > custom_test_archive_clean > tar -C /tmp/tmp.zYdCBHFnGj -xf /tmp/tmp.zYdCBHFnGj/test-ac7fa48a.tar.gz || die > [ -d /tmp/tmp.zYdCBHFnGj/test/submodule/subdir ] && die > tar -C /tmp/tmp.zYdCBHFnGj -xf /tmp/tmp.zYdCBHFnGj/test-submodule-ac7fa48a.tar.gz || die > [ -f /tmp/tmp.zYdCBHFnGj/test-submodule/subdir/cookie ] || die > cat /tmp/tmp.zYdCBHFnGj/test-submodule/subdir/cookie | grep -q 0 || die > tar -C /tmp/tmp.zYdCBHFnGj -xf /tmp/tmp.zYdCBHFnGj/test-submodule-subdir-ac7fa48a.tar.gz || die > [ -f /tmp/tmp.zYdCBHFnGj/test-submodule-subdir/cookie ] || die > cat /tmp/tmp.zYdCBHFnGj/test-submodule-subdir/cookie | grep -q 0 || die success. > cat /tmp/tmp.1Mfu7AtEpc/input_pack | preproc -C /tmp/tmp.1Mfu7AtEpc -e OUTDIR=/tmp/tmp.zYdCBHFnGj -e PATH=/builddir/build/BUILD/rpkg-macros-2.0-build/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.1Mfu7AtEpc' -s /builddir/build/BUILD/rpkg-macros-2.0-build/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.zYdCBHFnGj/output | log_filter > /tmp/tmp.zYdCBHFnGj/log > custom_test_pack_clean > tar -C /tmp/tmp.zYdCBHFnGj -xf /tmp/tmp.zYdCBHFnGj/test-ac7fa48a.tar.gz || die > [ -f /tmp/tmp.zYdCBHFnGj/test/submodule/subdir ] && die > tar -C /tmp/tmp.zYdCBHFnGj -xf /tmp/tmp.zYdCBHFnGj/test-submodule-ac7fa48a.tar.gz || die > [ -f /tmp/tmp.zYdCBHFnGj/test-submodule/subdir/cookie ] || die > cat /tmp/tmp.zYdCBHFnGj/test-submodule/subdir/cookie | grep -q 0 || die > tar -C /tmp/tmp.zYdCBHFnGj -xf /tmp/tmp.zYdCBHFnGj/test-submodule-subdir-ac7fa48a.tar.gz || die > [ -f /tmp/tmp.zYdCBHFnGj/test-submodule-subdir/cookie ] || die > cat /tmp/tmp.zYdCBHFnGj/test-submodule-subdir/cookie | grep -q 0 || die success. [master 1fdf901] submodule new commit 1 file changed, 1 insertion(+) > cat /tmp/tmp.1Mfu7AtEpc/input_archive | preproc -C /tmp/tmp.1Mfu7AtEpc -e OUTDIR=/tmp/tmp.zYdCBHFnGj -e PATH=/builddir/build/BUILD/rpkg-macros-2.0-build/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.1Mfu7AtEpc' -s /builddir/build/BUILD/rpkg-macros-2.0-build/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.zYdCBHFnGj/output | log_filter > /tmp/tmp.zYdCBHFnGj/log > custom_test_archive_submodule_new_commit > tar -C /tmp/tmp.zYdCBHFnGj -xf /tmp/tmp.zYdCBHFnGj/test-ac7fa48a.tar.gz || die > [ -d /tmp/tmp.zYdCBHFnGj/test/submodule/subdir ] && die > tar -C /tmp/tmp.zYdCBHFnGj -xf /tmp/tmp.zYdCBHFnGj/test-submodule-ac7fa48a.tar.gz || die > [ -f /tmp/tmp.zYdCBHFnGj/test-submodule/subdir/cookie ] || die > cat /tmp/tmp.zYdCBHFnGj/test-submodule/subdir/cookie | grep -q 0 || die > tar -C /tmp/tmp.zYdCBHFnGj -xf /tmp/tmp.zYdCBHFnGj/test-submodule-subdir-ac7fa48a.tar.gz || die > [ -f /tmp/tmp.zYdCBHFnGj/test-submodule-subdir/cookie ] || die > cat /tmp/tmp.zYdCBHFnGj/test-submodule-subdir/cookie | grep -q 0 || die success. > cat /tmp/tmp.1Mfu7AtEpc/input_pack | preproc -C /tmp/tmp.1Mfu7AtEpc -e OUTDIR=/tmp/tmp.zYdCBHFnGj -e PATH=/builddir/build/BUILD/rpkg-macros-2.0-build/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.1Mfu7AtEpc' -s /builddir/build/BUILD/rpkg-macros-2.0-build/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.zYdCBHFnGj/output | log_filter > /tmp/tmp.zYdCBHFnGj/log > custom_test_pack_submodule_new_commit > tar -C /tmp/tmp.zYdCBHFnGj -xf /tmp/tmp.zYdCBHFnGj/test-ac7fa48a-dirty.tar.gz || die > [ -d /tmp/tmp.zYdCBHFnGj/test/submodule/subdir ] && die > tar -C /tmp/tmp.zYdCBHFnGj -xf /tmp/tmp.zYdCBHFnGj/test-submodule-ac7fa48a-dirty.tar.gz || die > cat /tmp/tmp.zYdCBHFnGj/test-submodule/subdir/cookie | grep -q 1 || die > tar -C /tmp/tmp.zYdCBHFnGj -xf /tmp/tmp.zYdCBHFnGj/test-submodule-subdir-ac7fa48a.tar.gz || die > cat /tmp/tmp.zYdCBHFnGj/test-submodule-subdir/cookie | grep -q 1 || die success. > cat /tmp/tmp.1Mfu7AtEpc/input_archive | preproc -C /tmp/tmp.1Mfu7AtEpc -e OUTDIR=/tmp/tmp.zYdCBHFnGj -e PATH=/builddir/build/BUILD/rpkg-macros-2.0-build/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.1Mfu7AtEpc' -s /builddir/build/BUILD/rpkg-macros-2.0-build/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.zYdCBHFnGj/output | log_filter > /tmp/tmp.zYdCBHFnGj/log > custom_test_archive_submodule_dirty > tar -C /tmp/tmp.zYdCBHFnGj -xf /tmp/tmp.zYdCBHFnGj/test-ac7fa48a.tar.gz || die > [ -d /tmp/tmp.zYdCBHFnGj/test/submodule/subdir ] && die > tar -C /tmp/tmp.zYdCBHFnGj -xf /tmp/tmp.zYdCBHFnGj/test-submodule-ac7fa48a.tar.gz || die > [ -f /tmp/tmp.zYdCBHFnGj/test-submodule/subdir/cookie ] || die > cat /tmp/tmp.zYdCBHFnGj/test-submodule/subdir/cookie | grep -q 0 || die > tar -C /tmp/tmp.zYdCBHFnGj -xf /tmp/tmp.zYdCBHFnGj/test-submodule-subdir-ac7fa48a.tar.gz || die > [ -f /tmp/tmp.zYdCBHFnGj/test-submodule-subdir/cookie ] || die > cat /tmp/tmp.zYdCBHFnGj/test-submodule-subdir/cookie | grep -q 0 || die success. > cat /tmp/tmp.1Mfu7AtEpc/input_pack | preproc -C /tmp/tmp.1Mfu7AtEpc -e OUTDIR=/tmp/tmp.zYdCBHFnGj -e PATH=/builddir/build/BUILD/rpkg-macros-2.0-build/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.1Mfu7AtEpc' -s /builddir/build/BUILD/rpkg-macros-2.0-build/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.zYdCBHFnGj/output | log_filter > /tmp/tmp.zYdCBHFnGj/log > custom_test_pack_submodule_dirty > tar -C /tmp/tmp.zYdCBHFnGj -xf /tmp/tmp.zYdCBHFnGj/test-ac7fa48a-dirty.tar.gz || die > [ -d /tmp/tmp.zYdCBHFnGj/test/submodule/subdir ] && die > tar -C /tmp/tmp.zYdCBHFnGj -xf /tmp/tmp.zYdCBHFnGj/test-submodule-ac7fa48a-dirty.tar.gz || die > cat /tmp/tmp.zYdCBHFnGj/test-submodule/subdir/cookie | grep -q 2 || die > tar -C /tmp/tmp.zYdCBHFnGj -xf /tmp/tmp.zYdCBHFnGj/test-submodule-subdir-ac7fa48a.tar.gz || die > cat /tmp/tmp.zYdCBHFnGj/test-submodule-subdir/cookie | grep -q 2 || die success. ====================== test_tagged ====================== Initialized empty Git repository in /tmp/tmp.qS28aQtRhx/.git/ [master (root-commit) 10c209e] 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 35f3072] side branch commit 1 file changed, 1 insertion(+) Switched to branch 'master' > cat /tmp/tmp.qS28aQtRhx/input | preproc -C /tmp/tmp.qS28aQtRhx -e PATH=/builddir/build/BUILD/rpkg-macros-2.0-build/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.qS28aQtRhx' -s /builddir/build/BUILD/rpkg-macros-2.0-build/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.uGeTfKWJMH/output | log_filter > /tmp/tmp.uGeTfKWJMH/log > diff /tmp/tmp.2V1EiVm2u4/output /tmp/tmp.uGeTfKWJMH/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.uGeTfKWJMH/log && die; } > diff log /tmp/tmp.uGeTfKWJMH/log || die success. ====================== test_tagged_committed ====================== Initialized empty Git repository in /tmp/tmp.7t47VJtZ44/.git/ [master (root-commit) 9b46666] inital_commit 2 files changed, 117 insertions(+) create mode 100644 foo/file create mode 100644 input [master c020d14] commit after tag 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 file > cat /tmp/tmp.7t47VJtZ44/input | preproc -C /tmp/tmp.7t47VJtZ44 -e PATH=/builddir/build/BUILD/rpkg-macros-2.0-build/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.7t47VJtZ44' -s /builddir/build/BUILD/rpkg-macros-2.0-build/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.VZgHeXdLJ9/output | log_filter > /tmp/tmp.VZgHeXdLJ9/log > diff /tmp/tmp.D8uxGqLdL4/output /tmp/tmp.VZgHeXdLJ9/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.VZgHeXdLJ9/log && die; } > diff log /tmp/tmp.VZgHeXdLJ9/log || die success. ====================== test_uninited ====================== > cat /tmp/tmp.J8p8gNpLri/input | preproc -C /tmp/tmp.J8p8gNpLri -e PATH=/builddir/build/BUILD/rpkg-macros-2.0-build/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.J8p8gNpLri' -s /builddir/build/BUILD/rpkg-macros-2.0-build/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.ER3AFA0A7R/output | log_filter > /tmp/tmp.ER3AFA0A7R/log > diff /tmp/tmp.cBgELdMnAi/output /tmp/tmp.ER3AFA0A7R/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.ER3AFA0A7R/log && die; } > diff log /tmp/tmp.ER3AFA0A7R/log || die success. + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rpkg-macros-2.0-14.fc45.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.nrEMi3 + umask 022 + cd /builddir/build/BUILD/rpkg-macros-2.0-build + cd rpkg-util-macros + LICENSEDIR=/builddir/build/BUILD/rpkg-macros-2.0-build/BUILDROOT/usr/share/licenses/rpkg-macros + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILD/rpkg-macros-2.0-build/BUILDROOT/usr/share/licenses/rpkg-macros + cp -pr /builddir/build/BUILD/rpkg-macros-2.0-build/rpkg-util-macros/LICENSE /builddir/build/BUILD/rpkg-macros-2.0-build/BUILDROOT/usr/share/licenses/rpkg-macros + RPM_EC=0 ++ jobs -p + exit 0 Provides: rpkg-macros = 2.0-14.fc45 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/bash Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/rpkg-macros-2.0-build/BUILDROOT Wrote: /builddir/build/RPMS/rpkg-macros-2.0-14.fc45.noarch.rpm Child return code was: 0