Mock Version: 5.2 Mock Version: 5.2 Mock Version: 5.2 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/f40-build-2321979-58616/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=997gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['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'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1706227200 Wrote: /builddir/build/SRPMS/rpkg-macros-2.0-8.fc40.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/f40-build-2321979-58616/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=997gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['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'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1706227200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.tLkOxy + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/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 + rm -rf /builddir/build/BUILD/rpkg-util-macros-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/rpkg-util-macros-SPECPARTS + /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.uwpJuh + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rpkg-macros-2.0-8.fc40.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rpkg-macros-2.0-8.fc40.noarch ++ dirname /builddir/build/BUILDROOT/rpkg-macros-2.0-8.fc40.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rpkg-macros-2.0-8.fc40.noarch + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -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 -fasynchronous-unwind-tables -fno-omit-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 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --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/BUILDROOT/rpkg-macros-2.0-8.fc40.noarch/usr/lib + install -d /builddir/build/BUILDROOT/rpkg-macros-2.0-8.fc40.noarch/usr/lib/rpkg.macros.d + cp -ar macros.d/all.bash macros.d/git.bash macros.d/helpers macros.d/library /builddir/build/BUILDROOT/rpkg-macros-2.0-8.fc40.noarch/usr/lib/rpkg.macros.d + install -d /builddir/build/BUILDROOT/rpkg-macros-2.0-8.fc40.noarch/usr/bin + install -p -m 755 bin/pack_sources /builddir/build/BUILDROOT/rpkg-macros-2.0-8.fc40.noarch/usr/bin/pack_sources + install -d /builddir/build/BUILDROOT/rpkg-macros-2.0-8.fc40.noarch/usr/share/man/man1 + install -p -m 644 man/rpkg-macros.1 /builddir/build/BUILDROOT/rpkg-macros-2.0-8.fc40.noarch//usr/share/man/man1/ + /usr/bin/find-debuginfo -j64 --strict-build-id -m -i --build-id-seed 2.0-8.fc40 --unique-debug-suffix -2.0-8.fc40.noarch --unique-debug-src-base rpkg-macros-2.0-8.fc40.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/rpkg-util-macros find-debuginfo: starting Extracting debug info from 0 files Creating .debug symlinks for symlinks to ELF files find: ‘debug’: No such file or directory find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /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_remote_url 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_branch 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_head_short 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_root from /bin/bash to #!/usr/bin/bash 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_merged_tag_refs 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 -j64 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.ofoJcR + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -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 -fasynchronous-unwind-tables -fno-omit-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 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --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-util-macros/gitconfig + GIT_CONFIG_GLOBAL=/builddir/build/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.uBV06jBgw1/.git/ > cat /tmp/tmp.uBV06jBgw1/input | preproc -C /tmp/tmp.uBV06jBgw1 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.uBV06jBgw1' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.8cNxvOeysC/output | log_filter > /tmp/tmp.8cNxvOeysC/log > diff /tmp/tmp.8UnLCBW82H/output /tmp/tmp.8cNxvOeysC/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.8cNxvOeysC/log && die; } > diff log /tmp/tmp.8cNxvOeysC/log || die success. ====================== test_committed ====================== Initialized empty Git repository in /tmp/tmp.amCW6fDPP6/.git/ [master (root-commit) 9b7f6e0] commit 1 1 file changed, 117 insertions(+) create mode 100644 input [master 5f4d31d] commit 2 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 foo/file [master 7c53e2a] commit 3 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 bar/file > cat /tmp/tmp.amCW6fDPP6/input | preproc -C /tmp/tmp.amCW6fDPP6 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.amCW6fDPP6' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.cNc9TNI4MW/output | log_filter > /tmp/tmp.cNc9TNI4MW/log > diff /tmp/tmp.ucgUriiFzJ/output /tmp/tmp.cNc9TNI4MW/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.cNc9TNI4MW/log && die; } > diff log /tmp/tmp.cNc9TNI4MW/log || die success. ====================== test_dirty ====================== Initialized empty Git repository in /tmp/tmp.NY9PvU6ttt/.git/ [master (root-commit) 195723e] inital_commit 2 files changed, 117 insertions(+) create mode 100644 foo/file create mode 100644 input > cat /tmp/tmp.NY9PvU6ttt/input | preproc -C /tmp/tmp.NY9PvU6ttt -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.NY9PvU6ttt' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.HvSArUlQJ8/output | log_filter > /tmp/tmp.HvSArUlQJ8/log > diff /tmp/tmp.XHCuytUznV/output /tmp/tmp.HvSArUlQJ8/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.HvSArUlQJ8/log && die; } > diff log /tmp/tmp.HvSArUlQJ8/log || die success. ====================== test_fn_bumped_version ====================== > cat /tmp/tmp.zrNiD3PXPW/input | preproc -C /tmp/tmp.zrNiD3PXPW -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.zrNiD3PXPW' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.asPr4pJVhQ/output | log_filter > /tmp/tmp.asPr4pJVhQ/log > diff /tmp/tmp.saVy1CeA54/output /tmp/tmp.asPr4pJVhQ/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.asPr4pJVhQ/log && die; } > diff log /tmp/tmp.asPr4pJVhQ/log || die success. ====================== test_fn_git_prefix ====================== Initialized empty Git repository in /tmp/tmp.pN5mgm8OhP/.git/ [master (root-commit) 587044a] add subdir with file 2 files changed, 6 insertions(+) create mode 100644 input create mode 100644 subdir/file Cloning into '/tmp/tmp.pN5mgm8OhP/submodule'... done. [master 9dd27f5] add submodule 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 submodule > cat /tmp/tmp.pN5mgm8OhP/input | preproc -C /tmp/tmp.pN5mgm8OhP -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.pN5mgm8OhP' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.Ix6YrmGeTI/output | log_filter > /tmp/tmp.Ix6YrmGeTI/log > diff /tmp/tmp.yODfihT5kP/output /tmp/tmp.Ix6YrmGeTI/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.Ix6YrmGeTI/log && die; } > diff log /tmp/tmp.Ix6YrmGeTI/log || die success. ====================== test_fn_is_physical_subpath ====================== Initialized empty Git repository in /tmp/tmp.VkqMAFQuEX/.git/ > cat /tmp/tmp.VkqMAFQuEX/input | preproc -C /tmp/tmp.VkqMAFQuEX -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.VkqMAFQuEX' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.ofziStMMQd/output | log_filter > /tmp/tmp.ofziStMMQd/log > diff /tmp/tmp.ZdXbolTzdA/output /tmp/tmp.ofziStMMQd/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.ofziStMMQd/log && die; } > diff log /tmp/tmp.ofziStMMQd/log || die success. ====================== test_fn_is_strict_physical_subpath ====================== Initialized empty Git repository in /tmp/tmp.n0UuO2y7Eg/.git/ > cat /tmp/tmp.n0UuO2y7Eg/input | preproc -C /tmp/tmp.n0UuO2y7Eg -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.n0UuO2y7Eg' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.CF8iIyZ3ze/output | log_filter > /tmp/tmp.CF8iIyZ3ze/log > diff /tmp/tmp.6r0FGOWt8b/output /tmp/tmp.CF8iIyZ3ze/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.CF8iIyZ3ze/log && die; } > diff log /tmp/tmp.CF8iIyZ3ze/log || die success. ====================== test_fn_version_dirty_appendix ====================== Initialized empty Git repository in /tmp/tmp.orPnHn8DnL/.git/ [master (root-commit) f9a9a19] hello world 3 files changed, 3 insertions(+) create mode 100644 cookie create mode 100644 foo/cookie create mode 100644 input > cat /tmp/tmp.orPnHn8DnL/input | preproc -C /tmp/tmp.orPnHn8DnL -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.orPnHn8DnL' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.UIQ4CyyiBw/output | log_filter > /tmp/tmp.UIQ4CyyiBw/log > diff /tmp/tmp.ay7Bdf5ysz/output_clean /tmp/tmp.UIQ4CyyiBw/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.UIQ4CyyiBw/log && die; } > diff log /tmp/tmp.UIQ4CyyiBw/log || die success. > cat /tmp/tmp.orPnHn8DnL/input | preproc -C /tmp/tmp.orPnHn8DnL -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.orPnHn8DnL' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.UIQ4CyyiBw/output | log_filter > /tmp/tmp.UIQ4CyyiBw/log > diff /tmp/tmp.ay7Bdf5ysz/output_dirty /tmp/tmp.UIQ4CyyiBw/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.UIQ4CyyiBw/log && die; } > diff log /tmp/tmp.UIQ4CyyiBw/log || die success. Updated 1 path from the index > cat /tmp/tmp.orPnHn8DnL/input | preproc -C /tmp/tmp.orPnHn8DnL -e GIT_DIRTY=1 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.orPnHn8DnL' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.UIQ4CyyiBw/output | log_filter > /tmp/tmp.UIQ4CyyiBw/log > diff /tmp/tmp.ay7Bdf5ysz/output_dirty_manual /tmp/tmp.UIQ4CyyiBw/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.UIQ4CyyiBw/log && die; } > diff log /tmp/tmp.UIQ4CyyiBw/log || die success. ====================== test_inited ====================== Initialized empty Git repository in /tmp/tmp.9Ihj5x7mOv/.git/ > cat /tmp/tmp.9Ihj5x7mOv/input | preproc -C /tmp/tmp.9Ihj5x7mOv -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.9Ihj5x7mOv' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.EAexrWnLub/output | log_filter > /tmp/tmp.EAexrWnLub/log > diff /tmp/tmp.paw4XqEyiF/output /tmp/tmp.EAexrWnLub/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.EAexrWnLub/log && die; } > diff log /tmp/tmp.EAexrWnLub/log || die success. ====================== test_inited_origin_set ====================== Initialized empty Git repository in /tmp/tmp.94kTt6mqXE/.git/ > cat /tmp/tmp.94kTt6mqXE/input | preproc -C /tmp/tmp.94kTt6mqXE -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.94kTt6mqXE' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.4T8XAZcAJg/output | log_filter > /tmp/tmp.4T8XAZcAJg/log > diff /tmp/tmp.que2bupBQH/output /tmp/tmp.4T8XAZcAJg/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.4T8XAZcAJg/log && die; } > diff log /tmp/tmp.4T8XAZcAJg/log || die success. ====================== test_sources ====================== Initialized empty Git repository in /tmp/tmp.MPKbRP7DsE/.git/ > cat /tmp/tmp.MPKbRP7DsE/input | preproc -C /tmp/tmp.MPKbRP7DsE -e OUTDIR=/tmp/tmp.UqcD6sOdas -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.MPKbRP7DsE' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.UqcD6sOdas/output | log_filter > /tmp/tmp.UqcD6sOdas/log > diff /tmp/tmp.E9FupaU7lD/output /tmp/tmp.UqcD6sOdas/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.UqcD6sOdas/log && die; } > diff log /tmp/tmp.UqcD6sOdas/log || die > custom_test > tar -C /tmp/tmp.UqcD6sOdas -xf /tmp/tmp.UqcD6sOdas/foo.tar.gz || die > diff /tmp/tmp.UqcD6sOdas/foo/cookie /tmp/tmp.MPKbRP7DsE/cookie || die > ls /tmp/tmp.UqcD6sOdas/foo/cookie_ignored 2>/dev/null && die > ls /tmp/tmp.UqcD6sOdas/foo/cookie_unadded 2>/dev/null && die success. ====================== test_sources_committed ====================== Initialized empty Git repository in /tmp/tmp.2XC56VttMe/.git/ [master (root-commit) 9b853fc] commit 1 2 files changed, 3 insertions(+) create mode 100644 cookie create mode 100644 input > cat /tmp/tmp.2XC56VttMe/input | preproc -C /tmp/tmp.2XC56VttMe -e OUTDIR=/tmp/tmp.4AA5u9ej3Q -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.2XC56VttMe' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.4AA5u9ej3Q/output | log_filter > /tmp/tmp.4AA5u9ej3Q/log > diff /tmp/tmp.QTYKQS44LZ/output /tmp/tmp.4AA5u9ej3Q/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.4AA5u9ej3Q/log && die; } > diff log /tmp/tmp.4AA5u9ej3Q/log || die > custom_test > tar -C /tmp/tmp.4AA5u9ej3Q -xf /tmp/tmp.4AA5u9ej3Q/foo.tar.gz || die > diff /tmp/tmp.4AA5u9ej3Q/foo/cookie /tmp/tmp.2XC56VttMe/cookie || die > [ '9b853fcaa904b13e89ca25fd84f11eea9ef801db' = '9b853fcaa904b13e89ca25fd84f11eea9ef801db' ] || die > tar -C /tmp/tmp.4AA5u9ej3Q -xf /tmp/tmp.4AA5u9ej3Q/bar.tar.gz || die > diff /tmp/tmp.4AA5u9ej3Q/bar/cookie /tmp/tmp.2XC56VttMe/cookie || die > [ '9b853fcaa904b13e89ca25fd84f11eea9ef801db' = '9b853fcaa904b13e89ca25fd84f11eea9ef801db' ] || die success. > cat /tmp/tmp.2XC56VttMe/input | preproc -C /tmp/tmp.2XC56VttMe -e OUTDIR=/tmp/tmp.4AA5u9ej3Q -e GIT_STATUS=somestatus -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.2XC56VttMe' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.4AA5u9ej3Q/output | log_filter > /tmp/tmp.4AA5u9ej3Q/log > test_nonempty_git_status > tar -C /tmp/tmp.4AA5u9ej3Q -xf /tmp/tmp.4AA5u9ej3Q/foo.tar.gz || die > diff /tmp/tmp.4AA5u9ej3Q/foo/cookie /tmp/tmp.2XC56VttMe/cookie || die > [ '9b853fcaa904b13e89ca25fd84f11eea9ef801db' = '' ] && die > tar -C /tmp/tmp.4AA5u9ej3Q -xf /tmp/tmp.4AA5u9ej3Q/bar.tar.gz || die > diff /tmp/tmp.4AA5u9ej3Q/bar/cookie /tmp/tmp.2XC56VttMe/cookie || die > [ '9b853fcaa904b13e89ca25fd84f11eea9ef801db' = '9b853fcaa904b13e89ca25fd84f11eea9ef801db' ] || die success. > cat /tmp/tmp.2XC56VttMe/input | preproc -C /tmp/tmp.2XC56VttMe -e OUTDIR=/tmp/tmp.4AA5u9ej3Q -e GIT_HEAD=somehead -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.2XC56VttMe' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.4AA5u9ej3Q/output | log_filter > /tmp/tmp.4AA5u9ej3Q/log > test_invalid_git_head > [ -f '/tmp/tmp.4AA5u9ej3Q/foo.tar.gz' ] && die > [ -f '/tmp/tmp.4AA5u9ej3Q/bar.tar.gz' ] && die success. > cat /tmp/tmp.2XC56VttMe/input | preproc -C /tmp/tmp.2XC56VttMe -e OUTDIR=/tmp/tmp.4AA5u9ej3Q -e GIT_HEAD= -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.2XC56VttMe' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.4AA5u9ej3Q/output | log_filter > /tmp/tmp.4AA5u9ej3Q/log > test_empty_git_head > tar -C /tmp/tmp.4AA5u9ej3Q -xf /tmp/tmp.4AA5u9ej3Q/foo.tar.gz || die > diff /tmp/tmp.4AA5u9ej3Q/foo/cookie /tmp/tmp.2XC56VttMe/cookie || die > [ '9b853fcaa904b13e89ca25fd84f11eea9ef801db' = '' ] && die > [ -f '/tmp/tmp.4AA5u9ej3Q/bar.tar.gz' ] && die success. ====================== test_sources_committed_dirty ====================== Initialized empty Git repository in /tmp/tmp.gGw7Mextpf/.git/ [master (root-commit) fd54e43] commit 1 2 files changed, 3 insertions(+) create mode 100644 cookie create mode 100644 input > cat /tmp/tmp.gGw7Mextpf/input | preproc -C /tmp/tmp.gGw7Mextpf -e OUTDIR=/tmp/tmp.TVk1VvuMFN -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.gGw7Mextpf' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.TVk1VvuMFN/output | log_filter > /tmp/tmp.TVk1VvuMFN/log > diff /tmp/tmp.V2jDi88yew/output /tmp/tmp.TVk1VvuMFN/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.TVk1VvuMFN/log && die; } > diff log /tmp/tmp.TVk1VvuMFN/log || die > custom_test > tar -C /tmp/tmp.TVk1VvuMFN -xf /tmp/tmp.TVk1VvuMFN/foo.tar.gz || die > diff /tmp/tmp.TVk1VvuMFN/foo/cookie /tmp/tmp.gGw7Mextpf/cookie || die > [ 'fd54e43a8ccc800722bd540a0a55d00415c6f215' = '' ] && die > tar -C /tmp/tmp.TVk1VvuMFN -xf /tmp/tmp.TVk1VvuMFN/bar.tar.gz || die > diff /tmp/tmp.TVk1VvuMFN/bar/cookie /tmp/tmp.gGw7Mextpf/cookie >/dev/null && die > [ 'fd54e43a8ccc800722bd540a0a55d00415c6f215' = 'fd54e43a8ccc800722bd540a0a55d00415c6f215' ] || die success. ====================== test_sources_subdir ====================== Initialized empty Git repository in /tmp/tmp.Ry49meRJDK/.git/ [master (root-commit) 3a010d7] 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.Ry49meRJDK/bar/input | preproc -C /tmp/tmp.Ry49meRJDK/foo -e OUTDIR=/tmp/tmp.oRNYzwW4Re -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.Ry49meRJDK/bar' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.oRNYzwW4Re/output | log_filter > /tmp/tmp.oRNYzwW4Re/log > diff /tmp/tmp.LoI42GSv0L/output /tmp/tmp.oRNYzwW4Re/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.oRNYzwW4Re/log && die; } > diff log /tmp/tmp.oRNYzwW4Re/log || die > custom_test > tar -C /tmp/tmp.oRNYzwW4Re -xf /tmp/tmp.oRNYzwW4Re/dir_pack_nodirname.tar.gz || die > diff /tmp/tmp.oRNYzwW4Re/test-bar/cookie /tmp/tmp.Ry49meRJDK/bar/cookie || die > tar -C /tmp/tmp.oRNYzwW4Re -xf /tmp/tmp.oRNYzwW4Re/dir_archive_nodirname.tar.gz || die > diff /tmp/tmp.oRNYzwW4Re/test-bar/cookie /tmp/tmp.Ry49meRJDK/bar/cookie || die > tar -C /tmp/tmp.oRNYzwW4Re -xf /tmp/tmp.oRNYzwW4Re/dir_pack_foo.tar.gz || die > diff /tmp/tmp.oRNYzwW4Re/foo/cookie /tmp/tmp.Ry49meRJDK/bar/cookie || die > tar -C /tmp/tmp.oRNYzwW4Re -xf /tmp/tmp.oRNYzwW4Re/dir_archive_bar.tar.gz || die > diff /tmp/tmp.oRNYzwW4Re/bar/cookie /tmp/tmp.Ry49meRJDK/bar/cookie || die > tar -C /tmp/tmp.oRNYzwW4Re -xf /tmp/tmp.oRNYzwW4Re/cwd_pack_nodirname.tar.gz || die > diff /tmp/tmp.oRNYzwW4Re/test-foo/cookie /tmp/tmp.Ry49meRJDK/foo/cookie || die > tar -C /tmp/tmp.oRNYzwW4Re -xf /tmp/tmp.oRNYzwW4Re/cwd_archive_nodirname.tar.gz || die > diff /tmp/tmp.oRNYzwW4Re/test-foo/cookie /tmp/tmp.Ry49meRJDK/foo/cookie || die > tar -C /tmp/tmp.oRNYzwW4Re -xf /tmp/tmp.oRNYzwW4Re/cwd_pack_foo.tar.gz || die > diff /tmp/tmp.oRNYzwW4Re/foo/cookie /tmp/tmp.Ry49meRJDK/foo/cookie || die > tar -C /tmp/tmp.oRNYzwW4Re -xf /tmp/tmp.oRNYzwW4Re/cwd_archive_bar.tar.gz || die > diff /tmp/tmp.oRNYzwW4Re/bar/cookie /tmp/tmp.Ry49meRJDK/foo/cookie || die > tar -C /tmp/tmp.oRNYzwW4Re -xf /tmp/tmp.oRNYzwW4Re/baz_pack_nodirname.tar.gz || die > diff /tmp/tmp.oRNYzwW4Re/test-baz/cookie /tmp/tmp.Ry49meRJDK/baz/cookie || die > tar -C /tmp/tmp.oRNYzwW4Re -xf /tmp/tmp.oRNYzwW4Re/baz_archive_nodirname.tar.gz || die > diff /tmp/tmp.oRNYzwW4Re/test-baz/cookie /tmp/tmp.Ry49meRJDK/baz/cookie || die > tar -C /tmp/tmp.oRNYzwW4Re -xf /tmp/tmp.oRNYzwW4Re/baz_pack_foo.tar.gz || die > diff /tmp/tmp.oRNYzwW4Re/foo/cookie /tmp/tmp.Ry49meRJDK/baz/cookie || die > ls /tmp/tmp.oRNYzwW4Re/foo/cookie_ignored 2>/dev/null && die > ls /tmp/tmp.oRNYzwW4Re/foo/cookie_unadded 2>/dev/null && die > tar -C /tmp/tmp.oRNYzwW4Re -xf /tmp/tmp.oRNYzwW4Re/baz_archive_bar.tar.gz || die > diff /tmp/tmp.oRNYzwW4Re/bar/cookie /tmp/tmp.Ry49meRJDK/baz/cookie || die > ls /tmp/tmp.oRNYzwW4Re/bar/cookie_ignored 2>/dev/null && die > ls /tmp/tmp.oRNYzwW4Re/bar/cookie_unadded 2>/dev/null && die success. ====================== test_subdir ====================== Initialized empty Git repository in /tmp/tmp.Z1OfvJ9Jim/.git/ > cat /tmp/tmp.Z1OfvJ9Jim/bar/input | preproc -C /tmp/tmp.Z1OfvJ9Jim/foo -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.Z1OfvJ9Jim/bar' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.Sk1TtBa5NZ/output | log_filter > /tmp/tmp.Sk1TtBa5NZ/log > diff /tmp/tmp.0VGmQ1hbYL/output /tmp/tmp.Sk1TtBa5NZ/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.Sk1TtBa5NZ/log && die; } > diff log /tmp/tmp.Sk1TtBa5NZ/log || die success. ====================== test_submodule ====================== Initialized empty Git repository in /tmp/tmp.jZfjCoTimB/.git/ [master (root-commit) a8a4644] 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.jZfjCoTimB/submodule'... done. [master 5740c2a] add submodule 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 submodule > cat /tmp/tmp.jZfjCoTimB/input | preproc -C /tmp/tmp.jZfjCoTimB -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.jZfjCoTimB' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.v8de45spG7/output | log_filter > /tmp/tmp.v8de45spG7/log > diff /tmp/tmp.EmveonR35O/output /tmp/tmp.v8de45spG7/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.v8de45spG7/log && die; } > diff log /tmp/tmp.v8de45spG7/log || die success. > cat /tmp/tmp.jZfjCoTimB/submodule/input_dir | preproc -C /tmp/tmp.jZfjCoTimB -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.jZfjCoTimB/submodule' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.v8de45spG7/output | log_filter > /tmp/tmp.v8de45spG7/log > diff /tmp/tmp.EmveonR35O/output_dir /tmp/tmp.v8de45spG7/output || { echo 'LOG DIFF:' && diff log_dir /tmp/tmp.v8de45spG7/log && die; } > diff log_dir /tmp/tmp.v8de45spG7/log || die success. > cat /tmp/tmp.jZfjCoTimB/submodule/input_cwd | preproc -C /tmp/tmp.jZfjCoTimB/submodule/subdir -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.jZfjCoTimB/submodule' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.v8de45spG7/output | log_filter > /tmp/tmp.v8de45spG7/log > diff /tmp/tmp.EmveonR35O/output_cwd /tmp/tmp.v8de45spG7/output || { echo 'LOG DIFF:' && diff log_cwd /tmp/tmp.v8de45spG7/log && die; } > diff log_cwd /tmp/tmp.v8de45spG7/log || die success. ====================== test_submodule_sources ====================== Initialized empty Git repository in /tmp/tmp.Jr4v6ybhae/.git/ [master (root-commit) 90b5d7d] 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.Jr4v6ybhae/submodule'... done. [master 5a03273] add submodule 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 submodule > cat /tmp/tmp.Jr4v6ybhae/input_archive | preproc -C /tmp/tmp.Jr4v6ybhae -e OUTDIR=/tmp/tmp.3a9dWJnZWP -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.Jr4v6ybhae' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.3a9dWJnZWP/output | log_filter > /tmp/tmp.3a9dWJnZWP/log > custom_test_archive_clean > tar -C /tmp/tmp.3a9dWJnZWP -xf /tmp/tmp.3a9dWJnZWP/test-5a03273d.tar.gz || die > [ -d /tmp/tmp.3a9dWJnZWP/test/submodule/subdir ] && die > tar -C /tmp/tmp.3a9dWJnZWP -xf /tmp/tmp.3a9dWJnZWP/test-submodule-5a03273d.tar.gz || die > [ -f /tmp/tmp.3a9dWJnZWP/test-submodule/subdir/cookie ] || die > cat /tmp/tmp.3a9dWJnZWP/test-submodule/subdir/cookie | grep -q 0 || die > tar -C /tmp/tmp.3a9dWJnZWP -xf /tmp/tmp.3a9dWJnZWP/test-submodule-subdir-5a03273d.tar.gz || die > [ -f /tmp/tmp.3a9dWJnZWP/test-submodule-subdir/cookie ] || die > cat /tmp/tmp.3a9dWJnZWP/test-submodule-subdir/cookie | grep -q 0 || die success. > cat /tmp/tmp.Jr4v6ybhae/input_pack | preproc -C /tmp/tmp.Jr4v6ybhae -e OUTDIR=/tmp/tmp.3a9dWJnZWP -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.Jr4v6ybhae' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.3a9dWJnZWP/output | log_filter > /tmp/tmp.3a9dWJnZWP/log > custom_test_pack_clean > tar -C /tmp/tmp.3a9dWJnZWP -xf /tmp/tmp.3a9dWJnZWP/test-5a03273d.tar.gz || die > [ -f /tmp/tmp.3a9dWJnZWP/test/submodule/subdir ] && die > tar -C /tmp/tmp.3a9dWJnZWP -xf /tmp/tmp.3a9dWJnZWP/test-submodule-5a03273d.tar.gz || die > [ -f /tmp/tmp.3a9dWJnZWP/test-submodule/subdir/cookie ] || die > cat /tmp/tmp.3a9dWJnZWP/test-submodule/subdir/cookie | grep -q 0 || die > tar -C /tmp/tmp.3a9dWJnZWP -xf /tmp/tmp.3a9dWJnZWP/test-submodule-subdir-5a03273d.tar.gz || die > [ -f /tmp/tmp.3a9dWJnZWP/test-submodule-subdir/cookie ] || die > cat /tmp/tmp.3a9dWJnZWP/test-submodule-subdir/cookie | grep -q 0 || die success. [master e06a910] submodule new commit 1 file changed, 1 insertion(+) > cat /tmp/tmp.Jr4v6ybhae/input_archive | preproc -C /tmp/tmp.Jr4v6ybhae -e OUTDIR=/tmp/tmp.3a9dWJnZWP -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.Jr4v6ybhae' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.3a9dWJnZWP/output | log_filter > /tmp/tmp.3a9dWJnZWP/log > custom_test_archive_submodule_new_commit > tar -C /tmp/tmp.3a9dWJnZWP -xf /tmp/tmp.3a9dWJnZWP/test-5a03273d.tar.gz || die > [ -d /tmp/tmp.3a9dWJnZWP/test/submodule/subdir ] && die > tar -C /tmp/tmp.3a9dWJnZWP -xf /tmp/tmp.3a9dWJnZWP/test-submodule-5a03273d.tar.gz || die > [ -f /tmp/tmp.3a9dWJnZWP/test-submodule/subdir/cookie ] || die > cat /tmp/tmp.3a9dWJnZWP/test-submodule/subdir/cookie | grep -q 0 || die > tar -C /tmp/tmp.3a9dWJnZWP -xf /tmp/tmp.3a9dWJnZWP/test-submodule-subdir-5a03273d.tar.gz || die > [ -f /tmp/tmp.3a9dWJnZWP/test-submodule-subdir/cookie ] || die > cat /tmp/tmp.3a9dWJnZWP/test-submodule-subdir/cookie | grep -q 0 || die success. > cat /tmp/tmp.Jr4v6ybhae/input_pack | preproc -C /tmp/tmp.Jr4v6ybhae -e OUTDIR=/tmp/tmp.3a9dWJnZWP -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.Jr4v6ybhae' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.3a9dWJnZWP/output | log_filter > /tmp/tmp.3a9dWJnZWP/log > custom_test_pack_submodule_new_commit > tar -C /tmp/tmp.3a9dWJnZWP -xf /tmp/tmp.3a9dWJnZWP/test-5a03273d-dirty.tar.gz || die > [ -d /tmp/tmp.3a9dWJnZWP/test/submodule/subdir ] && die > tar -C /tmp/tmp.3a9dWJnZWP -xf /tmp/tmp.3a9dWJnZWP/test-submodule-5a03273d-dirty.tar.gz || die > cat /tmp/tmp.3a9dWJnZWP/test-submodule/subdir/cookie | grep -q 1 || die > tar -C /tmp/tmp.3a9dWJnZWP -xf /tmp/tmp.3a9dWJnZWP/test-submodule-subdir-5a03273d.tar.gz || die > cat /tmp/tmp.3a9dWJnZWP/test-submodule-subdir/cookie | grep -q 1 || die success. > cat /tmp/tmp.Jr4v6ybhae/input_archive | preproc -C /tmp/tmp.Jr4v6ybhae -e OUTDIR=/tmp/tmp.3a9dWJnZWP -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.Jr4v6ybhae' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.3a9dWJnZWP/output | log_filter > /tmp/tmp.3a9dWJnZWP/log > custom_test_archive_submodule_dirty > tar -C /tmp/tmp.3a9dWJnZWP -xf /tmp/tmp.3a9dWJnZWP/test-5a03273d.tar.gz || die > [ -d /tmp/tmp.3a9dWJnZWP/test/submodule/subdir ] && die > tar -C /tmp/tmp.3a9dWJnZWP -xf /tmp/tmp.3a9dWJnZWP/test-submodule-5a03273d.tar.gz || die > [ -f /tmp/tmp.3a9dWJnZWP/test-submodule/subdir/cookie ] || die > cat /tmp/tmp.3a9dWJnZWP/test-submodule/subdir/cookie | grep -q 0 || die > tar -C /tmp/tmp.3a9dWJnZWP -xf /tmp/tmp.3a9dWJnZWP/test-submodule-subdir-5a03273d.tar.gz || die > [ -f /tmp/tmp.3a9dWJnZWP/test-submodule-subdir/cookie ] || die > cat /tmp/tmp.3a9dWJnZWP/test-submodule-subdir/cookie | grep -q 0 || die success. > cat /tmp/tmp.Jr4v6ybhae/input_pack | preproc -C /tmp/tmp.Jr4v6ybhae -e OUTDIR=/tmp/tmp.3a9dWJnZWP -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.Jr4v6ybhae' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.3a9dWJnZWP/output | log_filter > /tmp/tmp.3a9dWJnZWP/log > custom_test_pack_submodule_dirty > tar -C /tmp/tmp.3a9dWJnZWP -xf /tmp/tmp.3a9dWJnZWP/test-5a03273d-dirty.tar.gz || die > [ -d /tmp/tmp.3a9dWJnZWP/test/submodule/subdir ] && die > tar -C /tmp/tmp.3a9dWJnZWP -xf /tmp/tmp.3a9dWJnZWP/test-submodule-5a03273d-dirty.tar.gz || die > cat /tmp/tmp.3a9dWJnZWP/test-submodule/subdir/cookie | grep -q 2 || die > tar -C /tmp/tmp.3a9dWJnZWP -xf /tmp/tmp.3a9dWJnZWP/test-submodule-subdir-5a03273d.tar.gz || die > cat /tmp/tmp.3a9dWJnZWP/test-submodule-subdir/cookie | grep -q 2 || die success. ====================== test_tagged ====================== Initialized empty Git repository in /tmp/tmp.Ed2nHxVIVe/.git/ [master (root-commit) e8f7401] 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 522b92c] side branch commit 1 file changed, 1 insertion(+) Switched to branch 'master' > cat /tmp/tmp.Ed2nHxVIVe/input | preproc -C /tmp/tmp.Ed2nHxVIVe -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.Ed2nHxVIVe' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.JJ2hH61aTK/output | log_filter > /tmp/tmp.JJ2hH61aTK/log > diff /tmp/tmp.fEeHz6iXBc/output /tmp/tmp.JJ2hH61aTK/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.JJ2hH61aTK/log && die; } > diff log /tmp/tmp.JJ2hH61aTK/log || die success. ====================== test_tagged_committed ====================== Initialized empty Git repository in /tmp/tmp.cS4R6U60fH/.git/ [master (root-commit) 371ac55] inital_commit 2 files changed, 117 insertions(+) create mode 100644 foo/file create mode 100644 input [master de842b5] commit after tag 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 file > cat /tmp/tmp.cS4R6U60fH/input | preproc -C /tmp/tmp.cS4R6U60fH -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.cS4R6U60fH' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.2MxKJ96M7u/output | log_filter > /tmp/tmp.2MxKJ96M7u/log > diff /tmp/tmp.SLrdSEDwfS/output /tmp/tmp.2MxKJ96M7u/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.2MxKJ96M7u/log && die; } > diff log /tmp/tmp.2MxKJ96M7u/log || die success. ====================== test_uninited ====================== > cat /tmp/tmp.Dvb9rKAJZ5/input | preproc -C /tmp/tmp.Dvb9rKAJZ5 -e PATH=/builddir/build/BUILD/rpkg-util-macros/tests/../bin:/usr/bin:/bin -e INPUT_DIR_PATH='/tmp/tmp.Dvb9rKAJZ5' -s /builddir/build/BUILD/rpkg-util-macros/tests/../macros.d/all.bash --debug --no-break-on-failure 2>&1 > /tmp/tmp.tLaLoI4v8p/output | log_filter > /tmp/tmp.tLaLoI4v8p/log > diff /tmp/tmp.qH4cV5x3PT/output /tmp/tmp.tLaLoI4v8p/output || { echo 'LOG DIFF:' && diff log /tmp/tmp.tLaLoI4v8p/log && die; } > diff log /tmp/tmp.tLaLoI4v8p/log || die success. + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rpkg-macros-2.0-8.fc40.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.o9ajeh + umask 022 + cd /builddir/build/BUILD + cd rpkg-util-macros + LICENSEDIR=/builddir/build/BUILDROOT/rpkg-macros-2.0-8.fc40.noarch/usr/share/licenses/rpkg-macros + export LC_ALL= + LC_ALL= + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rpkg-macros-2.0-8.fc40.noarch/usr/share/licenses/rpkg-macros + cp -pr /builddir/build/BUILD/rpkg-util-macros/LICENSE /builddir/build/BUILDROOT/rpkg-macros-2.0-8.fc40.noarch/usr/share/licenses/rpkg-macros + RPM_EC=0 ++ jobs -p + exit 0 Provides: rpkg-macros = 2.0-8.fc40 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/BUILDROOT/rpkg-macros-2.0-8.fc40.noarch Wrote: /builddir/build/RPMS/rpkg-macros-2.0-8.fc40.noarch.rpm Child return code was: 0