Mock Version: 1.3.3 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/argbash.spec'], printOutput=Falselogger=env={'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'TERM': 'vt100', 'HOSTNAME': 'mock', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}user='mockbuild'timeout=0gid=135shell=FalsechrootPath='/var/lib/mock/fedora-rawhide-x86_64-mockbuilder-13110/root'uid=1001) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/argbash.spec'] with env {'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'TERM': 'vt100', 'HOSTNAME': 'mock', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/argbash-2.3.0-0.1.fc27.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/argbash.spec'], printOutput=Falselogger=env={'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'TERM': 'vt100', 'HOSTNAME': 'mock', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}user='mockbuild'timeout=0private_network=Truegid=135shell=FalsechrootPath='/var/lib/mock/fedora-rawhide-x86_64-mockbuilder-13110/root'uid=1001) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/argbash.spec'] with env {'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'TERM': 'vt100', 'HOSTNAME': 'mock', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.hVKOBR + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf argbash-2.3.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/argbash-2.3.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd argbash-2.3.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.5fHIYv + umask 022 + cd /builddir/build/BUILD + cd argbash-2.3.0 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.5glama + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/argbash-2.3.0-0.1.fc27.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/argbash-2.3.0-0.1.fc27.x86_64 ++ dirname /builddir/build/BUILDROOT/argbash-2.3.0-0.1.fc27.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/argbash-2.3.0-0.1.fc27.x86_64 + cd argbash-2.3.0 + cd resources + ROOT=/builddir/build/BUILDROOT/argbash-2.3.0-0.1.fc27.x86_64 + PREFIX=/usr + make install Installing to prefix '//usr' of root /builddir/build/BUILDROOT/argbash-2.3.0-0.1.fc27.x86_64 mkdir -p "/builddir/build/BUILDROOT/argbash-2.3.0-0.1.fc27.x86_64//usr/bin" touch "/builddir/build/BUILDROOT/argbash-2.3.0-0.1.fc27.x86_64//usr/bin/argbash" mkdir -p "/builddir/build/BUILDROOT/argbash-2.3.0-0.1.fc27.x86_64//usr/lib/argbash" touch "/builddir/build/BUILDROOT/argbash-2.3.0-0.1.fc27.x86_64//usr/lib/argbash/stuff.m4" cp ../src/output.m4 ../src/output-standalone.m4 ../src/stuff.m4 ../src/list.m4 ../src/version "/builddir/build/BUILDROOT/argbash-2.3.0-0.1.fc27.x86_64//usr/lib/argbash/" grep -q 'm4dir=' ../bin/argbash && sed -e 's|m4dir=.*|m4dir=//usr/lib/argbash|' ../bin/argbash > "/builddir/build/BUILDROOT/argbash-2.3.0-0.1.fc27.x86_64//usr/bin/argbash" test -z "../bin/argbash-1to2" || { cp ../bin/argbash-1to2 "/builddir/build/BUILDROOT/argbash-2.3.0-0.1.fc27.x86_64//usr/bin" && chmod a+x "/builddir/build/BUILDROOT/argbash-2.3.0-0.1.fc27.x86_64//usr"/bin/argbash-*; } cp ../bin/argbash-init "/builddir/build/BUILDROOT/argbash-2.3.0-0.1.fc27.x86_64//usr/bin" && chmod a+x "/builddir/build/BUILDROOT/argbash-2.3.0-0.1.fc27.x86_64//usr"/bin/argbash-init chmod a+x "/builddir/build/BUILDROOT/argbash-2.3.0-0.1.fc27.x86_64//usr/bin/argbash" + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/argbash-2.3.0 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.TCN2bP + umask 022 + cd /builddir/build/BUILD + cd argbash-2.3.0 + cd resources + make check make unittests make[1]: Entering directory '/builddir/build/BUILD/argbash-2.3.0/resources' autom4te -l m4sugar -I ../src/ ../tests/unittests/list.m4 autom4te -l m4sugar -I ../src/ ../tests/unittests/utils.m4 make[1]: Leaving directory '/builddir/build/BUILD/argbash-2.3.0/resources' make regressiontests make[1]: Entering directory '/builddir/build/BUILD/argbash-2.3.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 ../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 LOO | grep -q BOOL=off, ../tests/regressiontests/basic.sh LOO --boo_l | grep -q BOOL=on, ../tests/regressiontests/basic.sh LOO --no-boo_l | grep -q BOOL=off, ../tests/regressiontests/basic.sh LOO | grep -q OPT_S=opt_arg_default, ../tests/regressiontests/basic.sh LOO --opt_arg PoS | grep -q OPT_S=PoS, ../tests/regressiontests/basic.sh LOO --opt_arg "PoS sob" | grep -q 'OPT_S=PoS sob,' ../tests/regressiontests/basic.sh LOO --opt_arg="PoS sob" | grep -q 'OPT_S=PoS sob,' ../tests/regressiontests/basic.sh LOO UFTA | grep -q 'POS_OPT=UFTA,' ../tests/regressiontests/basic.sh LOO --boo_l --boo_l | grep -q 'POS_OPT=pos_opt_default,' ../tests/regressiontests/basic.sh LOO | grep -q 'OPT_INCR=2,' ../tests/regressiontests/basic.sh LOO --opt-incr | grep -q 'OPT_INCR=3,' ../tests/regressiontests/basic.sh LOO --opt-incr -i | 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/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: %' ../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 LOO | grep -q BOOL=off, ../tests/regressiontests/call-salone.sh LOO --boo_l | grep -q BOOL=on, ../tests/regressiontests/call-salone.sh LOO --no-boo_l | grep -q BOOL=off, ../tests/regressiontests/call-salone.sh LOO | grep -q OPT_S=opt_arg_default, ../tests/regressiontests/call-salone.sh LOO --opt_arg PoS | grep -q OPT_S=PoS, ../tests/regressiontests/call-salone.sh LOO --opt_arg "PoS sob" | grep -q 'OPT_S=PoS sob,' ../tests/regressiontests/call-salone.sh LOO --opt_arg="PoS sob" | grep -q 'OPT_S=PoS sob,' ../tests/regressiontests/call-salone.sh LOO UFTA | grep -q 'POS_OPT=UFTA,' ../tests/regressiontests/call-salone.sh LOO --boo_l --boo_l | grep -q 'POS_OPT=pos_opt_default,' ../tests/regressiontests/call-salone.sh LOO | grep -q 'OPT_INCR=2,' ../tests/regressiontests/call-salone.sh LOO --opt-incr | grep -q 'OPT_INCR=3,' ../tests/regressiontests/call-salone.sh LOO --opt-incr -i | 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/reverse ../tests/regressiontests/call-salone.sh LOO --opt_arg 2> /dev/null ../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')" ../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", ../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 ../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 ../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 --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/reverse ../tests/regressiontests/test-onlyopt.sh LOO 2> /dev/null ../bin/argbash ../tests/regressiontests/test-standalone.m4 -o ../tests/regressiontests/test-standalone.sh --library ../bin/argbash ../tests/regressiontests/test-standalone.sh -o ../tests/regressiontests/test-standalone2.sh --library diff -q ../tests/regressiontests/test-standalone.sh ../tests/regressiontests/test-standalone2.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 ../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 pos -o 'uf ta' | grep -q 'OPT_S=uf ta,POS_S=pos,' 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 ../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,' ../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 ../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 ../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 ../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,' ../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 ../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,' ../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,' ../bin/argbash ../tests/regressiontests/test-leftovers.m4 -o ../tests/regressiontests/test-leftovers.sh ../tests/regressiontests/test-leftovers.sh -h | grep -q '\[-c|--cosi \] \[--(no-)fear\] \[-m|--more\] \[-h|--help\] \.\.\. $' ../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,' ../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,' ../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,' 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,' ../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' ../tests/regressiontests/../../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" ../tests/regressiontests/../../bin/argbash-init --pos pos --opt opt2 --opt opt --opt-bool boo -s ../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" ../tests/regressiontests/../../bin/argbash-init --pos pos --opt opt2 --opt opt --opt-bool boo -s -s ../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 --library 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" touch ../tests/regressiontests/regenerate-test-init_simple-s-update.m4 ../tests/regressiontests/../../bin/argbash-init --opt ordnung -s ../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 ../tests/regressiontests/reverse ../tests/regressiontests/test-init_simple-s-update.sh ERROR="unexpected argument" ../tests/regressiontests/reverse ../tests/regressiontests/test-init_simple-s-update.sh -o yes 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 ../tests/regressiontests/reverse ../tests/regressiontests/test-init_simple-s-update.sh ../tests/regressiontests/test-init_simple-s-update.sh -o yes ../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." ../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' ../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 ../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 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 action | grep ACTION | grep -q 'foo,baz' ../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 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' 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 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 ERROR="pos-arg" ../tests/regressiontests/reverse ../tests/regressiontests/../../bin/argbash ../tests/regressiontests/gen-test-pos.m4 > /dev/null ERROR="opt-arg" ../tests/regressiontests/reverse ../tests/regressiontests/../../bin/argbash ../tests/regressiontests/gen-test-opt.m4 > /dev/null ERROR="pos_arg" ../tests/regressiontests/reverse ../tests/regressiontests/../../bin/argbash ../tests/regressiontests/gen-test-pos2.m4 > /dev/null ERROR="opt_arg" ../tests/regressiontests/reverse ../tests/regressiontests/../../bin/argbash ../tests/regressiontests/gen-test-opt2.m4 > /dev/null ERROR="same-arg" ../tests/regressiontests/reverse ../tests/regressiontests/../../bin/argbash ../tests/regressiontests/gen-test-pos-opt.m4 > /dev/null ERROR="same_arg" ../tests/regressiontests/reverse ../tests/regressiontests/../../bin/argbash ../tests/regressiontests/gen-test-pos-opt2.m4 > /dev/null ERROR="is unknown" ../tests/regressiontests/reverse ../tests/regressiontests/../../bin/argbash ../tests/regressiontests/gen-test-more.m4 > /dev/null ERROR="contains forbidden characters" ../tests/regressiontests/reverse ../tests/regressiontests/../../bin/argbash ../tests/regressiontests/gen-test-illegal-pos.m4 > /dev/null ERROR="one character" ../tests/regressiontests/reverse ../tests/regressiontests/../../bin/argbash ../tests/regressiontests/gen-test-illegal-opt.m4 > /dev/null ERROR="ARG_FOOBAR" ../tests/regressiontests/reverse ../tests/regressiontests/../../bin/argbash ../tests/regressiontests/gen-test-misspelled.m4 > /dev/null ERROR="ARGBASH_GOO" ../tests/regressiontests/reverse ../tests/regressiontests/../../bin/argbash ../tests/regressiontests/gen-test-misspelled.m4 > /dev/null ERROR="unmatched square bracket on line 3" ../tests/regressiontests/reverse ../tests/regressiontests/../../bin/argbash ../tests/regressiontests/gen-test-unmatched_bracket.m4 > /dev/null ERROR="# ARG_OPTIONAL_BOOLEAN(\[long\], l, \[)" ../tests/regressiontests/reverse ../tests/regressiontests/../../bin/argbash ../tests/regressiontests/gen-test-unmatched_bracket.m4 > /dev/null ../tests/regressiontests/../../bin/argbash-init --pos -bool ../tests/regressiontests/gen-test-init_name_dash.m4 ERROR="'-bool' .* begins with a dash" ../tests/regressiontests/reverse ../tests/regressiontests/../../bin/argbash ../tests/regressiontests/gen-test-init_name_dash.m4 > /dev/null ../tests/regressiontests/../../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 ../tests/regressiontests/../../bin/argbash ../tests/regressiontests/gen-test-init_name_char.m4 > /dev/null make[1]: Leaving directory '/builddir/build/BUILD/argbash-2.3.0/resources' make tests-clean make[1]: Entering directory '/builddir/build/BUILD/argbash-2.3.0/resources' rm -f ../tests/regressiontests/basic2.sh ../tests/regressiontests/basic.sh ../tests/regressiontests/test-salone.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-standalone2.sh ../tests/regressiontests/test-standalone.sh ../tests/regressiontests/test-ddash.m4 ../tests/regressiontests/test-ddash.sh ../tests/regressiontests/test-simple.sh ../tests/regressiontests/test-wrapping.sh ../tests/regressiontests/test-wrapping-more.sh ../tests/regressiontests/test-wrapping-excl.sh ../tests/regressiontests/test-wrapping2.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.m4 ../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-s-update.sh ../tests/regressiontests/test-init_simple-ss-parsing.sh ../tests/regressiontests/test-init_simple-ss-parsing.m4 ../tests/regressiontests/gen-test-init_name_char.m4 ../tests/regressiontests/gen-test-init_name_dash.m4 ../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 make[1]: Leaving directory '/builddir/build/BUILD/argbash-2.3.0/resources' *** All is OK *** + exit 0 Processing files: argbash-2.3.0-0.1.fc27.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.BWo7sW + umask 022 + cd /builddir/build/BUILD + cd argbash-2.3.0 + DOCDIR=/builddir/build/BUILDROOT/argbash-2.3.0-0.1.fc27.x86_64/usr/share/doc/argbash + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/argbash-2.3.0-0.1.fc27.x86_64/usr/share/doc/argbash + cp -pr README.md /builddir/build/BUILDROOT/argbash-2.3.0-0.1.fc27.x86_64/usr/share/doc/argbash + cp -pr ChangeLog /builddir/build/BUILDROOT/argbash-2.3.0-0.1.fc27.x86_64/usr/share/doc/argbash + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.hVMxL3 + umask 022 + cd /builddir/build/BUILD + cd argbash-2.3.0 + LICENSEDIR=/builddir/build/BUILDROOT/argbash-2.3.0-0.1.fc27.x86_64/usr/share/licenses/argbash + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/argbash-2.3.0-0.1.fc27.x86_64/usr/share/licenses/argbash + cp -pr LICENSE /builddir/build/BUILDROOT/argbash-2.3.0-0.1.fc27.x86_64/usr/share/licenses/argbash + exit 0 Provides: argbash = 2.3.0-0.1.fc27 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /bin/bash Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/argbash-2.3.0-0.1.fc27.x86_64 Wrote: /builddir/build/RPMS/argbash-2.3.0-0.1.fc27.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.7iN2lb + umask 022 + cd /builddir/build/BUILD + cd argbash-2.3.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/argbash-2.3.0-0.1.fc27.x86_64 + exit 0 Child return code was: 0