Mock Version: 6.0 Mock Version: 6.0 Mock Version: 6.0 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/f43-build-57645687-6556219/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.8giv9dnq:/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.8giv9dnq:/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', 'a734322f392e4f9c867f2f358b2b3bcb', '-D', '/var/lib/mock/f43-build-57645687-6556219/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.8giv9dnq:/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=1737158400 Wrote: /builddir/build/SRPMS/rpkg-macros-2.0-11.fc43.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/f43-build-57645687-6556219/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.8giv9dnq:/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.8giv9dnq:/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', '216ff761b3a74b4c99ec3d1abda936a2', '-D', '/var/lib/mock/f43-build-57645687-6556219/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.8giv9dnq:/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=1737158400 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.JJ26DS Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.oijx07 + 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/lib/rpm/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.doTfGS + 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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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-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 + /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/brp-strip-static-archive /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 + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j48 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j48 /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 Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.Z8cr6a + 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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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-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:/usr/local/sbin + tests/run ====================== test_bash ====================== Initialized empty Git repository in /tmp/tmp.6IL8ajuMz5/.git/ > cat /tmp/tmp.6IL8ajuMz5/input | preproc -C /tmp/tmp.6IL8ajuMz5 -e PATH=/builddir/build/BUILD/rpkg-macros-2.0-build/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.6IL8ajuMz5' -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.XJagnT6ELD/output | log_filter > /tmp/tmp.XJagnT6ELD/log > diff /tmp/tmp.h9zB37j703/output /tmp/tmp.XJagnT6ELD/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.XJagnT6ELD/log && die; } > diff log /tmp/tmp.XJagnT6ELD/log || die success. ====================== test_committed ====================== Initialized empty Git repository in /tmp/tmp.y9Rq1xSQEI/.git/ [master (root-commit) 3e2fa55] commit 1 1 file changed, 117 insertions(+) create mode 100644 input [master b914fba] commit 2 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 foo/file [master b75a207] commit 3 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 bar/file > cat /tmp/tmp.y9Rq1xSQEI/input | preproc -C /tmp/tmp.y9Rq1xSQEI -e PATH=/builddir/build/BUILD/rpkg-macros-2.0-build/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.y9Rq1xSQEI' -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.rNuWpAlmLx/output | log_filter > /tmp/tmp.rNuWpAlmLx/log > diff /tmp/tmp.YMrrDSzvn6/output /tmp/tmp.rNuWpAlmLx/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.rNuWpAlmLx/log && die; } > diff log /tmp/tmp.rNuWpAlmLx/log || die success. ====================== test_dirty ====================== Initialized empty Git repository in /tmp/tmp.xPmu4P3Tnw/.git/ [master (root-commit) 5ace3b5] inital_commit 2 files changed, 117 insertions(+) create mode 100644 foo/file create mode 100644 input > cat /tmp/tmp.xPmu4P3Tnw/input | preproc -C /tmp/tmp.xPmu4P3Tnw -e PATH=/builddir/build/BUILD/rpkg-macros-2.0-build/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.xPmu4P3Tnw' -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.pwtmvBt37V/output | log_filter > /tmp/tmp.pwtmvBt37V/log > diff /tmp/tmp.K6wbyAFOXz/output /tmp/tmp.pwtmvBt37V/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.pwtmvBt37V/log && die; } > diff log /tmp/tmp.pwtmvBt37V/log || die success. ====================== test_fn_bumped_version ====================== > cat /tmp/tmp.WiRjHThDCr/input | preproc -C /tmp/tmp.WiRjHThDCr -e PATH=/builddir/build/BUILD/rpkg-macros-2.0-build/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.WiRjHThDCr' -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.COGnEA6sG9/output | log_filter > /tmp/tmp.COGnEA6sG9/log > diff /tmp/tmp.drY6uOiCNn/output /tmp/tmp.COGnEA6sG9/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.COGnEA6sG9/log && die; } > diff log /tmp/tmp.COGnEA6sG9/log || die success. ====================== test_fn_git_prefix ====================== Initialized empty Git repository in /tmp/tmp.ni1T3ZTmbx/.git/ [master (root-commit) 34a2733] add subdir with file 2 files changed, 6 insertions(+) create mode 100644 input create mode 100644 subdir/file Cloning into '/tmp/tmp.ni1T3ZTmbx/submodule'... done. [master e04d254] add submodule 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 submodule > cat /tmp/tmp.ni1T3ZTmbx/input | preproc -C /tmp/tmp.ni1T3ZTmbx -e PATH=/builddir/build/BUILD/rpkg-macros-2.0-build/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.ni1T3ZTmbx' -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.coKahMRnqf/output | log_filter > /tmp/tmp.coKahMRnqf/log > diff /tmp/tmp.2IIS9V81ZK/output /tmp/tmp.coKahMRnqf/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.coKahMRnqf/log && die; } > diff log /tmp/tmp.coKahMRnqf/log || die success. ====================== test_fn_is_physical_subpath ====================== Initialized empty Git repository in /tmp/tmp.Q9Nusggwqa/.git/ > cat /tmp/tmp.Q9Nusggwqa/input | preproc -C /tmp/tmp.Q9Nusggwqa -e PATH=/builddir/build/BUILD/rpkg-macros-2.0-build/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.Q9Nusggwqa' -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.FqYiISRMUI/output | log_filter > /tmp/tmp.FqYiISRMUI/log > diff /tmp/tmp.f292ZSZDHg/output /tmp/tmp.FqYiISRMUI/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.FqYiISRMUI/log && die; } > diff log /tmp/tmp.FqYiISRMUI/log || die success. ====================== test_fn_is_strict_physical_subpath ====================== Initialized empty Git repository in /tmp/tmp.5GbeVf6JIJ/.git/ > cat /tmp/tmp.5GbeVf6JIJ/input | preproc -C /tmp/tmp.5GbeVf6JIJ -e PATH=/builddir/build/BUILD/rpkg-macros-2.0-build/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.5GbeVf6JIJ' -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.vJBq4fV6yQ/output | log_filter > /tmp/tmp.vJBq4fV6yQ/log > diff /tmp/tmp.X88F9hgWet/output /tmp/tmp.vJBq4fV6yQ/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.vJBq4fV6yQ/log && die; } > diff log /tmp/tmp.vJBq4fV6yQ/log || die success. ====================== test_fn_version_dirty_appendix ====================== Initialized empty Git repository in /tmp/tmp.gg1MxSexO4/.git/ [master (root-commit) ca73131] hello world 3 files changed, 3 insertions(+) create mode 100644 cookie create mode 100644 foo/cookie create mode 100644 input > cat /tmp/tmp.gg1MxSexO4/input | preproc -C /tmp/tmp.gg1MxSexO4 -e PATH=/builddir/build/BUILD/rpkg-macros-2.0-build/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.gg1MxSexO4' -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.VPxn8GaQ69/output | log_filter > /tmp/tmp.VPxn8GaQ69/log > diff /tmp/tmp.fNlN0IAJhu/output_clean /tmp/tmp.VPxn8GaQ69/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.VPxn8GaQ69/log && die; } > diff log /tmp/tmp.VPxn8GaQ69/log || die success. > cat /tmp/tmp.gg1MxSexO4/input | preproc -C /tmp/tmp.gg1MxSexO4 -e PATH=/builddir/build/BUILD/rpkg-macros-2.0-build/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.gg1MxSexO4' -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.VPxn8GaQ69/output | log_filter > /tmp/tmp.VPxn8GaQ69/log > diff /tmp/tmp.fNlN0IAJhu/output_dirty /tmp/tmp.VPxn8GaQ69/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.VPxn8GaQ69/log && die; } > diff log /tmp/tmp.VPxn8GaQ69/log || die success. Updated 1 path from the index > cat /tmp/tmp.gg1MxSexO4/input | preproc -C /tmp/tmp.gg1MxSexO4 -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.gg1MxSexO4' -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.VPxn8GaQ69/output | log_filter > /tmp/tmp.VPxn8GaQ69/log > diff /tmp/tmp.fNlN0IAJhu/output_dirty_manual /tmp/tmp.VPxn8GaQ69/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.VPxn8GaQ69/log && die; } > diff log /tmp/tmp.VPxn8GaQ69/log || die success. ====================== test_inited ====================== Initialized empty Git repository in /tmp/tmp.JdIrGWk3JU/.git/ > cat /tmp/tmp.JdIrGWk3JU/input | preproc -C /tmp/tmp.JdIrGWk3JU -e PATH=/builddir/build/BUILD/rpkg-macros-2.0-build/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.JdIrGWk3JU' -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.LvZCiKF066/output | log_filter > /tmp/tmp.LvZCiKF066/log > diff /tmp/tmp.rrq1cI3Irw/output /tmp/tmp.LvZCiKF066/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.LvZCiKF066/log && die; } > diff log /tmp/tmp.LvZCiKF066/log || die success. ====================== test_inited_origin_set ====================== Initialized empty Git repository in /tmp/tmp.S7ngqfNJAl/.git/ > cat /tmp/tmp.S7ngqfNJAl/input | preproc -C /tmp/tmp.S7ngqfNJAl -e PATH=/builddir/build/BUILD/rpkg-macros-2.0-build/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.S7ngqfNJAl' -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.pGg0S79gDY/output | log_filter > /tmp/tmp.pGg0S79gDY/log > diff /tmp/tmp.MZ8SnUVGCO/output /tmp/tmp.pGg0S79gDY/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.pGg0S79gDY/log && die; } > diff log /tmp/tmp.pGg0S79gDY/log || die success. ====================== test_sources ====================== Initialized empty Git repository in /tmp/tmp.eQtiIpE1xU/.git/ > cat /tmp/tmp.eQtiIpE1xU/input | preproc -C /tmp/tmp.eQtiIpE1xU -e OUTDIR=/tmp/tmp.jf9Hrs3xlb -e PATH=/builddir/build/BUILD/rpkg-macros-2.0-build/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.eQtiIpE1xU' -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.jf9Hrs3xlb/output | log_filter > /tmp/tmp.jf9Hrs3xlb/log > diff /tmp/tmp.VO8hZ1YxXz/output /tmp/tmp.jf9Hrs3xlb/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.jf9Hrs3xlb/log && die; } > diff log /tmp/tmp.jf9Hrs3xlb/log || die > custom_test > tar -C /tmp/tmp.jf9Hrs3xlb -xf /tmp/tmp.jf9Hrs3xlb/foo.tar.gz || die > diff /tmp/tmp.jf9Hrs3xlb/foo/cookie /tmp/tmp.eQtiIpE1xU/cookie || die > ls /tmp/tmp.jf9Hrs3xlb/foo/cookie_ignored 2>/dev/null && die > ls /tmp/tmp.jf9Hrs3xlb/foo/cookie_unadded 2>/dev/null && die success. ====================== test_sources_committed ====================== Initialized empty Git repository in /tmp/tmp.jo9gYJyOjv/.git/ [master (root-commit) 555b3f3] commit 1 2 files changed, 3 insertions(+) create mode 100644 cookie create mode 100644 input > cat /tmp/tmp.jo9gYJyOjv/input | preproc -C /tmp/tmp.jo9gYJyOjv -e OUTDIR=/tmp/tmp.DhAOm69mbQ -e PATH=/builddir/build/BUILD/rpkg-macros-2.0-build/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.jo9gYJyOjv' -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.DhAOm69mbQ/output | log_filter > /tmp/tmp.DhAOm69mbQ/log > diff /tmp/tmp.cF8VwjpgZE/output /tmp/tmp.DhAOm69mbQ/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.DhAOm69mbQ/log && die; } > diff log /tmp/tmp.DhAOm69mbQ/log || die > custom_test > tar -C /tmp/tmp.DhAOm69mbQ -xf /tmp/tmp.DhAOm69mbQ/foo.tar.gz || die > diff /tmp/tmp.DhAOm69mbQ/foo/cookie /tmp/tmp.jo9gYJyOjv/cookie || die > [ '555b3f35498d6aa0c7b8ff2e4968ab84842af208' = '555b3f35498d6aa0c7b8ff2e4968ab84842af208' ] || die > tar -C /tmp/tmp.DhAOm69mbQ -xf /tmp/tmp.DhAOm69mbQ/bar.tar.gz || die > diff /tmp/tmp.DhAOm69mbQ/bar/cookie /tmp/tmp.jo9gYJyOjv/cookie || die > [ '555b3f35498d6aa0c7b8ff2e4968ab84842af208' = '555b3f35498d6aa0c7b8ff2e4968ab84842af208' ] || die success. > cat /tmp/tmp.jo9gYJyOjv/input | preproc -C /tmp/tmp.jo9gYJyOjv -e OUTDIR=/tmp/tmp.DhAOm69mbQ -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.jo9gYJyOjv' -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.DhAOm69mbQ/output | log_filter > /tmp/tmp.DhAOm69mbQ/log > test_nonempty_git_status > tar -C /tmp/tmp.DhAOm69mbQ -xf /tmp/tmp.DhAOm69mbQ/foo.tar.gz || die > diff /tmp/tmp.DhAOm69mbQ/foo/cookie /tmp/tmp.jo9gYJyOjv/cookie || die > [ '555b3f35498d6aa0c7b8ff2e4968ab84842af208' = '' ] && die > tar -C /tmp/tmp.DhAOm69mbQ -xf /tmp/tmp.DhAOm69mbQ/bar.tar.gz || die > diff /tmp/tmp.DhAOm69mbQ/bar/cookie /tmp/tmp.jo9gYJyOjv/cookie || die > [ '555b3f35498d6aa0c7b8ff2e4968ab84842af208' = '555b3f35498d6aa0c7b8ff2e4968ab84842af208' ] || die success. > cat /tmp/tmp.jo9gYJyOjv/input | preproc -C /tmp/tmp.jo9gYJyOjv -e OUTDIR=/tmp/tmp.DhAOm69mbQ -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.jo9gYJyOjv' -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.DhAOm69mbQ/output | log_filter > /tmp/tmp.DhAOm69mbQ/log > test_invalid_git_head > [ -f '/tmp/tmp.DhAOm69mbQ/foo.tar.gz' ] && die > [ -f '/tmp/tmp.DhAOm69mbQ/bar.tar.gz' ] && die success. > cat /tmp/tmp.jo9gYJyOjv/input | preproc -C /tmp/tmp.jo9gYJyOjv -e OUTDIR=/tmp/tmp.DhAOm69mbQ -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.jo9gYJyOjv' -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.DhAOm69mbQ/output | log_filter > /tmp/tmp.DhAOm69mbQ/log > test_empty_git_head > tar -C /tmp/tmp.DhAOm69mbQ -xf /tmp/tmp.DhAOm69mbQ/foo.tar.gz || die > diff /tmp/tmp.DhAOm69mbQ/foo/cookie /tmp/tmp.jo9gYJyOjv/cookie || die > [ '555b3f35498d6aa0c7b8ff2e4968ab84842af208' = '' ] && die > [ -f '/tmp/tmp.DhAOm69mbQ/bar.tar.gz' ] && die success. ====================== test_sources_committed_dirty ====================== Initialized empty Git repository in /tmp/tmp.13Ihwdht5Z/.git/ [master (root-commit) 3047f03] commit 1 2 files changed, 3 insertions(+) create mode 100644 cookie create mode 100644 input > cat /tmp/tmp.13Ihwdht5Z/input | preproc -C /tmp/tmp.13Ihwdht5Z -e OUTDIR=/tmp/tmp.JMXGR8KRRj -e PATH=/builddir/build/BUILD/rpkg-macros-2.0-build/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.13Ihwdht5Z' -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.JMXGR8KRRj/output | log_filter > /tmp/tmp.JMXGR8KRRj/log > diff /tmp/tmp.NFnRdGEKDa/output /tmp/tmp.JMXGR8KRRj/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.JMXGR8KRRj/log && die; } > diff log /tmp/tmp.JMXGR8KRRj/log || die > custom_test > tar -C /tmp/tmp.JMXGR8KRRj -xf /tmp/tmp.JMXGR8KRRj/foo.tar.gz || die > diff /tmp/tmp.JMXGR8KRRj/foo/cookie /tmp/tmp.13Ihwdht5Z/cookie || die > [ '3047f03292f9eb15f5393eae88a9e7cd8810991d' = '' ] && die > tar -C /tmp/tmp.JMXGR8KRRj -xf /tmp/tmp.JMXGR8KRRj/bar.tar.gz || die > diff /tmp/tmp.JMXGR8KRRj/bar/cookie /tmp/tmp.13Ihwdht5Z/cookie >/dev/null && die > [ '3047f03292f9eb15f5393eae88a9e7cd8810991d' = '3047f03292f9eb15f5393eae88a9e7cd8810991d' ] || die success. ====================== test_sources_subdir ====================== Initialized empty Git repository in /tmp/tmp.1VXtZwWwWD/.git/ [master (root-commit) a37aa79] 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.1VXtZwWwWD/bar/input | preproc -C /tmp/tmp.1VXtZwWwWD/foo -e OUTDIR=/tmp/tmp.Dbw0a5UMMe -e PATH=/builddir/build/BUILD/rpkg-macros-2.0-build/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.1VXtZwWwWD/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.Dbw0a5UMMe/output | log_filter > /tmp/tmp.Dbw0a5UMMe/log > diff /tmp/tmp.AT9ynkDVDt/output /tmp/tmp.Dbw0a5UMMe/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.Dbw0a5UMMe/log && die; } > diff log /tmp/tmp.Dbw0a5UMMe/log || die > custom_test > tar -C /tmp/tmp.Dbw0a5UMMe -xf /tmp/tmp.Dbw0a5UMMe/dir_pack_nodirname.tar.gz || die > diff /tmp/tmp.Dbw0a5UMMe/test-bar/cookie /tmp/tmp.1VXtZwWwWD/bar/cookie || die > tar -C /tmp/tmp.Dbw0a5UMMe -xf /tmp/tmp.Dbw0a5UMMe/dir_archive_nodirname.tar.gz || die > diff /tmp/tmp.Dbw0a5UMMe/test-bar/cookie /tmp/tmp.1VXtZwWwWD/bar/cookie || die > tar -C /tmp/tmp.Dbw0a5UMMe -xf /tmp/tmp.Dbw0a5UMMe/dir_pack_foo.tar.gz || die > diff /tmp/tmp.Dbw0a5UMMe/foo/cookie /tmp/tmp.1VXtZwWwWD/bar/cookie || die > tar -C /tmp/tmp.Dbw0a5UMMe -xf /tmp/tmp.Dbw0a5UMMe/dir_archive_bar.tar.gz || die > diff /tmp/tmp.Dbw0a5UMMe/bar/cookie /tmp/tmp.1VXtZwWwWD/bar/cookie || die > tar -C /tmp/tmp.Dbw0a5UMMe -xf /tmp/tmp.Dbw0a5UMMe/cwd_pack_nodirname.tar.gz || die > diff /tmp/tmp.Dbw0a5UMMe/test-foo/cookie /tmp/tmp.1VXtZwWwWD/foo/cookie || die > tar -C /tmp/tmp.Dbw0a5UMMe -xf /tmp/tmp.Dbw0a5UMMe/cwd_archive_nodirname.tar.gz || die > diff /tmp/tmp.Dbw0a5UMMe/test-foo/cookie /tmp/tmp.1VXtZwWwWD/foo/cookie || die > tar -C /tmp/tmp.Dbw0a5UMMe -xf /tmp/tmp.Dbw0a5UMMe/cwd_pack_foo.tar.gz || die > diff /tmp/tmp.Dbw0a5UMMe/foo/cookie /tmp/tmp.1VXtZwWwWD/foo/cookie || die > tar -C /tmp/tmp.Dbw0a5UMMe -xf /tmp/tmp.Dbw0a5UMMe/cwd_archive_bar.tar.gz || die > diff /tmp/tmp.Dbw0a5UMMe/bar/cookie /tmp/tmp.1VXtZwWwWD/foo/cookie || die > tar -C /tmp/tmp.Dbw0a5UMMe -xf /tmp/tmp.Dbw0a5UMMe/baz_pack_nodirname.tar.gz || die > diff /tmp/tmp.Dbw0a5UMMe/test-baz/cookie /tmp/tmp.1VXtZwWwWD/baz/cookie || die > tar -C /tmp/tmp.Dbw0a5UMMe -xf /tmp/tmp.Dbw0a5UMMe/baz_archive_nodirname.tar.gz || die > diff /tmp/tmp.Dbw0a5UMMe/test-baz/cookie /tmp/tmp.1VXtZwWwWD/baz/cookie || die > tar -C /tmp/tmp.Dbw0a5UMMe -xf /tmp/tmp.Dbw0a5UMMe/baz_pack_foo.tar.gz || die > diff /tmp/tmp.Dbw0a5UMMe/foo/cookie /tmp/tmp.1VXtZwWwWD/baz/cookie || die > ls /tmp/tmp.Dbw0a5UMMe/foo/cookie_ignored 2>/dev/null && die > ls /tmp/tmp.Dbw0a5UMMe/foo/cookie_unadded 2>/dev/null && die > tar -C /tmp/tmp.Dbw0a5UMMe -xf /tmp/tmp.Dbw0a5UMMe/baz_archive_bar.tar.gz || die > diff /tmp/tmp.Dbw0a5UMMe/bar/cookie /tmp/tmp.1VXtZwWwWD/baz/cookie || die > ls /tmp/tmp.Dbw0a5UMMe/bar/cookie_ignored 2>/dev/null && die > ls /tmp/tmp.Dbw0a5UMMe/bar/cookie_unadded 2>/dev/null && die success. ====================== test_subdir ====================== Initialized empty Git repository in /tmp/tmp.KrsPT04g6H/.git/ > cat /tmp/tmp.KrsPT04g6H/bar/input | preproc -C /tmp/tmp.KrsPT04g6H/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.KrsPT04g6H/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.NU4E8eDRdU/output | log_filter > /tmp/tmp.NU4E8eDRdU/log > diff /tmp/tmp.Q9Lq6xqBaA/output /tmp/tmp.NU4E8eDRdU/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.NU4E8eDRdU/log && die; } > diff log /tmp/tmp.NU4E8eDRdU/log || die success. ====================== test_submodule ====================== Initialized empty Git repository in /tmp/tmp.9MSAx603mH/.git/ [master (root-commit) 5e4f7c8] 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.9MSAx603mH/submodule'... done. [master 2741d2d] add submodule 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 submodule > cat /tmp/tmp.9MSAx603mH/input | preproc -C /tmp/tmp.9MSAx603mH -e PATH=/builddir/build/BUILD/rpkg-macros-2.0-build/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.9MSAx603mH' -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.pHssirzUiI/output | log_filter > /tmp/tmp.pHssirzUiI/log > diff /tmp/tmp.DyQxQVtqDe/output /tmp/tmp.pHssirzUiI/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.pHssirzUiI/log && die; } > diff log /tmp/tmp.pHssirzUiI/log || die success. > cat /tmp/tmp.9MSAx603mH/submodule/input_dir | preproc -C /tmp/tmp.9MSAx603mH -e PATH=/builddir/build/BUILD/rpkg-macros-2.0-build/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.9MSAx603mH/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.pHssirzUiI/output | log_filter > /tmp/tmp.pHssirzUiI/log > diff /tmp/tmp.DyQxQVtqDe/output_dir /tmp/tmp.pHssirzUiI/output || { echo 'LOG DIFF:' && diff log_dir /tmp/tmp.pHssirzUiI/log && die; } > diff log_dir /tmp/tmp.pHssirzUiI/log || die success. > cat /tmp/tmp.9MSAx603mH/submodule/input_cwd | preproc -C /tmp/tmp.9MSAx603mH/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.9MSAx603mH/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.pHssirzUiI/output | log_filter > /tmp/tmp.pHssirzUiI/log > diff /tmp/tmp.DyQxQVtqDe/output_cwd /tmp/tmp.pHssirzUiI/output || { echo 'LOG DIFF:' && diff log_cwd /tmp/tmp.pHssirzUiI/log && die; } > diff log_cwd /tmp/tmp.pHssirzUiI/log || die success. ====================== test_submodule_sources ====================== Initialized empty Git repository in /tmp/tmp.mbtrOW4V6x/.git/ [master (root-commit) c7b300f] 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.mbtrOW4V6x/submodule'... done. [master 6073d81] add submodule 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 submodule > cat /tmp/tmp.mbtrOW4V6x/input_archive | preproc -C /tmp/tmp.mbtrOW4V6x -e OUTDIR=/tmp/tmp.NfXVhUChrn -e PATH=/builddir/build/BUILD/rpkg-macros-2.0-build/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.mbtrOW4V6x' -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.NfXVhUChrn/output | log_filter > /tmp/tmp.NfXVhUChrn/log > custom_test_archive_clean > tar -C /tmp/tmp.NfXVhUChrn -xf /tmp/tmp.NfXVhUChrn/test-6073d812.tar.gz || die > [ -d /tmp/tmp.NfXVhUChrn/test/submodule/subdir ] && die > tar -C /tmp/tmp.NfXVhUChrn -xf /tmp/tmp.NfXVhUChrn/test-submodule-6073d812.tar.gz || die > [ -f /tmp/tmp.NfXVhUChrn/test-submodule/subdir/cookie ] || die > cat /tmp/tmp.NfXVhUChrn/test-submodule/subdir/cookie | grep -q 0 || die > tar -C /tmp/tmp.NfXVhUChrn -xf /tmp/tmp.NfXVhUChrn/test-submodule-subdir-6073d812.tar.gz || die > [ -f /tmp/tmp.NfXVhUChrn/test-submodule-subdir/cookie ] || die > cat /tmp/tmp.NfXVhUChrn/test-submodule-subdir/cookie | grep -q 0 || die success. > cat /tmp/tmp.mbtrOW4V6x/input_pack | preproc -C /tmp/tmp.mbtrOW4V6x -e OUTDIR=/tmp/tmp.NfXVhUChrn -e PATH=/builddir/build/BUILD/rpkg-macros-2.0-build/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.mbtrOW4V6x' -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.NfXVhUChrn/output | log_filter > /tmp/tmp.NfXVhUChrn/log > custom_test_pack_clean > tar -C /tmp/tmp.NfXVhUChrn -xf /tmp/tmp.NfXVhUChrn/test-6073d812.tar.gz || die > [ -f /tmp/tmp.NfXVhUChrn/test/submodule/subdir ] && die > tar -C /tmp/tmp.NfXVhUChrn -xf /tmp/tmp.NfXVhUChrn/test-submodule-6073d812.tar.gz || die > [ -f /tmp/tmp.NfXVhUChrn/test-submodule/subdir/cookie ] || die > cat /tmp/tmp.NfXVhUChrn/test-submodule/subdir/cookie | grep -q 0 || die > tar -C /tmp/tmp.NfXVhUChrn -xf /tmp/tmp.NfXVhUChrn/test-submodule-subdir-6073d812.tar.gz || die > [ -f /tmp/tmp.NfXVhUChrn/test-submodule-subdir/cookie ] || die > cat /tmp/tmp.NfXVhUChrn/test-submodule-subdir/cookie | grep -q 0 || die success. [master 57fb81b] submodule new commit 1 file changed, 1 insertion(+) > cat /tmp/tmp.mbtrOW4V6x/input_archive | preproc -C /tmp/tmp.mbtrOW4V6x -e OUTDIR=/tmp/tmp.NfXVhUChrn -e PATH=/builddir/build/BUILD/rpkg-macros-2.0-build/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.mbtrOW4V6x' -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.NfXVhUChrn/output | log_filter > /tmp/tmp.NfXVhUChrn/log > custom_test_archive_submodule_new_commit > tar -C /tmp/tmp.NfXVhUChrn -xf /tmp/tmp.NfXVhUChrn/test-6073d812.tar.gz || die > [ -d /tmp/tmp.NfXVhUChrn/test/submodule/subdir ] && die > tar -C /tmp/tmp.NfXVhUChrn -xf /tmp/tmp.NfXVhUChrn/test-submodule-6073d812.tar.gz || die > [ -f /tmp/tmp.NfXVhUChrn/test-submodule/subdir/cookie ] || die > cat /tmp/tmp.NfXVhUChrn/test-submodule/subdir/cookie | grep -q 0 || die > tar -C /tmp/tmp.NfXVhUChrn -xf /tmp/tmp.NfXVhUChrn/test-submodule-subdir-6073d812.tar.gz || die > [ -f /tmp/tmp.NfXVhUChrn/test-submodule-subdir/cookie ] || die > cat /tmp/tmp.NfXVhUChrn/test-submodule-subdir/cookie | grep -q 0 || die success. > cat /tmp/tmp.mbtrOW4V6x/input_pack | preproc -C /tmp/tmp.mbtrOW4V6x -e OUTDIR=/tmp/tmp.NfXVhUChrn -e PATH=/builddir/build/BUILD/rpkg-macros-2.0-build/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.mbtrOW4V6x' -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.NfXVhUChrn/output | log_filter > /tmp/tmp.NfXVhUChrn/log > custom_test_pack_submodule_new_commit > tar -C /tmp/tmp.NfXVhUChrn -xf /tmp/tmp.NfXVhUChrn/test-6073d812-dirty.tar.gz || die > [ -d /tmp/tmp.NfXVhUChrn/test/submodule/subdir ] && die > tar -C /tmp/tmp.NfXVhUChrn -xf /tmp/tmp.NfXVhUChrn/test-submodule-6073d812-dirty.tar.gz || die > cat /tmp/tmp.NfXVhUChrn/test-submodule/subdir/cookie | grep -q 1 || die > tar -C /tmp/tmp.NfXVhUChrn -xf /tmp/tmp.NfXVhUChrn/test-submodule-subdir-6073d812.tar.gz || die > cat /tmp/tmp.NfXVhUChrn/test-submodule-subdir/cookie | grep -q 1 || die success. > cat /tmp/tmp.mbtrOW4V6x/input_archive | preproc -C /tmp/tmp.mbtrOW4V6x -e OUTDIR=/tmp/tmp.NfXVhUChrn -e PATH=/builddir/build/BUILD/rpkg-macros-2.0-build/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.mbtrOW4V6x' -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.NfXVhUChrn/output | log_filter > /tmp/tmp.NfXVhUChrn/log > custom_test_archive_submodule_dirty > tar -C /tmp/tmp.NfXVhUChrn -xf /tmp/tmp.NfXVhUChrn/test-6073d812.tar.gz || die > [ -d /tmp/tmp.NfXVhUChrn/test/submodule/subdir ] && die > tar -C /tmp/tmp.NfXVhUChrn -xf /tmp/tmp.NfXVhUChrn/test-submodule-6073d812.tar.gz || die > [ -f /tmp/tmp.NfXVhUChrn/test-submodule/subdir/cookie ] || die > cat /tmp/tmp.NfXVhUChrn/test-submodule/subdir/cookie | grep -q 0 || die > tar -C /tmp/tmp.NfXVhUChrn -xf /tmp/tmp.NfXVhUChrn/test-submodule-subdir-6073d812.tar.gz || die > [ -f /tmp/tmp.NfXVhUChrn/test-submodule-subdir/cookie ] || die > cat /tmp/tmp.NfXVhUChrn/test-submodule-subdir/cookie | grep -q 0 || die success. > cat /tmp/tmp.mbtrOW4V6x/input_pack | preproc -C /tmp/tmp.mbtrOW4V6x -e OUTDIR=/tmp/tmp.NfXVhUChrn -e PATH=/builddir/build/BUILD/rpkg-macros-2.0-build/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.mbtrOW4V6x' -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.NfXVhUChrn/output | log_filter > /tmp/tmp.NfXVhUChrn/log > custom_test_pack_submodule_dirty > tar -C /tmp/tmp.NfXVhUChrn -xf /tmp/tmp.NfXVhUChrn/test-6073d812-dirty.tar.gz || die > [ -d /tmp/tmp.NfXVhUChrn/test/submodule/subdir ] && die > tar -C /tmp/tmp.NfXVhUChrn -xf /tmp/tmp.NfXVhUChrn/test-submodule-6073d812-dirty.tar.gz || die > cat /tmp/tmp.NfXVhUChrn/test-submodule/subdir/cookie | grep -q 2 || die > tar -C /tmp/tmp.NfXVhUChrn -xf /tmp/tmp.NfXVhUChrn/test-submodule-subdir-6073d812.tar.gz || die > cat /tmp/tmp.NfXVhUChrn/test-submodule-subdir/cookie | grep -q 2 || die success. ====================== test_tagged ====================== Initialized empty Git repository in /tmp/tmp.2CPastv0Qw/.git/ [master (root-commit) 4326eb8] 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 809fe92] side branch commit 1 file changed, 1 insertion(+) Switched to branch 'master' > cat /tmp/tmp.2CPastv0Qw/input | preproc -C /tmp/tmp.2CPastv0Qw -e PATH=/builddir/build/BUILD/rpkg-macros-2.0-build/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.2CPastv0Qw' -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.i3FHvVLppC/output | log_filter > /tmp/tmp.i3FHvVLppC/log > diff /tmp/tmp.QmiWhzWHjM/output /tmp/tmp.i3FHvVLppC/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.i3FHvVLppC/log && die; } > diff log /tmp/tmp.i3FHvVLppC/log || die success. ====================== test_tagged_committed ====================== Initialized empty Git repository in /tmp/tmp.b0OExGEBNk/.git/ [master (root-commit) ab19bb0] inital_commit 2 files changed, 117 insertions(+) create mode 100644 foo/file create mode 100644 input [master bdfc467] commit after tag 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 file > cat /tmp/tmp.b0OExGEBNk/input | preproc -C /tmp/tmp.b0OExGEBNk -e PATH=/builddir/build/BUILD/rpkg-macros-2.0-build/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.b0OExGEBNk' -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.AuBGjqC6LY/output | log_filter > /tmp/tmp.AuBGjqC6LY/log > diff /tmp/tmp.GjueuJG5ZW/output /tmp/tmp.AuBGjqC6LY/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.AuBGjqC6LY/log && die; } > diff log /tmp/tmp.AuBGjqC6LY/log || die success. ====================== test_uninited ====================== > cat /tmp/tmp.9zgacWQZwk/input | preproc -C /tmp/tmp.9zgacWQZwk -e PATH=/builddir/build/BUILD/rpkg-macros-2.0-build/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.9zgacWQZwk' -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.zMOpiEJksM/output | log_filter > /tmp/tmp.zMOpiEJksM/log > diff /tmp/tmp.gvrRHLyyH1/output /tmp/tmp.zMOpiEJksM/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.zMOpiEJksM/log && die; } > diff log /tmp/tmp.zMOpiEJksM/log || die success. + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rpkg-macros-2.0-11.fc43.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.sf0jMI + 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-11.fc43 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-11.fc43.noarch.rpm Child return code was: 0