Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/argbash.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1642628178.598989/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.3_95nta8:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.3_95nta8:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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', '54937fc7fa894f86ba99c5de95d7d31e', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1642628178.598989/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.3_95nta8:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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 --target x86_64 --nodeps /builddir/build/SPECS/argbash.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'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1642550400 Wrote: /builddir/build/SRPMS/argbash-2.10.0-4.fc36.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/argbash.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1642628178.598989/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.3_95nta8:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.3_95nta8:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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', '7fe4addcc2664fa1b59292bf2471a482', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1642628178.598989/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.3_95nta8:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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 --target x86_64 --nodeps /builddir/build/SPECS/argbash.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'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1642550400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.glincy + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf argbash-2.10.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/argbash-2.10.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd argbash-2.10.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.HEhR2N + umask 022 + cd /builddir/build/BUILD + '[' -f /builddir/build/BUILD/.package_note-argbash-2.10.0-4.fc36.x86_64.ld ']' + '[' -f /usr/lib/rpm/generate-rpm-note.sh ']' + /usr/lib/rpm/generate-rpm-note.sh argbash 2.10.0-4.fc36 x86_64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + 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 -Wl,-dT,/builddir/build/BUILD/.package_note-argbash-2.10.0-4.fc36.x86_64.ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd argbash-2.10.0 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.y4kK7q + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/argbash-2.10.0-4.fc36.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/argbash-2.10.0-4.fc36.x86_64 ++ dirname /builddir/build/BUILDROOT/argbash-2.10.0-4.fc36.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/argbash-2.10.0-4.fc36.x86_64 + '[' -f /builddir/build/BUILD/.package_note-argbash-2.10.0-4.fc36.x86_64.ld ']' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + 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 -Wl,-dT,/builddir/build/BUILD/.package_note-argbash-2.10.0-4.fc36.x86_64.ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd argbash-2.10.0 + cd resources + ROOT=/builddir/build/BUILDROOT/argbash-2.10.0-4.fc36.x86_64 + PREFIX=/usr + PREFIXED_LIBDIR=/usr/share + SYSCONFDIR=/etc + INSTALL_COMPLETION=yes + BASH_COMPLETION_DIRECTORY=/usr/share/bash-completion/completions + make install ../bin/argbash ../src/argbash.m4 --type completion --strip all -o argbash ../bin/argbash --type manpage --strip all -o argbash.rst ../src/argbash.m4 rst2man argbash.rst | gzip > argbash.1.gz argbash.rst:42: (ERROR/3) Undefined substitution referenced: "OPTION_IN_PLACE". Installing to prefix '//usr' of root /builddir/build/BUILDROOT/argbash-2.10.0-4.fc36.x86_64 mkdir -p "/builddir/build/BUILDROOT/argbash-2.10.0-4.fc36.x86_64//usr/bin" touch "/builddir/build/BUILDROOT/argbash-2.10.0-4.fc36.x86_64//usr/bin/argbash" mkdir -p "/builddir/build/BUILDROOT/argbash-2.10.0-4.fc36.x86_64//usr/share/argbash" touch "/builddir/build/BUILDROOT/argbash-2.10.0-4.fc36.x86_64//usr/share/argbash/argbash-lib.m4" cp -p ../src/output-strip-none.m4 ../src/output-strip-user-content.m4 ../src/output-strip-all.m4 ../src/argbash-lib.m4 ../src/version ../src/output-bash-script.m4 ../src/output-completion.m4 ../src/output-docopt.m4 ../src/output-manpage.m4 ../src/output-manpage-defs.m4 ../src/output-posix-script.m4 ../src/argument_value_types.m4 ../src/collectors.m4 ../src/constants.m4 ../src/default_settings.m4 ../src/docopt.m4 ../src/env_vars.m4 ../src/function_generators.m4 ../src/list.m4 ../src/progs.m4 ../src/stuff.m4 ../src/utilities.m4 ../src/value_validators.m4 "/builddir/build/BUILDROOT/argbash-2.10.0-4.fc36.x86_64//usr/share/argbash/" grep -q 'm4dir=' ../bin/argbash && sed -e 's|m4dir=.*|m4dir=//usr/share/argbash|' ../bin/argbash > "/builddir/build/BUILDROOT/argbash-2.10.0-4.fc36.x86_64//usr/bin/argbash" test -n "" || test -z "../bin/argbash-1to2" || { cp -p ../bin/argbash-1to2 "/builddir/build/BUILDROOT/argbash-2.10.0-4.fc36.x86_64//usr/bin" && chmod a+x "/builddir/build/BUILDROOT/argbash-2.10.0-4.fc36.x86_64//usr"/bin/argbash-*; } cp -p ../bin/argbash-init "/builddir/build/BUILDROOT/argbash-2.10.0-4.fc36.x86_64//usr/bin/argbash-init" && chmod a+x "/builddir/build/BUILDROOT/argbash-2.10.0-4.fc36.x86_64//usr"/bin/argbash-init chmod a+x "/builddir/build/BUILDROOT/argbash-2.10.0-4.fc36.x86_64//usr/bin/argbash" test "yes" = "no" || (mkdir -p "/builddir/build/BUILDROOT/argbash-2.10.0-4.fc36.x86_64//usr/share/bash-completion/completions" && mv "argbash" "/builddir/build/BUILDROOT/argbash-2.10.0-4.fc36.x86_64//usr/share/bash-completion/completions/") mkdir -p "/builddir/build/BUILDROOT/argbash-2.10.0-4.fc36.x86_64//usr/share/man/man1/" cp -p argbash.1.gz "/builddir/build/BUILDROOT/argbash-2.10.0-4.fc36.x86_64//usr/share/man/man1/" + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 2.10.0-4.fc36 --unique-debug-suffix -2.10.0-4.fc36.x86_64 --unique-debug-src-base argbash-2.10.0-4.fc36.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/argbash-2.10.0 + /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/bin/argbash-init from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/bin/argbash-1to2 from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/bin/argbash from /bin/bash to #!/usr/bin/bash + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.x7lCRK + umask 022 + cd /builddir/build/BUILD + '[' -f /builddir/build/BUILD/.package_note-argbash-2.10.0-4.fc36.x86_64.ld ']' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + 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 -Wl,-dT,/builddir/build/BUILD/.package_note-argbash-2.10.0-4.fc36.x86_64.ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd argbash-2.10.0 + cd resources + make check make unittests make[1]: Entering directory '/builddir/build/BUILD/argbash-2.10.0/resources' autom4te -l m4sugar -I ../src/ -I ../tests/unittests ../tests/unittests/check-arguments.m4 && autom4te -l m4sugar -I ../src/ -I ../tests/unittests ../tests/unittests/check-env.m4 && autom4te -l m4sugar -I ../src/ -I ../tests/unittests ../tests/unittests/check-indentation.m4 && autom4te -l m4sugar -I ../src/ -I ../tests/unittests ../tests/unittests/check-list.m4 && autom4te -l m4sugar -I ../src/ -I ../tests/unittests ../tests/unittests/check-types.m4 && autom4te -l m4sugar -I ../src/ -I ../tests/unittests ../tests/unittests/check-utils.m4 && true ../src/argbash-lib.m4:8: warning: file `utilities.m4' included several times ../src/utilities.m4:12: warning: file `list.m4' included several times ../src/argbash-lib.m4:8: warning: file `utilities.m4' included several times ../src/utilities.m4:12: warning: file `list.m4' included several times make[1]: Leaving directory '/builddir/build/BUILD/argbash-2.10.0/resources' make regressiontests make[1]: Entering directory '/builddir/build/BUILD/argbash-2.10.0/resources' ../bin/argbash ../tests/regressiontests/basic.m4 -o ../tests/regressiontests/basic.sh ../bin/argbash ../tests/regressiontests/basic.sh -o ../tests/regressiontests/basic2.sh diff -q ../tests/regressiontests/basic.sh ../tests/regressiontests/basic2.sh test -z "shellcheck -x -e 2015" || shellcheck -x -e 2015 "../tests/regressiontests/basic.sh" ../tests/regressiontests/basic.sh LOO | grep -q 'POS_S=LOO', ../tests/regressiontests/basic.sh "LOO BAR" | grep -q 'POS_S=LOO BAR,' ../tests/regressiontests/basic.sh -b LOO | grep -q BOOL=on, ../tests/regressiontests/basic.sh LOO | grep -q BOOL=off, ../tests/regressiontests/basic.sh LOO | grep -q 'OPT_S=opt_arg_default lolo', ../tests/regressiontests/basic.sh LOO UFTA | grep -q 'POS_OPT=UFTA,' ../tests/regressiontests/basic.sh LOO | grep -q 'OPT_INCR=2,' ../tests/regressiontests/basic.sh -ii LOO | grep -q 'OPT_INCR=4,' ../tests/regressiontests/basic.sh -h | grep -- pos_arg | grep -q pos_arg_help ../tests/regressiontests/basic.sh -h | grep -- pos-opt | grep -q @pos-opt-arg@ ../tests/regressiontests/basic.sh -h | grep -q ' \[\]' ../tests/regressiontests/basic.sh LOO --opt_arg "PoS sob" | grep -q 'OPT_S=PoS sob,' ../tests/regressiontests/basic.sh --opt_arg PoS LOO | grep -q OPT_S=PoS, ../tests/regressiontests/basic.sh --opt_arg="PoS sob" LOO | grep -q 'OPT_S=PoS sob,' ../tests/regressiontests/basic.sh LOO -b | grep -q BOOL=on, ../tests/regressiontests/basic.sh LOO --boo_l | grep -q BOOL=on, ../tests/regressiontests/basic.sh LOO --boo_l --boo_l | grep -q 'POS_OPT=pos_opt_default lala,' ../tests/regressiontests/basic.sh --no-boo_l LOO | grep -q BOOL=off, ../tests/regressiontests/basic.sh --opt-incr -i LOO | grep -q 'OPT_INCR=4,' ../tests/regressiontests/basic.sh LOO --opt-incr | grep -q 'OPT_INCR=3,' ../tests/regressiontests/reverse ../tests/regressiontests/basic.sh LOO --opt_arg 2> /dev/null ../tests/regressiontests/basic.sh -h | grep -q 'P percent: %' ../tests/regressiontests/basic.sh -h | grep -q 'O percent: %' ! ../tests/regressiontests/basic.sh -h | grep -qe '\[--\]' test -z "shellcheck -x -e 2015" || shellcheck -x -e 2015 "../tests/regressiontests/basic.sh" ../bin/argbash ../tests/regressiontests/test-void.m4 -o ../tests/regressiontests/test-void.sh ! grep -q 'die' ../tests/regressiontests/test-void.sh test -z "shellcheck -x -e 2015" || shellcheck -x -e 2015 "../tests/regressiontests/test-void.sh" ../bin/argbash ../tests/regressiontests/call-salone.m4 -o ../tests/regressiontests/call-salone.sh ../tests/regressiontests/call-salone.sh LOO | grep -q 'POS_S=LOO', ../tests/regressiontests/call-salone.sh "LOO BAR" | grep -q 'POS_S=LOO BAR,' ../tests/regressiontests/call-salone.sh -b LOO | grep -q BOOL=on, ../tests/regressiontests/call-salone.sh LOO | grep -q BOOL=off, ../tests/regressiontests/call-salone.sh LOO | grep -q 'OPT_S=opt_arg_default lolo', ../tests/regressiontests/call-salone.sh LOO UFTA | grep -q 'POS_OPT=UFTA,' ../tests/regressiontests/call-salone.sh LOO | grep -q 'OPT_INCR=2,' ../tests/regressiontests/call-salone.sh -ii LOO | grep -q 'OPT_INCR=4,' ../tests/regressiontests/call-salone.sh -h | grep -- pos_arg | grep -q pos_arg_help ../tests/regressiontests/call-salone.sh -h | grep -- pos-opt | grep -q @pos-opt-arg@ ../tests/regressiontests/call-salone.sh -h | grep -q ' \[\]' ../tests/regressiontests/call-salone.sh LOO --opt_arg "PoS sob" | grep -q 'OPT_S=PoS sob,' ../tests/regressiontests/call-salone.sh --opt_arg PoS LOO | grep -q OPT_S=PoS, ../tests/regressiontests/call-salone.sh --opt_arg="PoS sob" LOO | grep -q 'OPT_S=PoS sob,' ../tests/regressiontests/call-salone.sh LOO -b | grep -q BOOL=on, ../tests/regressiontests/call-salone.sh LOO --boo_l | grep -q BOOL=on, ../tests/regressiontests/call-salone.sh LOO --boo_l --boo_l | grep -q 'POS_OPT=pos_opt_default lala,' ../tests/regressiontests/call-salone.sh --no-boo_l LOO | grep -q BOOL=off, ../tests/regressiontests/call-salone.sh --opt-incr -i LOO | grep -q 'OPT_INCR=4,' ../tests/regressiontests/call-salone.sh LOO --opt-incr | grep -q 'OPT_INCR=3,' ../tests/regressiontests/reverse ../tests/regressiontests/call-salone.sh LOO --opt_arg 2> /dev/null test -z "shellcheck -x -e 2015" || shellcheck -x -e 2015 "../tests/regressiontests/call-salone.sh" ../bin/argbash ../tests/regressiontests/test-most.m4 -o ../tests/regressiontests/test-most.sh ../tests/regressiontests/test-most.sh -h | grep -q ' \[\] \[\]' ../tests/regressiontests/test-most.sh xx yy | grep -q "POS_MORE1=xx yy,POS_MORE2=hu lu," ../tests/regressiontests/test-most.sh xx yy zz aa | grep -q "POS_MORE1=xx yy,POS_MORE2=zz aa," ../tests/regressiontests/test-most.sh -h | grep -q ' \[\] \[\]' ../tests/regressiontests/test-most.sh -h | grep -q ': @pos-more1-arg@' ../tests/regressiontests/test-most.sh -h | grep -q ": @pos-more2-arg@ (defaults for to respectively: 'hu' and 'lu')" test -z "shellcheck -x -e 2015" || shellcheck -x -e 2015 "../tests/regressiontests/test-most.sh" ../bin/argbash ../tests/regressiontests/test-more.m4 -o ../tests/regressiontests/test-more.sh ../tests/regressiontests/test-more.sh LOO x | grep -q "POS_S=LOO,POS_MORE=x f\[o\]o ba,r," ../tests/regressiontests/test-more.sh LOO lul laa | grep -q "POS_S=LOO,POS_MORE=lul laa ba,r," ../tests/regressiontests/test-more.sh LOO laa bus kus | grep -q "POS_S=LOO,POS_MORE=laa bus kus", ERROR="namely: 'pos-arg' and 'pos-more'" ../tests/regressiontests/reverse ../tests/regressiontests/test-more.sh grep -q '^ _positionals' ../tests/regressiontests/test-more.sh test -z "shellcheck -x -e 2015" || shellcheck -x -e 2015 "../tests/regressiontests/test-more.sh" ../bin/argbash ../tests/regressiontests/test-onlypos.m4 -o ../tests/regressiontests/test-onlypos.sh ../tests/regressiontests/reverse grep -q case ../tests/regressiontests/test-onlypos.sh ../tests/regressiontests/test-onlypos.sh LOO | grep -q POS_S=LOO,POS_OPT=pos-default, ../tests/regressiontests/test-onlypos.sh LOO ar,guma | grep -q POS_S=LOO,POS_OPT=ar,guma, ERROR=spurious ../tests/regressiontests/reverse ../tests/regressiontests/test-onlypos.sh one two three ERROR='between 1 and 2' ../tests/regressiontests/reverse ../tests/regressiontests/test-onlypos.sh one two three ERROR='Not enough' ../tests/regressiontests/reverse ../tests/regressiontests/test-onlypos.sh ! grep -q '^_arg_pos_arg=$' ../tests/regressiontests/test-onlypos.sh test -z "shellcheck -x -e 2015" || shellcheck -x -e 2015 "../tests/regressiontests/test-onlypos.sh" ../bin/argbash ../tests/regressiontests/test-onlypos-declared.m4 -o ../tests/regressiontests/test-onlypos-declared.sh ../tests/regressiontests/reverse grep -q case ../tests/regressiontests/test-onlypos-declared.sh ../tests/regressiontests/test-onlypos-declared.sh LOO | grep -q POS_S=LOO,POS_OPT=pos-default, ../tests/regressiontests/test-onlypos-declared.sh LOO ar,guma | grep -q POS_S=LOO,POS_OPT=ar,guma, ERROR=spurious ../tests/regressiontests/reverse ../tests/regressiontests/test-onlypos-declared.sh one two three ERROR='between 1 and 2' ../tests/regressiontests/reverse ../tests/regressiontests/test-onlypos-declared.sh one two three ERROR='Not enough' ../tests/regressiontests/reverse ../tests/regressiontests/test-onlypos-declared.sh grep -q '^_arg_pos_arg=$' ../tests/regressiontests/test-onlypos-declared.sh test -z "shellcheck -x -e 2015" || shellcheck -x -e 2015 "../tests/regressiontests/test-onlypos-declared.sh" ../bin/argbash ../tests/regressiontests/test-onlyopt.m4 -o ../tests/regressiontests/test-onlyopt.sh grep -q '^ esac$' ../tests/regressiontests/test-onlyopt.sh ! grep -q '^ ' ../tests/regressiontests/test-onlyopt.sh ../tests/regressiontests/reverse grep -q POSITION ../tests/regressiontests/test-onlyopt.sh ../tests/regressiontests/test-onlyopt.sh -o "PoS sob" | grep -q 'OPT_S=PoS sob,' ../tests/regressiontests/test-onlyopt.sh -B | grep -q 'BOOL=on' ../tests/regressiontests/test-onlyopt.sh -i | grep -q 'OPT_INCR=3,' ../tests/regressiontests/test-onlyopt.sh -i -i | grep -q 'OPT_INCR=4,' ! ../tests/regressiontests/test-onlyopt.sh -h | grep -q -e '-B,' ../tests/regressiontests/reverse ../tests/regressiontests/test-onlyopt.sh LOO 2> /dev/null ../tests/regressiontests/test-onlyopt.sh --opt-arg PoS | grep -q OPT_S=PoS, ../tests/regressiontests/test-onlyopt.sh --opt-arg "PoS sob" | grep -q 'OPT_S=PoS sob,' ../tests/regressiontests/test-onlyopt.sh --boo_l | grep -q 'BOOL=on' ../tests/regressiontests/test-onlyopt.sh --no-boo_l | grep -q 'BOOL=off' ../tests/regressiontests/test-onlyopt.sh -r /usr/lib --opt-repeated /usr/local/lib | grep -q 'ARG_REPEATED=/usr/lib /usr/local/lib,' ../tests/regressiontests/test-onlyopt.sh -h | grep -q -e '-B|--(no-)boo_l' ../tests/regressiontests/test-onlyopt.sh -h | grep -q -e '-i|--incrx' ../tests/regressiontests/test-onlyopt.sh -h | grep -q -e '-i, --incrx' ../tests/regressiontests/test-onlyopt.sh -h | grep -q -e '-o|--opt-arg ' ../tests/regressiontests/test-onlyopt.sh -h | grep -q -e '-o, --opt-arg: @opt-arg@' ../tests/regressiontests/test-onlyopt.sh -h | grep -q -e '-r|--opt-repeated' ../tests/regressiontests/test-onlyopt.sh -h | grep -q -e '-r, --opt-repeated:' test -z "shellcheck -x -e 2015" || shellcheck -x -e 2015 "../tests/regressiontests/test-onlyopt.sh" ../bin/argbash ../tests/regressiontests/test-standalone.m4 -o ../tests/regressiontests/test-standalone.sh --strip user-content ../bin/argbash ../tests/regressiontests/test-standalone.sh -o ../tests/regressiontests/test-standalone2.sh --strip user-content diff -q ../tests/regressiontests/test-standalone.sh ../tests/regressiontests/test-standalone2.sh test -z "shellcheck -x -e 2015" || shellcheck -x -e 2015 "../tests/regressiontests/test-standalone.sh" ../tests/regressiontests/../../bin/argbash-1to2 ../tests/regressiontests/test-ddash-old.m4 -o ../tests/regressiontests/test-ddash.m4 ../bin/argbash ../tests/regressiontests/test-ddash.m4 -o ../tests/regressiontests/test-ddash.sh ../tests/regressiontests/test-ddash.sh --boo_l | grep -q 'BOOL=on,' ../tests/regressiontests/test-ddash.sh -- --boo_l | grep -q 'BOOL=off,' ../tests/regressiontests/test-ddash.sh -- --boo_l | grep -q 'POS_OPT=--boo_l,' ../tests/regressiontests/test-ddash.sh -- --help | grep -q 'POS_OPT=--help,' ../tests/regressiontests/test-ddash.sh -- | grep -q 'POS_OPT=pos-default,' ../tests/regressiontests/test-ddash.sh -- --| grep -q 'POS_OPT=--,' ERROR=spurious ../tests/regressiontests/reverse ../tests/regressiontests/test-ddash.sh -- foo bar ERROR=bar ../tests/regressiontests/reverse ../tests/regressiontests/test-ddash.sh -- foo bar test -z "shellcheck -x -e 2015" || shellcheck -x -e 2015 "../tests/regressiontests/test-ddash.sh" ../bin/argbash ../tests/regressiontests/test-simple.m4 -o ../tests/regressiontests/test-simple.sh ../tests/regressiontests/test-simple.sh pos | grep -q 'OPT_S=x,POS_S=pos,' ../tests/regressiontests/test-simple.sh -o 'uf ta' pos | grep -q 'OPT_S=uf ta,POS_S=pos,' ../tests/regressiontests/test-simple.sh -h | grep -q 'END-$' ../tests/regressiontests/test-simple.sh -h | grep -q '^\s*-BEGIN' ../tests/regressiontests/test-simple.sh -h | grep -q '^ -BEGIN' ../tests/regressiontests/test-simple.sh -h | grep -q -v '^\s*-BEGIN2' ../tests/regressiontests/test-simple.sh -h | grep -q -v 'END2-$' ../tests/regressiontests/test-simple.sh -h | grep -q '"line 2" END-\\n' ../tests/regressiontests/test-simple.sh -h | grep -q '^ -PBEGIN' ../tests/regressiontests/test-simple.sh -h | grep -q 'PEND-$' grep -q '^ esac' ../tests/regressiontests/test-simple.sh grep -q '^ \*)' ../tests/regressiontests/test-simple.sh ERROR=spurious ../tests/regressiontests/reverse ../tests/regressiontests/test-simple.sh -- one two ERROR="last one was: 'two'" ../tests/regressiontests/reverse ../tests/regressiontests/test-simple.sh one two ERROR="expect exactly 1" ../tests/regressiontests/reverse ../tests/regressiontests/test-simple.sh one two ERROR="[Nn]ot enough" ../tests/regressiontests/reverse ../tests/regressiontests/test-simple.sh ERROR="require exactly 1" ../tests/regressiontests/reverse ../tests/regressiontests/test-simple.sh ../tests/regressiontests/test-simple.sh pos -o 'uf ta' | grep -q 'OPT_S=uf ta,POS_S=pos,' test -z "shellcheck -x -e 2015" || shellcheck -x -e 2015 "../tests/regressiontests/test-simple.sh" sed -e 's/ARGBASH_GO/ARGBASH_PREPARE/' ../tests/regressiontests/basic.m4 > ../tests/regressiontests/test-diy-noop.m4 ../tests/regressiontests/../../bin/argbash -c -o "../tests/regressiontests/test-diy-noop.sh" "../tests/regressiontests/test-diy-noop.m4" ../tests/regressiontests/test-diy-noop.sh LOO --opt_arg > /dev/null ../tests/regressiontests/test-diy-noop.sh LOO 1 2 3 3 > /dev/null ../tests/regressiontests/test-diy-noop.sh > /dev/null test -z "shellcheck -x -e 2015" || shellcheck -x -e 2015 "../tests/regressiontests/test-diy-noop.sh" sed -e "s/#.*\[$/&\n$(grep -e '# \S' "../tests/regressiontests/test-diy-noop.sh" | sed -e 's/^# //' | tr '\n' ';')/" ../tests/regressiontests/test-diy-noop.m4 > ../tests/regressiontests/test-diy.m4 ../bin/argbash ../tests/regressiontests/test-diy.m4 -o ../tests/regressiontests/test-diy.sh ../tests/regressiontests/test-diy.sh LOO | grep -q 'POS_S=LOO', ../tests/regressiontests/test-diy.sh "LOO BAR" | grep -q 'POS_S=LOO BAR,' ../tests/regressiontests/test-diy.sh -b LOO | grep -q BOOL=on, ../tests/regressiontests/test-diy.sh LOO | grep -q BOOL=off, ../tests/regressiontests/test-diy.sh LOO | grep -q 'OPT_S=opt_arg_default lolo', ../tests/regressiontests/test-diy.sh LOO UFTA | grep -q 'POS_OPT=UFTA,' ../tests/regressiontests/test-diy.sh LOO | grep -q 'OPT_INCR=2,' ../tests/regressiontests/test-diy.sh -ii LOO | grep -q 'OPT_INCR=4,' ../tests/regressiontests/test-diy.sh -h | grep -- pos_arg | grep -q pos_arg_help ../tests/regressiontests/test-diy.sh -h | grep -- pos-opt | grep -q @pos-opt-arg@ ../tests/regressiontests/test-diy.sh -h | grep -q ' \[\]' ../tests/regressiontests/test-diy.sh LOO --opt_arg "PoS sob" | grep -q 'OPT_S=PoS sob,' ../tests/regressiontests/test-diy.sh --opt_arg PoS LOO | grep -q OPT_S=PoS, ../tests/regressiontests/test-diy.sh --opt_arg="PoS sob" LOO | grep -q 'OPT_S=PoS sob,' ../tests/regressiontests/test-diy.sh LOO -b | grep -q BOOL=on, ../tests/regressiontests/test-diy.sh LOO --boo_l | grep -q BOOL=on, ../tests/regressiontests/test-diy.sh LOO --boo_l --boo_l | grep -q 'POS_OPT=pos_opt_default lala,' ../tests/regressiontests/test-diy.sh --no-boo_l LOO | grep -q BOOL=off, ../tests/regressiontests/test-diy.sh --opt-incr -i LOO | grep -q 'OPT_INCR=4,' ../tests/regressiontests/test-diy.sh LOO --opt-incr | grep -q 'OPT_INCR=3,' ../tests/regressiontests/reverse ../tests/regressiontests/test-diy.sh LOO --opt_arg 2> /dev/null test -z "shellcheck -x -e 2015" || shellcheck -x -e 2015 "../tests/regressiontests/test-diy.sh" ../bin/argbash ../tests/regressiontests/test-wrapping-single_level.m4 -o ../tests/regressiontests/test-wrapping-single_level.sh ../bin/argbash ../tests/regressiontests/test-wrapping-second_level.m4 -o ../tests/regressiontests/test-wrapping-second_level.sh ../tests/regressiontests/test-wrapping-second_level.sh -h | grep -q opt-arg ../tests/regressiontests/test-wrapping-second_level.sh -h | grep -q pos-arg ! ../tests/regressiontests/test-wrapping-second_level.sh -h | grep -q boo_l ! grep -q '^ ' ../tests/regressiontests/test-wrapping-second_level.sh grep -q '^ esac' ../tests/regressiontests/test-wrapping-second_level.sh ../tests/regressiontests/test-wrapping-second_level.sh XX LOOL | grep -q 'POS_S0=XX,POS_S=LOOL,POS_OPT=pos-default' ../tests/regressiontests/test-wrapping-second_level.sh XX LOOL | grep -q 'POS_S=LOOL,POS_OPT=pos-default' ../tests/regressiontests/test-wrapping-second_level.sh XX LOOL --opt-arg lalala | grep -q OPT_S=lalala, ../tests/regressiontests/test-wrapping-second_level.sh XX LOOL --opt-arg lalala | grep -q 'CMDLINE=--opt-arg lalala XX LOOL pos-default,' ../tests/regressiontests/test-wrapping-second_level.sh XX LOOL --opt-repeated w -r x --opt-repeated=y -rz | grep -q 'CMDLINE=--opt-repeated w -r x --opt-repeated=y -rz XX LOOL pos-default,' ../tests/regressiontests/test-wrapping-second_level.sh XX LOOL | grep -q 'POS_S1=,' test -z "shellcheck -x -e 2015" || shellcheck -x -e 2015 "../tests/regressiontests/test-wrapping-second_level.sh" ../bin/argbash ../tests/regressiontests/test-wrapping.m4 -o ../tests/regressiontests/test-wrapping.sh ../tests/regressiontests/test-wrapping.sh -h | grep -q opt-arg ../tests/regressiontests/test-wrapping.sh -h | grep -q pos-arg ! ../tests/regressiontests/test-wrapping.sh -h | grep -q boo_l ! grep -q '^ ' ../tests/regressiontests/test-wrapping.sh grep -q '^ esac' ../tests/regressiontests/test-wrapping.sh ../tests/regressiontests/test-wrapping.sh XX LOOL | grep -q 'POS_S0=XX,POS_S=LOOL,POS_OPT=pos-default' ../tests/regressiontests/test-wrapping.sh XX LOOL | grep -q 'POS_S=LOOL,POS_OPT=pos-default' ../tests/regressiontests/test-wrapping.sh XX LOOL --opt-arg lalala | grep -q OPT_S=lalala, ../tests/regressiontests/test-wrapping.sh XX LOOL --opt-arg lalala | grep -q 'CMDLINE=--opt-arg lalala LOOL pos-default,' ../tests/regressiontests/test-wrapping.sh XX LOOL --opt-repeated w -r x --opt-repeated=y -rz | grep -q 'CMDLINE=--opt-repeated w -r x --opt-repeated=y -rz LOOL pos-default,' test -z "shellcheck -x -e 2015" || shellcheck -x -e 2015 "../tests/regressiontests/test-wrapping.sh" mkdir -p ../tests/regressiontests/otherdir && cp ../tests/regressiontests/test-onlyopt.m4 ../tests/regressiontests/otherdir/test-onlyopt.m4 mkdir -p ../tests/regressiontests/otherdir && cp ../tests/regressiontests/test-onlypos.m4 ../tests/regressiontests/otherdir/test-onlypos.m4 ../bin/argbash ../tests/regressiontests/test-wrapping-otherdir.m4 -o ../tests/regressiontests/test-wrapping-otherdir.sh ../tests/regressiontests/test-wrapping-otherdir.sh -h | grep -q opt-arg ../tests/regressiontests/test-wrapping-otherdir.sh -h | grep -q pos-arg ! ../tests/regressiontests/test-wrapping-otherdir.sh -h | grep -q boo_l ! grep -q '^ ' ../tests/regressiontests/test-wrapping-otherdir.sh grep -q '^ esac' ../tests/regressiontests/test-wrapping-otherdir.sh ../tests/regressiontests/test-wrapping-otherdir.sh XX LOOL | grep -q 'POS_S0=XX,POS_S=LOOL,POS_OPT=pos-default' ../tests/regressiontests/test-wrapping-otherdir.sh XX LOOL | grep -q 'POS_S=LOOL,POS_OPT=pos-default' ../tests/regressiontests/test-wrapping-otherdir.sh XX LOOL --opt-arg lalala | grep -q OPT_S=lalala, ../tests/regressiontests/test-wrapping-otherdir.sh XX LOOL --opt-arg lalala | grep -q 'CMDLINE=--opt-arg lalala LOOL pos-default,' ../tests/regressiontests/test-wrapping-otherdir.sh XX LOOL --opt-repeated w -r x --opt-repeated=y -rz | grep -q 'CMDLINE=--opt-repeated w -r x --opt-repeated=y -rz LOOL pos-default,' test -z "shellcheck -x -e 2015" || shellcheck -x -e 2015 "../tests/regressiontests/test-wrapping-otherdir.sh" ../bin/argbash ../tests/regressiontests/test-wrapping-more.m4 -o ../tests/regressiontests/test-wrapping-more.sh ../tests/regressiontests/test-wrapping-more.sh -i -i -i | grep -q 'CMDLINE=-i -i -i,' ../tests/regressiontests/test-wrapping-more.sh -i -i | grep -q 'OPT_INCR=4,' ERROR="nexpected argument '--opt-arg'" ../tests/regressiontests/reverse ../tests/regressiontests/test-wrapping-more.sh --opt-arg lalala test -z "shellcheck -x -e 2015" || shellcheck -x -e 2015 "../tests/regressiontests/test-wrapping-more.sh" ../bin/argbash ../tests/regressiontests/test-wrapping-excl.m4 -o ../tests/regressiontests/test-wrapping-excl.sh ../tests/regressiontests/reverse grep -q case ../tests/regressiontests/test-wrapping-excl.sh ../tests/regressiontests/test-wrapping-excl.sh LOO | grep -q POS_S=LOO,POS_OPT=pos-default, ../tests/regressiontests/test-wrapping-excl.sh LOO ar,guma | grep -q POS_S=LOO,POS_OPT=ar,guma, ERROR=spurious ../tests/regressiontests/reverse ../tests/regressiontests/test-wrapping-excl.sh one two three ERROR='between 1 and 2' ../tests/regressiontests/reverse ../tests/regressiontests/test-wrapping-excl.sh one two three ERROR='Not enough' ../tests/regressiontests/reverse ../tests/regressiontests/test-wrapping-excl.sh test -z "shellcheck -x -e 2015" || shellcheck -x -e 2015 "../tests/regressiontests/test-wrapping-excl.sh" ../bin/argbash ../tests/regressiontests/test-wrapping.sh -o ../tests/regressiontests/test-wrapping2.sh diff -q ../tests/regressiontests/test-wrapping.sh ../tests/regressiontests/test-wrapping2.sh test -z "shellcheck -x -e 2015" || shellcheck -x -e 2015 "../tests/regressiontests/test-wrapping.sh" ../bin/argbash ../tests/regressiontests/test-infinity-minimal_call.m4 -o ../tests/regressiontests/test-infinity-minimal_call.sh ../tests/regressiontests/test-infinity-minimal_call.sh | grep -q 'POS_S=' ../tests/regressiontests/test-infinity-minimal_call.sh 1 | grep -q 'POS_S=1,' ../tests/regressiontests/test-infinity-minimal_call.sh 1 2 "3 1 4" 4 5 | grep -q 'POS_S=1,2,3 1 4,4,5,' test -z "shellcheck -x -e 2015" || shellcheck -x -e 2015 "../tests/regressiontests/test-infinity-minimal_call.sh" ../bin/argbash ../tests/regressiontests/test-progs.m4 -o ../tests/regressiontests/test-progs.sh ../tests/regressiontests/test-progs.sh -h | grep MAKE | grep -q utility ../tests/regressiontests/test-progs.sh -h | grep FULALA | grep -q BOOM ERROR="fulala doesnt exist" ../tests/regressiontests/reverse ../tests/regressiontests/test-progs.sh ../tests/regressiontests/test-progs.sh 2>&1 | grep fulala | grep -q exist FULALA=make ../tests/regressiontests/test-progs.sh ERROR="make doesnt work" MAKE=false FULALA=make ../tests/regressiontests/reverse ../tests/regressiontests/test-progs.sh ../tests/regressiontests/test-progs.sh -h | grep fulala | grep -q FULALA test -z "shellcheck -x -e 2015" || shellcheck -x -e 2015 "../tests/regressiontests/test-progs.sh" ../bin/argbash ../tests/regressiontests/test-prog.m4 -o ../tests/regressiontests/test-prog.sh ../tests/regressiontests/test-prog.sh -h | grep FULALA | grep -q BOOM ERROR="fulala doesnt exist" ../tests/regressiontests/reverse ../tests/regressiontests/test-prog.sh ../tests/regressiontests/test-prog.sh 2>&1 | grep fulala | grep -q exist FULALA=make ../tests/regressiontests/test-prog.sh ../tests/regressiontests/test-prog.sh -h | grep fulala | grep -q FULALA ERROR="fulala doesnt work" FULALA=false ../tests/regressiontests/reverse ../tests/regressiontests/test-prog.sh test -z "shellcheck -x -e 2015" || shellcheck -x -e 2015 "../tests/regressiontests/test-prog.sh" ../bin/argbash ../tests/regressiontests/test-infinity.m4 -o ../tests/regressiontests/test-infinity.sh ../tests/regressiontests/test-infinity.sh | grep -q 'POS_S=first,second,third,' ../tests/regressiontests/test-infinity.sh 1 | grep -q 'POS_S=1,second,third,' ../tests/regressiontests/test-infinity.sh 1 2 "3 1 4" 4 5 | grep -q 'POS_S=1,2,3 1 4,4,5,' ! grep -q handle_passed_args_count ../tests/regressiontests/test-infinity.sh test -z "shellcheck -x -e 2015" || shellcheck -x -e 2015 "../tests/regressiontests/test-infinity.sh" ../bin/argbash ../tests/regressiontests/test-infinity-nodefaults.m4 -o ../tests/regressiontests/test-infinity-nodefaults.sh ERROR="require at least 2" ../tests/regressiontests/reverse ../tests/regressiontests/test-infinity-nodefaults.sh ERROR="namely: 'pos-arg' (2 times)" ../tests/regressiontests/reverse ../tests/regressiontests/test-infinity-nodefaults.sh ../tests/regressiontests/test-infinity-nodefaults.sh 1 "2 3" | grep -q 'POS_S=1,2 3' ../tests/regressiontests/test-infinity-nodefaults.sh 1 2 "3 1 4" 4 5 | grep -q 'POS_S=1,2,3 1 4,4,5,' grep -q handle_passed_args_count ../tests/regressiontests/test-infinity-nodefaults.sh test -z "shellcheck -x -e 2015" || shellcheck -x -e 2015 "../tests/regressiontests/test-infinity-nodefaults.sh" ../bin/argbash ../tests/regressiontests/test-infinity-mixed.m4 -o ../tests/regressiontests/test-infinity-mixed.sh ../tests/regressiontests/test-infinity-mixed.sh -h | grep -q ' \[\] \.\.\. \[\] \.\.\.$' ERROR="require at least 1" ../tests/regressiontests/reverse ../tests/regressiontests/test-infinity-mixed.sh ../tests/regressiontests/test-infinity-mixed.sh 1 | grep -q 'POS_S=1,first,second' ../tests/regressiontests/test-infinity-mixed.sh 1 2 "3 1 4" 4 5 | grep -q 'POS_S=1,2,3 1 4,4,5,' test -z "shellcheck -x -e 2015" || shellcheck -x -e 2015 "../tests/regressiontests/test-infinity-mixed.sh" ../bin/argbash ../tests/regressiontests/test-leftovers.m4 -o ../tests/regressiontests/test-leftovers.sh ../tests/regressiontests/test-leftovers.sh -? | grep -q '\[-c|--cosi \] \[--(no-)fear\] \[-m|--more\] \[-?|--hilfe\] \.\.\. $' ../tests/regressiontests/test-leftovers.sh -c ours -m --more --more --no-fear "ours pos" left "o ver" | grep -q 'MORE=3,OPT_S=ours,FEAR=off,POS_S=ours pos,LEFTOVERS=left,o ver,' test -z "shellcheck -x -e 2015" || shellcheck -x -e 2015 "../tests/regressiontests/test-leftovers.sh" ../bin/argbash ../tests/regressiontests/test-delim-space.m4 -o ../tests/regressiontests/test-delim-space.sh ERROR="unexpected argument '--opt=something'" ../tests/regressiontests/reverse ../tests/regressiontests/test-delim-space.sh --opt=something ../tests/regressiontests/test-delim-space.sh --opt something | grep -q 'OPT_S=something,' ERROR="unexpected argument '--add=three'" ../tests/regressiontests/reverse ../tests/regressiontests/test-delim-space.sh -a one --add two --add=three ../tests/regressiontests/test-delim-space.sh -a one --add two | grep -q 'OPT_REP=one two,' test -z "shellcheck -x -e 2015" || shellcheck -x -e 2015 "../tests/regressiontests/test-delim-space.sh" ../bin/argbash ../tests/regressiontests/test-delim-equals.m4 -o ../tests/regressiontests/test-delim-equals.sh ERROR="unexpected argument '--opt'" ../tests/regressiontests/reverse ../tests/regressiontests/test-delim-equals.sh --opt something ../tests/regressiontests/test-delim-equals.sh --opt=something | grep -q 'OPT_S=something,' ../tests/regressiontests/test-delim-equals.sh --xxx | grep -q 'XXX=on,' ERROR="unexpected argument '--add'" ../tests/regressiontests/reverse ../tests/regressiontests/test-delim-equals.sh -a one --add two --add=three ../tests/regressiontests/test-delim-equals.sh -a one --add=two | grep -q 'OPT_REP=one two,' test -z "shellcheck -x -e 2015" || shellcheck -x -e 2015 "../tests/regressiontests/test-delim-equals.sh" ../bin/argbash ../tests/regressiontests/test-delim-both.m4 -o ../tests/regressiontests/test-delim-both.sh ../tests/regressiontests/test-delim-both.sh --opt something | grep -q 'OPT_S=something,' ../tests/regressiontests/test-delim-both.sh --opt=something | grep -q 'OPT_S=something,' ../tests/regressiontests/test-delim-both.sh -a one --add two --add=three | grep -q 'OPT_REP=one two three' test -z "shellcheck -x -e 2015" || shellcheck -x -e 2015 "../tests/regressiontests/test-delim-both.sh" ../bin/argbash-init --pos pos --opt opt2 --opt opt --opt-bool boo ../tests/regressiontests/test-init_simple.m4 ../bin/argbash ../tests/regressiontests/test-init_simple.m4 -o ../tests/regressiontests/test-init_simple.sh ERROR="[Nn]ot enough" ../tests/regressiontests/reverse ../tests/regressiontests/test-init_simple.sh ../tests/regressiontests/test-init_simple.sh foo | grep -q "'pos': foo" ../tests/regressiontests/test-init_simple.sh foo --opt bar | grep -q " --opt: bar" ../tests/regressiontests/test-init_simple.sh foo --opt bar | grep -q "'boo' is off" ../tests/regressiontests/test-init_simple.sh foo --opt bar --opt2 baz | grep -q " --opt: bar" ../tests/regressiontests/test-init_simple.sh foo --opt bar --opt2 baz | grep -q " --opt2: baz" ../tests/regressiontests/test-init_simple.sh foo --opt bar --opt2 baz --boo | grep -q "'boo' is on" test -z "shellcheck -x -e 2015" || shellcheck -x -e 2015 "../tests/regressiontests/test-init_simple.sh" ../bin/argbash-init --pos pos --opt opt2 --opt opt --opt-bool boo -s ../tests/regressiontests/test-init_simple-s.m4 sed -i '2 s|^|# shellcheck source=../tests/regressiontests/test-init_simple-s-parsing.sh\n|' ../tests/regressiontests/test-init_simple-s.m4 ../bin/argbash ../tests/regressiontests/test-init_simple-s.m4 -o ../tests/regressiontests/test-init_simple-s.sh ERROR="[Nn]ot enough" ../tests/regressiontests/reverse ../tests/regressiontests/test-init_simple-s.sh ../tests/regressiontests/test-init_simple-s.sh foo | grep -q "'pos': foo" ../tests/regressiontests/test-init_simple-s.sh foo --opt bar | grep -q " --opt: bar" ../tests/regressiontests/test-init_simple-s.sh foo --opt bar | grep -q "'boo' is off" ../tests/regressiontests/test-init_simple-s.sh foo --opt bar --opt2 baz | grep -q " --opt: bar" ../tests/regressiontests/test-init_simple-s.sh foo --opt bar --opt2 baz | grep -q " --opt2: baz" ../tests/regressiontests/test-init_simple-s.sh foo --opt bar --opt2 baz --boo | grep -q "'boo' is on" test -z "shellcheck -x -e 2015" || shellcheck -x -e 2015 "../tests/regressiontests/test-init_simple-s.sh" ../bin/argbash-init --pos pos --opt opt2 --opt opt --opt-bool boo -s -s ../tests/regressiontests/test-init_simple-ss.sh sed -i '2 s|^|# shellcheck source=../tests/regressiontests/test-init_simple-ss-parsing.sh\n|' ../tests/regressiontests/test-init_simple-ss.sh ../bin/argbash ../tests/regressiontests/test-init_simple-ss-parsing.m4 -o ../tests/regressiontests/test-init_simple-ss-parsing.sh --strip user-content ERROR="[Nn]ot enough" ../tests/regressiontests/reverse ../tests/regressiontests/test-init_simple-ss.sh ../tests/regressiontests/test-init_simple-ss.sh foo | grep -q "'pos': foo" ../tests/regressiontests/test-init_simple-ss.sh foo --opt bar | grep -q " --opt: bar" ../tests/regressiontests/test-init_simple-ss.sh foo --opt bar | grep -q "'boo' is off" ../tests/regressiontests/test-init_simple-ss.sh foo --opt bar --opt2 baz | grep -q " --opt: bar" ../tests/regressiontests/test-init_simple-ss.sh foo --opt bar --opt2 baz | grep -q " --opt2: baz" ../tests/regressiontests/test-init_simple-ss.sh foo --opt bar --opt2 baz --boo | grep -q "'boo' is on" test -z "shellcheck -x -e 2015" || shellcheck -x -e 2015 "../tests/regressiontests/test-init_simple-ss.sh" touch ../tests/regressiontests/regenerate-test-init_simple-s-update.m4 ../bin/argbash-init --opt ordnung -s ../tests/regressiontests/test-init_simple-s-update.m4 > /dev/null sed -i '2 s|^|# shellcheck source=../tests/regressiontests/test-init_simple-s-update-parsing.sh\n|' ../tests/regressiontests/test-init_simple-s-update.m4 sed -i 's/^echo .*//' ../tests/regressiontests/test-init_simple-s-update.m4 echo 'test "$_arg_ordnung" = yes || exit 1' >> ../tests/regressiontests/test-init_simple-s-update.m4 ../bin/argbash ../tests/regressiontests/test-init_simple-s-update.m4 -o ../tests/regressiontests/test-init_simple-s-update.sh touch ../tests/regressiontests/regenerate-test-init_simple-s-update.m4 ../tests/regressiontests/test-init_simple-s-update.sh --ordnung yes > /dev/null ../tests/regressiontests/reverse ../tests/regressiontests/test-init_simple-s-update.sh > /dev/null ERROR="unexpected argument" ../tests/regressiontests/reverse ../tests/regressiontests/test-init_simple-s-update.sh -o yes > /dev/null sed -i 's/\[ordnung\]/&,[o]/' ../tests/regressiontests/test-init_simple-s-update-parsing.sh ../tests/regressiontests/../../bin/argbash ../tests/regressiontests/test-init_simple-s-update.sh > /dev/null ../tests/regressiontests/test-init_simple-s-update.sh --ordnung yes > /dev/null ../tests/regressiontests/reverse ../tests/regressiontests/test-init_simple-s-update.sh > /dev/null ../tests/regressiontests/test-init_simple-s-update.sh -o yes > /dev/null test -z "shellcheck -x -e 2015" || shellcheck -x -e 2015 "../tests/regressiontests/test-init_simple-s-update.sh" ../bin/argbash ../tests/regressiontests/test-env-base.m4 -o ../tests/regressiontests/test-env-base.sh ../tests/regressiontests/test-env-base.sh | grep -q 'ENVI_FOO=def,ault,' ../tests/regressiontests/test-env-base.sh | grep -q 'ENVI_BAR=,' ENVI_FOO=something ../tests/regressiontests/test-env-base.sh | grep -q 'ENVI_FOO=something' ../tests/regressiontests/test-env-base.sh -h | grep -q "ENVI_FOO: A sample env, variable. (default: 'def,ault')" ../tests/regressiontests/test-env-base.sh -h | grep -q "ENVI_BAR: A sample env, variable." test -z "shellcheck -x -e 2015" || shellcheck -x -e 2015 "../tests/regressiontests/test-env-base.sh" ../bin/argbash ../tests/regressiontests/test-env-simple.m4 -o ../tests/regressiontests/test-env-simple.sh ../tests/regressiontests/test-env-simple.sh | grep -q 'ENVI_FOO=def,ault,' ! ../tests/regressiontests/test-env-simple.sh -h | grep -q 'ENVI_FOO' test -z "shellcheck -x -e 2015" || shellcheck -x -e 2015 "../tests/regressiontests/test-env-simple.sh" ../bin/argbash ../tests/regressiontests/test-int.m4 -o ../tests/regressiontests/test-int.sh ../tests/regressiontests/test-int.sh 1 | grep -q "POS_S=1," ERROR="integer" ../tests/regressiontests/reverse ../tests/regressiontests/test-int.sh a ERROR="integer" ../tests/regressiontests/reverse ../tests/regressiontests/test-int.sh 1.5 ../tests/regressiontests/test-int.sh 1 --int 2 | grep -q "OPT_S=2," ERROR="integer" ../tests/regressiontests/reverse ../tests/regressiontests/test-int.sh 1 --int b ../tests/regressiontests/test-int.sh 01 | grep -q "POS_S=1," ../tests/regressiontests/test-int.sh +1 | grep -q "POS_S=1," ../tests/regressiontests/test-int.sh -1 | grep -q "POS_S=-1," ../tests/regressiontests/test-int.sh -1776 | grep -q "POS_S=-1776," ../tests/regressiontests/test-int.sh -h | grep -q "INT" ../tests/regressiontests/test-int.sh -h | grep -q "INT+0" ../tests/regressiontests/test-int.sh -h | grep -q "INT+" ../tests/regressiontests/test-int.sh 1 --nnint 2 | grep -q "NN=2," ../tests/regressiontests/test-int.sh 1 --pint 2 | grep -q "P=2," ERROR="positive" ../tests/regressiontests/reverse ../tests/regressiontests/test-int.sh 1 --pint 0 ERROR="negative" ../tests/regressiontests/reverse ../tests/regressiontests/test-int.sh 1 --nnint -1 test -z "shellcheck -x -e 2015" || shellcheck -x -e 2015 "../tests/regressiontests/test-int.sh" ../bin/argbash ../tests/regressiontests/test-group.m4 -o ../tests/regressiontests/test-group.sh ../tests/regressiontests/test-group.sh foo | grep -q "ACT=foo" ../tests/regressiontests/test-group.sh '' | grep -q "ACT=" ../tests/regressiontests/test-group.sh foo,baz | grep -q "ACT=foo,baz," ../tests/regressiontests/test-group.sh "bar bar" | grep -q "ACT=bar bar," ERROR="allowed" ../tests/regressiontests/reverse ../tests/regressiontests/test-group.sh fuuuu ERROR="allowed" ../tests/regressiontests/reverse ../tests/regressiontests/test-group.sh bar ! grep -q _idx ../tests/regressiontests/test-group.sh ../tests/regressiontests/test-group.sh -h | grep act-ion | grep -q "'foo,baz'" ../tests/regressiontests/test-group.sh -h | grep act-ion | grep -q "'bar bar'" test -z "shellcheck -x -e 2015" || shellcheck -x -e 2015 "../tests/regressiontests/test-group.sh" ../bin/argbash ../tests/regressiontests/test-group-idx.m4 -o ../tests/regressiontests/test-group-idx.sh ../tests/regressiontests/test-group-idx.sh foo | grep -q "ACT=foo,IDX=0," ../tests/regressiontests/test-group-idx.sh foo,baz | grep -q "ACT=foo,baz,IDX=3," ../tests/regressiontests/test-group-idx.sh "bar bar" | grep -q "ACT=bar bar,IDX=2," ERROR="allowed" ../tests/regressiontests/reverse ../tests/regressiontests/test-group-idx.sh "bar bar" --repeated bar ! ../tests/regressiontests/test-group-idx.sh "bar bar" --repeated "bar bar" | grep -q "IDX3=2," > /dev/null ../tests/regressiontests/test-group-idx.sh "bar bar" --opt-tion "bar bar" | grep -q "IDX2=2," > /dev/null ERROR="allowed" ../tests/regressiontests/reverse ../tests/regressiontests/test-group-idx.sh fuuuu ERROR="allowed" ../tests/regressiontests/reverse ../tests/regressiontests/test-group-idx.sh bar # ../tests/regressiontests/test-group-idx.sh -h | grep action | grep ACTION | grep -q 'foo,baz' test -z "shellcheck -x -e 2015" || shellcheck -x -e 2015 "../tests/regressiontests/test-group-idx.sh" printf "%s\n%s\n" "#!/bin/bash" "# ARG_RESTRICT_VALUES([no-local-options])" | cat - ../tests/regressiontests/test-simple.m4 | ../tests/regressiontests/../../bin/argbash -o ../tests/regressiontests/test-semi_strict.sh - ../tests/regressiontests/test-semi_strict.sh -o -x pos-arg | grep -q 'OPT_S=-x,' ../tests/regressiontests/test-semi_strict.sh -o --opt-argx pos-arg | grep -q 'OPT_S=--opt-argx,' ERROR="omitted the actual value" ../tests/regressiontests/reverse ../tests/regressiontests/test-semi_strict.sh -o -o pos-arg ERROR="omitted the actual value" ../tests/regressiontests/reverse ../tests/regressiontests/test-semi_strict.sh -o -ofoo pos-arg ERROR="omitted the actual value" ../tests/regressiontests/reverse ../tests/regressiontests/test-semi_strict.sh -o --prefix test -z "shellcheck -x -e 2015" || shellcheck -x -e 2015 "../tests/regressiontests/test-semi_strict.sh" printf "%s\n%s\n" "#!/bin/bash" "# ARG_RESTRICT_VALUES([no-any-options])" | cat - ../tests/regressiontests/test-simple.m4 | ../tests/regressiontests/../../bin/argbash -o ../tests/regressiontests/test-very_strict.sh - ERROR="are trying to pass an option" ../tests/regressiontests/reverse ../tests/regressiontests/test-very_strict.sh -o -x pos-arg ERROR="are trying to pass an option" ../tests/regressiontests/reverse ../tests/regressiontests/test-very_strict.sh -o -o pos-arg ERROR="are trying to pass an option" ../tests/regressiontests/reverse ../tests/regressiontests/test-very_strict.sh -x ERROR="are trying to pass an option" ../tests/regressiontests/reverse ../tests/regressiontests/test-very_strict.sh --foobar test -z "shellcheck -x -e 2015" || shellcheck -x -e 2015 "../tests/regressiontests/test-very_strict.sh" printf "%s\n%s\n%s\n" "#!/bin/bash" "# ARGBASH_SET_DELIM([ =])" "# ARG_OPTION_STACKING([getopt])" | cat - ../tests/regressiontests/test-onlyopt.m4 | ../tests/regressiontests/../../bin/argbash -o ../tests/regressiontests/test-getopt-both.sh - ../tests/regressiontests/test-getopt-both.sh -ii | grep -q 'OPT_INCR=4,' ../tests/regressiontests/test-getopt-both.sh --incrx -ii | grep -q 'OPT_INCR=5,' ../tests/regressiontests/test-getopt-both.sh -Bi | grep 'OPT_INCR=3,' | grep -q 'BOOL=on,' ../tests/regressiontests/test-getopt-both.sh -Bio bu | grep 'OPT_INCR=3,' | grep 'BOOL=on,' | grep -q 'OPT_S=bu,' ../tests/regressiontests/test-getopt-both.sh -Biobu | grep 'OPT_INCR=3,' | grep 'BOOL=on,' | grep -q 'OPT_S=bu,' ../tests/regressiontests/test-getopt-both.sh -Boibu | grep 'BOOL=on,' | grep 'OPT_INCR=2,' | grep -q 'OPT_S=ibu,' ERROR="'-Bfoo' can't be decomposed to -B and -foo, because -B doesn't accept value and '-f' doesn't correspond to a short option" ../tests/regressiontests/reverse ../tests/regressiontests/test-getopt-both.sh -Bfoo test -z "shellcheck -x -e 2015" || shellcheck -x -e 2015 "../tests/regressiontests/test-getopt-both.sh" printf "%s\n%s\n%s\n" "#!/bin/bash" "# ARGBASH_SET_DELIM([ ])" "# ARG_OPTION_STACKING([getopt])" | cat - ../tests/regressiontests/test-onlyopt.m4 | ../tests/regressiontests/../../bin/argbash -o ../tests/regressiontests/test-getopt-space.sh - ../tests/regressiontests/test-getopt-space.sh -ii | grep -q 'OPT_INCR=4,' ../tests/regressiontests/test-getopt-space.sh --incrx -ii | grep -q 'OPT_INCR=5,' ../tests/regressiontests/test-getopt-space.sh -Bi | grep 'OPT_INCR=3,' | grep -q 'BOOL=on,' ../tests/regressiontests/test-getopt-space.sh -Bio bu | grep 'OPT_INCR=3,' | grep 'BOOL=on,' | grep -q 'OPT_S=bu,' ../tests/regressiontests/test-getopt-space.sh -Biobu | grep 'OPT_INCR=3,' | grep 'BOOL=on,' | grep -q 'OPT_S=bu,' ../tests/regressiontests/test-getopt-space.sh -Boibu | grep 'BOOL=on,' | grep 'OPT_INCR=2,' | grep -q 'OPT_S=ibu,' ERROR="'-Bfoo' can't be decomposed to -B and -foo, because -B doesn't accept value and '-f' doesn't correspond to a short option" ../tests/regressiontests/reverse ../tests/regressiontests/test-getopt-space.sh -Bfoo test -z "shellcheck -x -e 2015" || shellcheck -x -e 2015 "../tests/regressiontests/test-getopt-space.sh" printf "%s\n%s\n%s\n" "#!/bin/bash" "# ARGBASH_SET_DELIM([=])" "# ARG_OPTION_STACKING([getopt])" | cat - ../tests/regressiontests/test-onlyopt.m4 | ../tests/regressiontests/../../bin/argbash -o ../tests/regressiontests/test-getopt-equals.sh - ../tests/regressiontests/test-getopt-equals.sh -ii | grep -q 'OPT_INCR=4,' ../tests/regressiontests/test-getopt-equals.sh --incrx -ii | grep -q 'OPT_INCR=5,' ../tests/regressiontests/test-getopt-equals.sh -Bi | grep 'OPT_INCR=3,' | grep -q 'BOOL=on,' ../tests/regressiontests/test-getopt-equals.sh -Bio bu | grep 'OPT_INCR=3,' | grep 'BOOL=on,' | grep -q 'OPT_S=bu,' ../tests/regressiontests/test-getopt-equals.sh -Biobu | grep 'OPT_INCR=3,' | grep 'BOOL=on,' | grep -q 'OPT_S=bu,' ../tests/regressiontests/test-getopt-equals.sh -Boibu | grep 'BOOL=on,' | grep 'OPT_INCR=2,' | grep -q 'OPT_S=ibu,' ERROR="'-Bfoo' can't be decomposed to -B and -foo, because -B doesn't accept value and '-f' doesn't correspond to a short option" ../tests/regressiontests/reverse ../tests/regressiontests/test-getopt-equals.sh -Bfoo test -z "shellcheck -x -e 2015" || shellcheck -x -e 2015 "../tests/regressiontests/test-getopt-equals.sh" ../tests/regressiontests/../../bin/argbash ../tests/regressiontests/basic.m4 -t docopt --strip all -o ../tests/regressiontests/basic.txt grep -q "\[\]" ../tests/regressiontests/basic.txt grep -q "\[--opt_arg OPT_ARG\]" ../tests/regressiontests/basic.txt grep -q "\s-o OPT_ARG, --opt_arg OPT_ARG\s" ../tests/regressiontests/basic.txt ! test -x ../tests/regressiontests/basic.txt ../tests/regressiontests/../../bin/argbash ../tests/regressiontests/test-onlyopt.m4 -t docopt --strip all -o ../tests/regressiontests/test-onlyopt.txt grep -q "\[--opt-repeated OPT-REPEATED\]\.\.\." ../tests/regressiontests/test-onlyopt.txt grep -q "\[--incrx\]\.\.\." ../tests/regressiontests/test-onlyopt.txt ERROR="pos-arg" ../tests/regressiontests/reverse ../bin/argbash ../tests/regressiontests/gen-test-pos.m4 > /dev/null ERROR="opt-arg" ../tests/regressiontests/reverse ../bin/argbash ../tests/regressiontests/gen-test-opt.m4 > /dev/null ERROR="pos_arg" ../tests/regressiontests/reverse ../bin/argbash ../tests/regressiontests/gen-test-pos2.m4 > /dev/null ERROR="opt_arg" ../tests/regressiontests/reverse ../bin/argbash ../tests/regressiontests/gen-test-opt2.m4 > /dev/null ERROR="number of expected positional arguments before 'pos-arg' is unknown (because of argument 'pos-arg', which has a default)" ../tests/regressiontests/reverse ../bin/argbash ../tests/regressiontests/gen-test-infinity-illegal.m4 > /dev/null ERROR="'on' or 'off' are allowed as boolean defaults" ../tests/regressiontests/reverse ../bin/argbash ../tests/regressiontests/gen-test-bool-default.m4 > /dev/null ERROR="same-arg" ../tests/regressiontests/reverse ../bin/argbash ../tests/regressiontests/gen-test-pos-opt.m4 > /dev/null ERROR="same_arg" ../tests/regressiontests/reverse ../bin/argbash ../tests/regressiontests/gen-test-pos-opt2.m4 > /dev/null ERROR="is unknown" ../tests/regressiontests/reverse ../bin/argbash ../tests/regressiontests/gen-test-more.m4 > /dev/null ERROR="contains forbidden characters" ../tests/regressiontests/reverse ../bin/argbash ../tests/regressiontests/gen-test-illegal-pos.m4 > /dev/null ERROR="one character" ../tests/regressiontests/reverse ../bin/argbash ../tests/regressiontests/gen-test-illegal-opt.m4 > /dev/null ERROR="ARG_FOOBAR" ../tests/regressiontests/reverse ../bin/argbash ../tests/regressiontests/gen-test-misspelled.m4 > /dev/null ERROR="ARGBASH_GOO" ../tests/regressiontests/reverse ../bin/argbash ../tests/regressiontests/gen-test-misspelled.m4 > /dev/null ERROR="unmatched square bracket on line 3" ../tests/regressiontests/reverse ../bin/argbash ../tests/regressiontests/gen-test-unmatched_bracket.m4 > /dev/null ERROR="# ARG_OPTIONAL_BOOLEAN(\[long\], l, \[)" ../tests/regressiontests/reverse ../bin/argbash ../tests/regressiontests/gen-test-unmatched_bracket.m4 > /dev/null ERROR="3rd argument" ../tests/regressiontests/reverse ../bin/argbash ../tests/regressiontests/gen-test-badcall-multi.m4 > /dev/null ERROR="num of args" ../tests/regressiontests/reverse ../bin/argbash ../tests/regressiontests/gen-test-badcall-multi.m4 > /dev/null ERROR="actual number of" ../tests/regressiontests/reverse ../bin/argbash ../tests/regressiontests/gen-test-badcall-multi.m4 > /dev/null ../bin/argbash-init --pos -bool ../tests/regressiontests/gen-test-init_name_dash.m4 ERROR="'-bool' .* begins with a dash" ../tests/regressiontests/reverse ../bin/argbash ../tests/regressiontests/gen-test-init_name_dash.m4 > /dev/null ../bin/argbash-init --opt-bool foo/bar-baz ../tests/regressiontests/gen-test-init_name_char.m4 ERROR="'foo/bar-baz' .* contains forbidden characters" ../tests/regressiontests/reverse ../bin/argbash ../tests/regressiontests/gen-test-init_name_char.m4 > /dev/null sed -e 's/repeated],/foo,&/' ../tests/regressiontests/test-group.m4 > ../tests/regressiontests/gen-test-group-wrong.m4 ERROR="'foo' is not a script argument" ../tests/regressiontests/reverse ../bin/argbash ../tests/regressiontests/gen-test-group-wrong.m4 > /dev/null make[1]: Leaving directory '/builddir/build/BUILD/argbash-2.10.0/resources' make tests-clean make[1]: Entering directory '/builddir/build/BUILD/argbash-2.10.0/resources' rm -f ../tests/regressiontests/basic2.sh ../tests/regressiontests/test-salone.sh ../tests/regressiontests/test-standalone2.sh ../tests/regressiontests/test-ddash.m4 ../tests/regressiontests/test-diy-noop.m4 ../tests/regressiontests/test-diy-noop.sh ../tests/regressiontests/test-diy.m4 ../tests/regressiontests/test-wrapping-second_level.sh ../tests/regressiontests/test-wrapping-single_level.sh ../tests/regressiontests/otherdir/test-onlyopt.m4 ../tests/regressiontests/test-wrapping-otherdir.sh ../tests/regressiontests/otherdir/test-onlypos.m4 ../tests/regressiontests/test-wrapping2.sh ../tests/regressiontests/test-init_simple.sh ../tests/regressiontests/test-init_simple.m4 ../tests/regressiontests/test-init_simple-parsing.m4 ../tests/regressiontests/test-init_simple-s.sh ../tests/regressiontests/test-init_simple-s-parsing.sh ../tests/regressiontests/test-init_simple-s-parsing.m4 ../tests/regressiontests/test-init_simple-s.m4 ../tests/regressiontests/regenerate-test-init-simple-s-update.m4 ../tests/regressiontests/test-init_simple-s-update-parsing.sh ../tests/regressiontests/test-init_simple-s-update-parsing.m4 ../tests/regressiontests/regenerate-test-init_simple-s-update.m4 ../tests/regressiontests/test-init_simple-s-update.m4 ../tests/regressiontests/test-init_simple-ss-parsing.sh ../tests/regressiontests/test-init_simple-ss-parsing.m4 ../tests/regressiontests/test-init_simple-ss.sh ../tests/regressiontests/gen-test-init_name_char.m4 ../tests/regressiontests/gen-test-init_name_dash.m4 ../tests/regressiontests/gen-test-group-wrong.m4 ../tests/regressiontests/test-semi_strict.sh ../tests/regressiontests/test-very_strict.sh ../tests/regressiontests/test-getopt-equals.sh ../tests/regressiontests/test-getopt-both.sh ../tests/regressiontests/test-getopt-space.sh ../tests/regressiontests/basic.sh ../tests/regressiontests/test-void.sh ../tests/regressiontests/call-salone.sh ../tests/regressiontests/test-most.sh ../tests/regressiontests/test-more.sh ../tests/regressiontests/test-onlypos.sh ../tests/regressiontests/test-onlypos-declared.sh ../tests/regressiontests/test-onlyopt.sh ../tests/regressiontests/test-standalone.sh ../tests/regressiontests/test-ddash.sh ../tests/regressiontests/test-simple.sh ../tests/regressiontests/test-diy-noop.sh ../tests/regressiontests/test-diy.sh ../tests/regressiontests/test-wrapping-second_level.sh ../tests/regressiontests/test-wrapping.sh ../tests/regressiontests/test-wrapping-otherdir.sh ../tests/regressiontests/test-wrapping-more.sh ../tests/regressiontests/test-wrapping-excl.sh ../tests/regressiontests/test-infinity-minimal_call.sh ../tests/regressiontests/test-progs.sh ../tests/regressiontests/test-prog.sh ../tests/regressiontests/test-infinity.sh ../tests/regressiontests/test-infinity-nodefaults.sh ../tests/regressiontests/test-infinity-mixed.sh ../tests/regressiontests/test-leftovers.sh ../tests/regressiontests/test-delim-space.sh ../tests/regressiontests/test-delim-equals.sh ../tests/regressiontests/test-delim-both.sh ../tests/regressiontests/test-init_simple.sh ../tests/regressiontests/test-init_simple-s.sh ../tests/regressiontests/test-init_simple-ss.sh ../tests/regressiontests/test-init_simple-s-update.sh ../tests/regressiontests/test-env-base.sh ../tests/regressiontests/test-env-simple.sh ../tests/regressiontests/test-int.sh ../tests/regressiontests/test-group.sh ../tests/regressiontests/test-group-idx.sh ../tests/regressiontests/test-semi_strict.sh ../tests/regressiontests/test-very_strict.sh ../tests/regressiontests/test-getopt-both.sh ../tests/regressiontests/test-getopt-space.sh ../tests/regressiontests/test-getopt-equals.sh ../tests/regressiontests/basic.txt ../tests/regressiontests/test-onlyopt.txt rmdir ../tests/regressiontests/otherdir make[1]: Leaving directory '/builddir/build/BUILD/argbash-2.10.0/resources' test -z "shellcheck -x -e 2015" || shellcheck -x -e 2015 ../tests/regressiontests/../../bin/argbash test -z "shellcheck -x -e 2015" || shellcheck -x -e 2015 ../tests/regressiontests/../../bin/argbash-init test -z "shellcheck -x -e 2015" || shellcheck -x -e 2015 ../bin/argbash-1to2 *** All is OK *** + RPM_EC=0 ++ jobs -p + exit 0 Processing files: argbash-2.10.0-4.fc36.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.8xsz76 + umask 022 + cd /builddir/build/BUILD + cd argbash-2.10.0 + DOCDIR=/builddir/build/BUILDROOT/argbash-2.10.0-4.fc36.x86_64/usr/share/doc/argbash + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/argbash-2.10.0-4.fc36.x86_64/usr/share/doc/argbash + cp -pr README.md /builddir/build/BUILDROOT/argbash-2.10.0-4.fc36.x86_64/usr/share/doc/argbash + cp -pr ChangeLog /builddir/build/BUILDROOT/argbash-2.10.0-4.fc36.x86_64/usr/share/doc/argbash + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.lBtJPD + umask 022 + cd /builddir/build/BUILD + cd argbash-2.10.0 + LICENSEDIR=/builddir/build/BUILDROOT/argbash-2.10.0-4.fc36.x86_64/usr/share/licenses/argbash + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/argbash-2.10.0-4.fc36.x86_64/usr/share/licenses/argbash + cp -pr LICENSE /builddir/build/BUILDROOT/argbash-2.10.0-4.fc36.x86_64/usr/share/licenses/argbash + RPM_EC=0 ++ jobs -p + exit 0 Provides: argbash = 2.10.0-4.fc36 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/bash Recommends: bash-completion Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/argbash-2.10.0-4.fc36.x86_64 Wrote: /builddir/build/RPMS/argbash-2.10.0-4.fc36.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.CXMYwE + umask 022 + cd /builddir/build/BUILD + cd argbash-2.10.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/argbash-2.10.0-4.fc36.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0