PATH=/usr/bin:/bin:/data/fly2400/cpanfly-5.24/var/megalib/bin
Start 2017-01-13T10:02:45
ActivePerl-2400 CPAN-2.10
Reading '/data/fly2400/cpanfly-5.24/var/cpan/Metadata'
Database was generated on Fri, 13 Jan 2017 06:41:02 GMT
Fetching with LWP:
http://ppm.activestate.com/CPAN/authors/id/P/PE/PERLANCAR/Perinci-CmdLine-Lite-1.71.tar.gz
Fetching with LWP:
http://ppm.activestate.com/CPAN/authors/id/P/PE/PERLANCAR/CHECKSUMS
Checksum for /data/fly2400/cpanfly-5.24/var/cpan/sources/authors/id/P/PE/PERLANCAR/Perinci-CmdLine-Lite-1.71.tar.gz ok
Perinci-CmdLine-Lite-1.71/
Perinci-CmdLine-Lite-1.71/README
Perinci-CmdLine-Lite-1.71/dist.ini
Perinci-CmdLine-Lite-1.71/Makefile.PL
Perinci-CmdLine-Lite-1.71/META.yml
Perinci-CmdLine-Lite-1.71/t/
Perinci-CmdLine-Lite-1.71/t/author-pod-syntax.t
Perinci-CmdLine-Lite-1.71/t/00-compile.t
Perinci-CmdLine-Lite-1.71/t/suite.t
Perinci-CmdLine-Lite-1.71/t/author-pod-coverage.t
Perinci-CmdLine-Lite-1.71/weaver.ini
Perinci-CmdLine-Lite-1.71/META.json
Perinci-CmdLine-Lite-1.71/share/
Perinci-CmdLine-Lite-1.71/share/templates/
Perinci-CmdLine-Lite-1.71/share/templates/description.txt
Perinci-CmdLine-Lite-1.71/share/templates/synopsis.txt
Perinci-CmdLine-Lite-1.71/MANIFEST
Perinci-CmdLine-Lite-1.71/lib/
Perinci-CmdLine-Lite-1.71/lib/Perinci/
Perinci-CmdLine-Lite-1.71/lib/Perinci/CmdLine/
Perinci-CmdLine-Lite-1.71/lib/Perinci/CmdLine/Base.pm
Perinci-CmdLine-Lite-1.71/lib/Perinci/CmdLine/Lite.pm
Perinci-CmdLine-Lite-1.71/LICENSE
Perinci-CmdLine-Lite-1.71/devscripts/
Perinci-CmdLine-Lite-1.71/devscripts/bench-startup
Perinci-CmdLine-Lite-1.71/Changes
Configuring P/PE/PERLANCAR/Perinci-CmdLine-Lite-1.71.tar.gz with Makefile.PL
>>> /data/fly2400/ap2400-300558/bin/perl-static Makefile.PL
Warning: prerequisite Perinci::CmdLine::Util::Config 1.71 not found.
Checking if your kit is complete...
Looks good
Have /data/fly2400/cpanfly-5.24/var/megalib
Want /home/fly2400/ap2400-300558/lib
Your perl and your Config.pm seem to have different ideas about the
architecture they are running on.
Perl thinks: [megalib]
Config says: [x86_64-linux-thread-multi]
This may or may not cause problems. Please check your installation of perl
if you have problems building this extension.
Generating a Unix-style Makefile
Writing Makefile for Perinci::CmdLine::Lite
Writing MYMETA.yml and MYMETA.json
PERLANCAR/Perinci-CmdLine-Lite-1.71.tar.gz
/data/fly2400/ap2400-300558/bin/perl-static Makefile.PL -- OK
Running make for P/PE/PERLANCAR/Perinci-CmdLine-Lite-1.71.tar.gz
---- Unsatisfied dependencies detected during ----
---- PERLANCAR/Perinci-CmdLine-Lite-1.71.tar.gz ----
Perinci::CmdLine::Util::Config [requires]
Running test for module 'Perinci::CmdLine::Util::Config'
Fetching with LWP:
http://ppm.activestate.com/CPAN/authors/id/P/PE/PERLANCAR/Perinci-CmdLine-Util-Config-1.71.tar.gz
Checksum for /data/fly2400/cpanfly-5.24/var/cpan/sources/authors/id/P/PE/PERLANCAR/Perinci-CmdLine-Util-Config-1.71.tar.gz ok
Perinci-CmdLine-Util-Config-1.71/
Perinci-CmdLine-Util-Config-1.71/README
Perinci-CmdLine-Util-Config-1.71/dist.ini
Perinci-CmdLine-Util-Config-1.71/Makefile.PL
Perinci-CmdLine-Util-Config-1.71/META.yml
Perinci-CmdLine-Util-Config-1.71/t/
Perinci-CmdLine-Util-Config-1.71/t/author-pod-syntax.t
Perinci-CmdLine-Util-Config-1.71/t/release-rinci.t
Perinci-CmdLine-Util-Config-1.71/t/00-compile.t
Perinci-CmdLine-Util-Config-1.71/t/author-pod-coverage.t
Perinci-CmdLine-Util-Config-1.71/weaver.ini
Perinci-CmdLine-Util-Config-1.71/META.json
Perinci-CmdLine-Util-Config-1.71/MANIFEST
Perinci-CmdLine-Util-Config-1.71/lib/
Perinci-CmdLine-Util-Config-1.71/lib/Perinci/
Perinci-CmdLine-Util-Config-1.71/lib/Perinci/CmdLine/
Perinci-CmdLine-Util-Config-1.71/lib/Perinci/CmdLine/Util/
Perinci-CmdLine-Util-Config-1.71/lib/Perinci/CmdLine/Util/Config.pm
Perinci-CmdLine-Util-Config-1.71/LICENSE
Perinci-CmdLine-Util-Config-1.71/Changes
Configuring P/PE/PERLANCAR/Perinci-CmdLine-Util-Config-1.71.tar.gz with Makefile.PL
>>> /data/fly2400/ap2400-300558/bin/perl-static Makefile.PL
Warning: prerequisite Config::IOD::Reader 0.31 not found. We have 0.25.
Checking if your kit is complete...
Looks good
Have /data/fly2400/cpanfly-5.24/var/megalib
Want /home/fly2400/ap2400-300558/lib
Your perl and your Config.pm seem to have different ideas about the
architecture they are running on.
Perl thinks: [megalib]
Config says: [x86_64-linux-thread-multi]
This may or may not cause problems. Please check your installation of perl
if you have problems building this extension.
Generating a Unix-style Makefile
Writing Makefile for Perinci::CmdLine::Util::Config
Writing MYMETA.yml and MYMETA.json
PERLANCAR/Perinci-CmdLine-Util-Config-1.71.tar.gz
/data/fly2400/ap2400-300558/bin/perl-static Makefile.PL -- OK
Running make for P/PE/PERLANCAR/Perinci-CmdLine-Util-Config-1.71.tar.gz
---- Unsatisfied dependencies detected during ----
---- PERLANCAR/Perinci-CmdLine-Util-Config-1.71.tar.gz ----
Config::IOD::Reader [requires]
Running test for module 'Config::IOD::Reader'
Fetching with LWP:
http://ppm.activestate.com/CPAN/authors/id/P/PE/PERLANCAR/Config-IOD-Reader-0.31.tar.gz
Checksum for /data/fly2400/cpanfly-5.24/var/cpan/sources/authors/id/P/PE/PERLANCAR/Config-IOD-Reader-0.31.tar.gz ok
Config-IOD-Reader-0.31/
Config-IOD-Reader-0.31/README
Config-IOD-Reader-0.31/dist.ini
Config-IOD-Reader-0.31/Makefile.PL
Config-IOD-Reader-0.31/META.yml
Config-IOD-Reader-0.31/t/
Config-IOD-Reader-0.31/t/01-common.t
Config-IOD-Reader-0.31/t/author-pod-syntax.t
Config-IOD-Reader-0.31/t/00-compile.t
Config-IOD-Reader-0.31/t/spec.t
Config-IOD-Reader-0.31/t/encoding_path.t
Config-IOD-Reader-0.31/t/author-pod-coverage.t
Config-IOD-Reader-0.31/weaver.ini
Config-IOD-Reader-0.31/META.json
Config-IOD-Reader-0.31/MANIFEST
Config-IOD-Reader-0.31/lib/
Config-IOD-Reader-0.31/lib/Test/
Config-IOD-Reader-0.31/lib/Test/Config/
Config-IOD-Reader-0.31/lib/Test/Config/IOD/
Config-IOD-Reader-0.31/lib/Test/Config/IOD/Common.pm
Config-IOD-Reader-0.31/lib/Config/
Config-IOD-Reader-0.31/lib/Config/IOD/
Config-IOD-Reader-0.31/lib/Config/IOD/Base.pm
Config-IOD-Reader-0.31/lib/Config/IOD/Expr.pm
Config-IOD-Reader-0.31/lib/Config/IOD/Reader.pm
Config-IOD-Reader-0.31/LICENSE
Config-IOD-Reader-0.31/Changes
Configuring P/PE/PERLANCAR/Config-IOD-Reader-0.31.tar.gz with Makefile.PL
>>> /data/fly2400/ap2400-300558/bin/perl-static Makefile.PL
Checking if your kit is complete...
Looks good
Have /data/fly2400/cpanfly-5.24/var/megalib
Want /home/fly2400/ap2400-300558/lib
Your perl and your Config.pm seem to have different ideas about the
architecture they are running on.
Perl thinks: [megalib]
Config says: [x86_64-linux-thread-multi]
This may or may not cause problems. Please check your installation of perl
if you have problems building this extension.
Generating a Unix-style Makefile
Writing Makefile for Config::IOD::Reader
Writing MYMETA.yml and MYMETA.json
PERLANCAR/Config-IOD-Reader-0.31.tar.gz
/data/fly2400/ap2400-300558/bin/perl-static Makefile.PL -- OK
Running make for P/PE/PERLANCAR/Config-IOD-Reader-0.31.tar.gz
>>> make
cp lib/Config/IOD/Base.pm blib/lib/Config/IOD/Base.pm
cp lib/Config/IOD/Expr.pm blib/lib/Config/IOD/Expr.pm
cp lib/Test/Config/IOD/Common.pm blib/lib/Test/Config/IOD/Common.pm
cp lib/Config/IOD/Reader.pm blib/lib/Config/IOD/Reader.pm
Manifying 4 pod documents
PERLANCAR/Config-IOD-Reader-0.31.tar.gz
make -- OK
Running make test
>>> make test TEST_VERBOSE=1
PERL_DL_NONLAZY=1 "/data/fly2400/ap2400-300558/bin/perl-static" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, 'blib/lib', 'blib/arch')" t/*.t
t/00-compile.t ...........
1..4
ok 1 - Config/IOD/Base.pm loaded ok
ok 2 - Config/IOD/Expr.pm loaded ok
ok 3 - Config/IOD/Reader.pm loaded ok
ok 4 - Test/Config/IOD/Common.pm loaded ok
ok
t/01-common.t ............
# Subtest: opt: default_section
# Subtest: {default_section=bawaan}
ok 1 - doesn't die
ok 2 - result
1..2
ok 1 - {default_section=bawaan}
1..1
ok 1 - opt: default_section
# Subtest: opt: allow_directives
# Subtest: {allow_directives=ARRAY(0x2458968)}
ok 1 - dies
1..1
ok 1 - {allow_directives=ARRAY(0x2458968)}
# Subtest: {allow_directives=ARRAY(0x2446650)}
ok 1 - doesn't die
ok 2 - result
1..2
ok 2 - {allow_directives=ARRAY(0x2446650)}
1..2
ok 2 - opt: allow_directives
# Subtest: opt: disallow_directives
# Subtest: {disallow_directives=ARRAY(0x2458fe0)}
ok 1 - dies
1..1
ok 1 - {disallow_directives=ARRAY(0x2458fe0)}
# Subtest: {disallow_directives=ARRAY(0x2455c30)}
ok 1 - doesn't die
ok 2 - result
1..2
ok 2 - {disallow_directives=ARRAY(0x2455c30)}
1..2
ok 3 - opt: disallow_directives
# Subtest: opt: allow_directives + disallow_directives
# Subtest: {allow_directives=ARRAY(0x2458ef0), disallow_directives=ARRAY(0x245d2a8)}
ok 1 - dies
1..1
ok 1 - {allow_directives=ARRAY(0x2458ef0), disallow_directives=ARRAY(0x245d2a8)}
1..1
ok 4 - opt: allow_directives + disallow_directives
# Subtest: opt: enable_quoting=0
# Subtest: {enable_quoting=0}
ok 1 - doesn't die
ok 2 - result
1..2
ok 1 - {enable_quoting=0}
1..1
ok 5 - opt: enable_quoting=0
# Subtest: opt: enable_bracket=0
# Subtest: {enable_bracket=0}
ok 1 - doesn't die
ok 2 - result
1..2
ok 1 - {enable_bracket=0}
1..1
ok 6 - opt: enable_bracket=0
# Subtest: opt: enable_brace=0
# Subtest: {enable_brace=0}
ok 1 - doesn't die
ok 2 - result
1..2
ok 1 - {enable_brace=0}
1..1
ok 7 - opt: enable_brace=0
# Subtest: opt: enable_encoding=0
# Subtest: {enable_encoding=0}
ok 1 - doesn't die
ok 2 - result
1..2
ok 1 - {enable_encoding=0}
1..1
ok 8 - opt: enable_encoding=0
# Subtest: opt: allow_encodings
# Subtest: {allow_encodings=ARRAY(0x2460250)}
ok 1 - dies
1..1
ok 1 - {allow_encodings=ARRAY(0x2460250)}
# Subtest: {allow_encodings=ARRAY(0x2460040)}
ok 1 - doesn't die
ok 2 - result
1..2
ok 2 - {allow_encodings=ARRAY(0x2460040)}
1..2
ok 9 - opt: allow_encodings
# Subtest: opt: disallow_encodings
# Subtest: {disallow_encodings=ARRAY(0x2461628)}
ok 1 - dies
1..1
ok 1 - {disallow_encodings=ARRAY(0x2461628)}
# Subtest: {disallow_encodings=ARRAY(0x239e6d8)}
ok 1 - dies
1..1
ok 2 - {disallow_encodings=ARRAY(0x239e6d8)}
# Subtest: {disallow_encodings=ARRAY(0x2460460)}
ok 1 - doesn't die
ok 2 - result
1..2
ok 3 - {disallow_encodings=ARRAY(0x2460460)}
1..3
ok 10 - opt: disallow_encodings
# Subtest: opt: allow_encodings + disallow_encodings
# Subtest: {allow_encodings=ARRAY(0x24580f8), disallow_encodings=ARRAY(0x2446560)}
ok 1 - dies
1..1
ok 1 - {allow_encodings=ARRAY(0x24580f8), disallow_encodings=ARRAY(0x2446560)}
1..1
ok 11 - opt: allow_encodings + disallow_encodings
# Subtest: opt: allow_bang_only=0
# Subtest: {allow_bang_only=0}
ok 1 - dies
1..1
ok 1 - {allow_bang_only=0}
1..1
ok 12 - opt: allow_bang_only=0
# Subtest: opt: allow_duplicate_key=0
# Subtest: {allow_duplicate_key=0}
ok 1 - dies
1..1
ok 1 - {allow_duplicate_key=0}
1..1
ok 13 - opt: allow_duplicate_key=0
# Subtest: opt: ignore_unknown_directive=1
# Subtest: {ignore_unknown_directive=1}
ok 1 - doesn't die
ok 2 - result
1..2
ok 1 - {ignore_unknown_directive=1}
1..1
ok 14 - opt: ignore_unknown_directive=1
# Subtest: expr
# Subtest: must be enabled first
ok 1 - dies
1..1
ok 1 - must be enabled first
# Subtest: must be valid
ok 1 - dies
1..1
ok 2 - must be valid
# Subtest: {enable_expr=1}
ok 1 - doesn't die
ok 2 - result
1..2
ok 3 - {enable_expr=1}
1..3
ok 15 - expr
1..15
ok
t/author-pod-coverage.t .. skipped: these tests are for testing by the author
t/author-pod-syntax.t .... skipped: these tests are for testing by the author
line 12: Invalid value: Can't get home directory for user 'cpanfly' in path at /data/fly2400/cpanfly-5.24/var/tmp/cpan_build/Config-IOD-Reader-0.31-UDIImK/blib/lib/Config/IOD/Base.pm line 439.
t/encoding_path.t ........
Dubious, test returned 255 (wstat 65280, 0xff00)
No subtests run
# .IOD files are at /tmp/M75HWMoNBn
# [
# '/tmp/M75HWMoNBn/examples/comment.iod',
# '/tmp/M75HWMoNBn/examples/dir-include-child.iod',
# '/tmp/M75HWMoNBn/examples/dir-include.iod',
# '/tmp/M75HWMoNBn/examples/dir-include2.iod',
# '/tmp/M75HWMoNBn/examples/dir-merge-self.iod',
# '/tmp/M75HWMoNBn/examples/dir-merge.iod',
# '/tmp/M75HWMoNBn/examples/dir-merge2.iod',
# '/tmp/M75HWMoNBn/examples/dirsyntax.iod',
# '/tmp/M75HWMoNBn/examples/empty-section.iod',
# '/tmp/M75HWMoNBn/examples/empty.iod',
# '/tmp/M75HWMoNBn/examples/encoding-base64.iod',
# '/tmp/M75HWMoNBn/examples/encoding-hex.iod',
# '/tmp/M75HWMoNBn/examples/encoding-json.iod',
# '/tmp/M75HWMoNBn/examples/extra-bench-basic-compat.iod',
# '/tmp/M75HWMoNBn/examples/extra-bench-basic.iod',
# '/tmp/M75HWMoNBn/examples/extra-bench-typical1.iod',
# '/tmp/M75HWMoNBn/examples/invalid-dir-args.iod',
# '/tmp/M75HWMoNBn/examples/invalid-dir-include-nofile.iod',
# '/tmp/M75HWMoNBn/examples/invalid-dir-include-notfound.iod',
# '/tmp/M75HWMoNBn/examples/invalid-dir-include-recursive.iod',
# '/tmp/M75HWMoNBn/examples/invalid-dir-unknown.iod',
# '/tmp/M75HWMoNBn/examples/invalid-directive-unknown.iod',
# '/tmp/M75HWMoNBn/examples/invalid-encoding-json.iod',
# '/tmp/M75HWMoNBn/examples/invalid-encoding-unknown.iod',
# '/tmp/M75HWMoNBn/examples/invalid-key-emptyname.iod',
# '/tmp/M75HWMoNBn/examples/invalid-key-noassign.iod',
# '/tmp/M75HWMoNBn/examples/invalid-section.iod',
# '/tmp/M75HWMoNBn/examples/key.iod',
# '/tmp/M75HWMoNBn/examples/multisection.iod',
# '/tmp/M75HWMoNBn/examples/multival.iod',
# '/tmp/M75HWMoNBn/examples/nested-section.iod',
# '/tmp/M75HWMoNBn/examples/nested-section2.iod',
# '/tmp/M75HWMoNBn/examples/nosection.iod',
# '/tmp/M75HWMoNBn/examples/section.iod',
# '/tmp/M75HWMoNBn/examples/simple.iod',
# '/tmp/M75HWMoNBn/examples/whitespace.iod'
# ]
t/spec.t .................
# Subtest: file /tmp/M75HWMoNBn/examples/comment.iod
ok 1
1..1
ok 1 - file /tmp/M75HWMoNBn/examples/comment.iod
# Subtest: file /tmp/M75HWMoNBn/examples/dir-include-child.iod
ok 1
1..1
ok 2 - file /tmp/M75HWMoNBn/examples/dir-include-child.iod
# Subtest: file /tmp/M75HWMoNBn/examples/dir-include.iod
ok 1
1..1
ok 3 - file /tmp/M75HWMoNBn/examples/dir-include.iod
# Subtest: file /tmp/M75HWMoNBn/examples/dir-include2.iod
ok 1
1..1
ok 4 - file /tmp/M75HWMoNBn/examples/dir-include2.iod
# Subtest: file /tmp/M75HWMoNBn/examples/dir-merge-self.iod
ok 1
1..1
ok 5 - file /tmp/M75HWMoNBn/examples/dir-merge-self.iod
# Subtest: file /tmp/M75HWMoNBn/examples/dir-merge.iod
ok 1
1..1
ok 6 - file /tmp/M75HWMoNBn/examples/dir-merge.iod
# Subtest: file /tmp/M75HWMoNBn/examples/dir-merge2.iod
ok 1
1..1
ok 7 - file /tmp/M75HWMoNBn/examples/dir-merge2.iod
# Subtest: file /tmp/M75HWMoNBn/examples/dirsyntax.iod
ok 1
1..1
ok 8 - file /tmp/M75HWMoNBn/examples/dirsyntax.iod
# Subtest: file /tmp/M75HWMoNBn/examples/empty-section.iod
ok 1
1..1
ok 9 - file /tmp/M75HWMoNBn/examples/empty-section.iod
# Subtest: file /tmp/M75HWMoNBn/examples/empty.iod
ok 1
1..1
ok 10 - file /tmp/M75HWMoNBn/examples/empty.iod
# Subtest: file /tmp/M75HWMoNBn/examples/encoding-base64.iod
ok 1
1..1
ok 11 - file /tmp/M75HWMoNBn/examples/encoding-base64.iod
# Subtest: file /tmp/M75HWMoNBn/examples/encoding-hex.iod
ok 1
1..1
ok 12 - file /tmp/M75HWMoNBn/examples/encoding-hex.iod
# Subtest: file /tmp/M75HWMoNBn/examples/encoding-json.iod
ok 1
1..1
ok 13 - file /tmp/M75HWMoNBn/examples/encoding-json.iod
# Subtest: file /tmp/M75HWMoNBn/examples/extra-bench-basic-compat.iod
ok 1
1..1
ok 14 - file /tmp/M75HWMoNBn/examples/extra-bench-basic-compat.iod
# Subtest: file /tmp/M75HWMoNBn/examples/extra-bench-basic.iod
ok 1
1..1
ok 15 - file /tmp/M75HWMoNBn/examples/extra-bench-basic.iod
# Subtest: file /tmp/M75HWMoNBn/examples/extra-bench-typical1.iod
ok 1
1..1
ok 16 - file /tmp/M75HWMoNBn/examples/extra-bench-typical1.iod
# Subtest: file /tmp/M75HWMoNBn/examples/invalid-dir-args.iod
ok 1 - dies
1..1
ok 17 - file /tmp/M75HWMoNBn/examples/invalid-dir-args.iod
# Subtest: file /tmp/M75HWMoNBn/examples/invalid-dir-include-nofile.iod
ok 1 - dies
1..1
ok 18 - file /tmp/M75HWMoNBn/examples/invalid-dir-include-nofile.iod
# Subtest: file /tmp/M75HWMoNBn/examples/invalid-dir-include-notfound.iod
ok 1 - dies
1..1
ok 19 - file /tmp/M75HWMoNBn/examples/invalid-dir-include-notfound.iod
# Subtest: file /tmp/M75HWMoNBn/examples/invalid-dir-include-recursive.iod
ok 1 - dies
1..1
ok 20 - file /tmp/M75HWMoNBn/examples/invalid-dir-include-recursive.iod
# Subtest: file /tmp/M75HWMoNBn/examples/invalid-dir-unknown.iod
ok 1 - dies
1..1
ok 21 - file /tmp/M75HWMoNBn/examples/invalid-dir-unknown.iod
# Subtest: file /tmp/M75HWMoNBn/examples/invalid-directive-unknown.iod
ok 1 - dies
1..1
ok 22 - file /tmp/M75HWMoNBn/examples/invalid-directive-unknown.iod
# Subtest: file /tmp/M75HWMoNBn/examples/invalid-encoding-json.iod
ok 1 - dies
1..1
ok 23 - file /tmp/M75HWMoNBn/examples/invalid-encoding-json.iod
# Subtest: file /tmp/M75HWMoNBn/examples/invalid-encoding-unknown.iod
ok 1 - dies
1..1
ok 24 - file /tmp/M75HWMoNBn/examples/invalid-encoding-unknown.iod
# Subtest: file /tmp/M75HWMoNBn/examples/invalid-key-emptyname.iod
ok 1 - dies
1..1
ok 25 - file /tmp/M75HWMoNBn/examples/invalid-key-emptyname.iod
# Subtest: file /tmp/M75HWMoNBn/examples/invalid-key-noassign.iod
ok 1 - dies
1..1
ok 26 - file /tmp/M75HWMoNBn/examples/invalid-key-noassign.iod
# Subtest: file /tmp/M75HWMoNBn/examples/invalid-section.iod
ok 1 - dies
1..1
ok 27 - file /tmp/M75HWMoNBn/examples/invalid-section.iod
# Subtest: file /tmp/M75HWMoNBn/examples/key.iod
ok 1
1..1
ok 28 - file /tmp/M75HWMoNBn/examples/key.iod
# Subtest: file /tmp/M75HWMoNBn/examples/multisection.iod
ok 1
1..1
ok 29 - file /tmp/M75HWMoNBn/examples/multisection.iod
# Subtest: file /tmp/M75HWMoNBn/examples/multival.iod
ok 1
1..1
ok 30 - file /tmp/M75HWMoNBn/examples/multival.iod
# Subtest: file /tmp/M75HWMoNBn/examples/nested-section.iod
ok 1
1..1
ok 31 - file /tmp/M75HWMoNBn/examples/nested-section.iod
# Subtest: file /tmp/M75HWMoNBn/examples/nested-section2.iod
ok 1
1..1
ok 32 - file /tmp/M75HWMoNBn/examples/nested-section2.iod
# Subtest: file /tmp/M75HWMoNBn/examples/nosection.iod
ok 1
1..1
ok 33 - file /tmp/M75HWMoNBn/examples/nosection.iod
# Subtest: file /tmp/M75HWMoNBn/examples/section.iod
ok 1
1..1
ok 34 - file /tmp/M75HWMoNBn/examples/section.iod
# Subtest: file /tmp/M75HWMoNBn/examples/simple.iod
ok 1
1..1
ok 35 - file /tmp/M75HWMoNBn/examples/simple.iod
# Subtest: file /tmp/M75HWMoNBn/examples/whitespace.iod
ok 1
1..1
ok 36 - file /tmp/M75HWMoNBn/examples/whitespace.iod
1..36
ok
Test Summary Report
-------------------
t/encoding_path.t (Wstat: 65280 Tests: 0 Failed: 0)
Non-zero exit status: 255
Parse errors: No plan found in TAP output
Files=6, Tests=55, 1 wallclock secs ( 0.06 usr 0.01 sys + 0.62 cusr 0.16 csys = 0.85 CPU)
Result: FAIL
Failed 1/6 test programs. 0/55 subtests failed.
make: *** [test_dynamic] Error 255
PERLANCAR/Config-IOD-Reader-0.31.tar.gz
make test TEST_VERBOSE=1 -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports PERLANCAR/Config-IOD-Reader-0.31.tar.gz
PERLANCAR/Perinci-CmdLine-Util-Config-1.71.tar.gz
Has already been unwrapped into directory /data/fly2400/cpanfly-5.24/var/tmp/cpan_build/Perinci-CmdLine-Util-Config-1.71-CJrqQS
PERLANCAR/Perinci-CmdLine-Util-Config-1.71.tar.gz
Has already been prepared
Running make for P/PE/PERLANCAR/Perinci-CmdLine-Util-Config-1.71.tar.gz
Warning: Prerequisite 'Config::IOD::Reader => 0.31' for 'PERLANCAR/Perinci-CmdLine-Util-Config-1.71.tar.gz' failed when processing 'PERLANCAR/Config-IOD-Reader-0.31.tar.gz' with 'make_test => NO'. Continuing, but chances to succeed are limited.
>>> make
cp lib/Perinci/CmdLine/Util/Config.pm blib/lib/Perinci/CmdLine/Util/Config.pm
Manifying 1 pod document
PERLANCAR/Perinci-CmdLine-Util-Config-1.71.tar.gz
make -- OK
Running make test
>>> make test TEST_VERBOSE=1
PERL_DL_NONLAZY=1 "/data/fly2400/ap2400-300558/bin/perl-static" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, 'blib/lib', 'blib/arch')" t/*.t
t/00-compile.t ...........
1..1
ok 1 - Perinci/CmdLine/Util/Config.pm loaded ok
ok
t/author-pod-coverage.t .. skipped: these tests are for testing by the author
t/author-pod-syntax.t .... skipped: these tests are for testing by the author
t/release-rinci.t ........ skipped: these tests are for release candidate testing
All tests successful.
Files=4, Tests=1, 0 wallclock secs ( 0.04 usr 0.01 sys + 0.08 cusr 0.01 csys = 0.14 CPU)
Result: PASS
PERLANCAR/Perinci-CmdLine-Util-Config-1.71.tar.gz
make test TEST_VERBOSE=1 -- OK
perlancar <perlancar@gmail.com>
Utility routines related to config files
>>> (cd /data/fly2400/cpanfly-5.24/var/tmp/cpan_build/Perinci-CmdLine-Util-Config-1.71-CJrqQS && tar cvf - Perinci-CmdLine-Util-Config-1.71.ppd blib) | gzip -c >/data/fly2400/cpanfly-5.24/var/REPO/P/PE/PERLANCAR/Perinci-CmdLine-Util-Config-1.71.tar.gz
Perinci-CmdLine-Util-Config-1.71.ppd
blib/
blib/man3/
blib/man3/Perinci::CmdLine::Util::Config.3
blib/lib/
blib/lib/Perinci/
blib/lib/Perinci/CmdLine/
blib/lib/Perinci/CmdLine/Util/
blib/lib/Perinci/CmdLine/Util/Config.pm
PERLANCAR/Perinci-CmdLine-Lite-1.71.tar.gz
Has already been unwrapped into directory /data/fly2400/cpanfly-5.24/var/tmp/cpan_build/Perinci-CmdLine-Lite-1.71-adiwQ4
PERLANCAR/Perinci-CmdLine-Lite-1.71.tar.gz
Has already been prepared
Running make for P/PE/PERLANCAR/Perinci-CmdLine-Lite-1.71.tar.gz
Prepending /data/fly2400/cpanfly-5.24/var/tmp/cpan_build/Perinci-CmdLine-Util-Config-1.71-CJrqQS/blib/arch /data/fly2400/cpanfly-5.24/var/tmp/cpan_build/Perinci-CmdLine-Util-Config-1.71-CJrqQS/blib/lib to PERL5LIB for 'make'
>>> make
cp share/templates/description.txt blib/lib/auto/share/dist/Perinci-CmdLine-Lite/templates/description.txt
cp share/templates/synopsis.txt blib/lib/auto/share/dist/Perinci-CmdLine-Lite/templates/synopsis.txt
cp lib/Perinci/CmdLine/Base.pm blib/lib/Perinci/CmdLine/Base.pm
cp lib/Perinci/CmdLine/Lite.pm blib/lib/Perinci/CmdLine/Lite.pm
Manifying 2 pod documents
PERLANCAR/Perinci-CmdLine-Lite-1.71.tar.gz
make -- OK
Prepending /data/fly2400/cpanfly-5.24/var/tmp/cpan_build/Perinci-CmdLine-Util-Config-1.71-CJrqQS/blib/arch /data/fly2400/cpanfly-5.24/var/tmp/cpan_build/Perinci-CmdLine-Util-Config-1.71-CJrqQS/blib/lib to PERL5LIB for 'test'
Running make test
>>> make test TEST_VERBOSE=1
Skip blib/lib/auto/share/dist/Perinci-CmdLine-Lite/templates/description.txt (unchanged)
Skip blib/lib/auto/share/dist/Perinci-CmdLine-Lite/templates/synopsis.txt (unchanged)
PERL_DL_NONLAZY=1 "/data/fly2400/ap2400-300558/bin/perl-static" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, 'blib/lib', 'blib/arch')" t/*.t
t/00-compile.t ...........
1..2
ok 1 - Perinci/CmdLine/Base.pm loaded ok
ok 2 - Perinci/CmdLine/Lite.pm loaded ok
ok
t/author-pod-coverage.t .. skipped: these tests are for testing by the author
t/author-pod-syntax.t .... skipped: these tests are for testing by the author
t/suite.t ................
# Subtest: help action
ok 1 - dummy
# Subtest: --help
# Generated CLI script at /tmp/o1fSUsuQ7B/cliX3UNT6BJ
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/o1fSUsuQ7B/cliX3UNT6BJ',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/Tiny/noop'
# }
# argv: [
# '--help'
# ]
# Script's stdout:
# Script's stderr: <>
ok 1 - exit_code
ok 2 - stdout_like
1..2
ok 2 - --help
# Subtest: + is not accepted as option starter
# Generated CLI script at /tmp/o1fSUsuQ7B/clirZHjBlZb
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/o1fSUsuQ7B/clirZHjBlZb',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/Tiny/noop'
# }
# argv: [
# '+h'
# ]
# Script's stdout:
# Script's stderr: <>
ok 1 - exit_code
1..1
ok 3 - + is not accepted as option starter
# Subtest: + is not accepted as option starter (2)
# Generated CLI script at /tmp/o1fSUsuQ7B/cliK9saRXA6
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/o1fSUsuQ7B/cliK9saRXA6',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/Tiny/noop'
# }
# argv: [
# '+help'
# ]
# Script's stdout:
# Script's stderr: <>
ok 1 - exit_code
1..1
ok 4 - + is not accepted as option starter (2)
# Subtest: extra args is okay
# Generated CLI script at /tmp/o1fSUsuQ7B/cliWEmvRjAh
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/o1fSUsuQ7B/cliWEmvRjAh',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/Tiny/noop'
# }
# argv: [
# '--help',
# '1',
# '2',
# '3'
# ]
# Script's stdout:
# Script's stderr: <>
ok 1 - exit_code
ok 2 - stdout_like
1..2
ok 5 - extra args is okay
# Subtest: help for cli with subcommands
# Generated CLI script at /tmp/o1fSUsuQ7B/clisOnt9CLR
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/o1fSUsuQ7B/clisOnt9CLR',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'subcommands' => {
# 'sc1' => '/Perinci/Examples/Tiny/noop'
# },
# 'url' => '/Perinci/Examples/Tiny/'
# }
# argv: [
# '--help'
# ]
# Script's stdout:
# Script's stderr: <>
ok 1 - exit_code
ok 2 - stdout_like
1..2
ok 6 - help for cli with subcommands
# Subtest: help on a subcommand
# Generated CLI script at /tmp/o1fSUsuQ7B/clidg9hbrgC
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/o1fSUsuQ7B/clidg9hbrgC',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'subcommands' => {
# 'sc1' => '/Perinci/Examples/Tiny/noop'
# },
# 'url' => '/Perinci/Examples/Tiny/'
# }
# argv: [
# 'sc1',
# '--help'
# ]
# Script's stdout:
# Script's stderr: <>
ok 1 - exit_code
ok 2 - stdout_like
ok 3 - stdout_unlike
1..3
ok 7 - help on a subcommand
1..7
ok 1 - help action
# Subtest: version action
ok 1 - dummy
# Subtest: --version
# Generated CLI script at /tmp/o1fSUsuQ7B/clieCDDA7hO
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/o1fSUsuQ7B/clieCDDA7hO',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/Tiny/noop'
# }
# argv: [
# '--version'
# ]
# Script's stdout:
# Script's stderr: <>
ok 1 - exit_code
ok 2 - stdout_like
1..2
ok 2 - --version
1..2
ok 2 - version action
# Subtest: subcommands action
ok 1 - dummy
# Subtest: --subcommands
# Generated CLI script at /tmp/o1fSUsuQ7B/cli_sSRjGlH
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/o1fSUsuQ7B/cli_sSRjGlH',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'subcommands' => {
# 'noop' => '/Perinci/Examples/Tiny/noop',
# 'odd_even' => '/Perinci/Examples/Tiny/odd_even'
# },
# 'url' => '/Perinci/Examples/Tiny/'
# }
# argv: [
# '--subcommands'
# ]
# Script's stdout:
# Script's stderr: <>
ok 1 - exit_code
ok 2 - stdout_like
1..2
ok 2 - --subcommands
# Subtest: unknown subcommand = error
# Generated CLI script at /tmp/o1fSUsuQ7B/clig0IXYfoJ
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/o1fSUsuQ7B/clig0IXYfoJ',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'subcommands' => {
# 'noop' => '/Perinci/Examples/Tiny/noop',
# 'odd_even' => '/Perinci/Examples/Tiny/odd_even'
# },
# 'url' => '/Perinci/Examples/Tiny/'
# }
# argv: [
# 'foo'
# ]
# Script's stdout:
# Script's stderr: <>
ok 1 - exit_code
1..1
ok 3 - unknown subcommand = error
# Subtest: default_subcommand
# Generated CLI script at /tmp/o1fSUsuQ7B/cliKOvp07FZ
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'default_subcommand' => 'noop',
# 'output_file' => '/tmp/o1fSUsuQ7B/cliKOvp07FZ',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'subcommands' => {
# 'noop' => '/Perinci/Examples/Tiny/noop',
# 'odd_even' => '/Perinci/Examples/Tiny/odd_even'
# },
# 'url' => '/Perinci/Examples/Tiny/'
# }
# argv: []
# Script's stdout: <>
# Script's stderr: <>
ok 1 - exit_code
ok 2 - stdout_like
1..2
ok 4 - default_subcommand
# Subtest: default_subcommand 2
# Generated CLI script at /tmp/o1fSUsuQ7B/cliHDPR8X29
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'default_subcommand' => 'odd_even',
# 'output_file' => '/tmp/o1fSUsuQ7B/cliHDPR8X29',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'subcommands' => {
# 'noop' => '/Perinci/Examples/Tiny/noop',
# 'odd_even' => '/Perinci/Examples/Tiny/odd_even'
# },
# 'url' => '/Perinci/Examples/Tiny/'
# }
# argv: []
# Script's stdout:
# Script's stderr: <>
ok 1 - exit_code
1..1
ok 5 - default_subcommand 2
1..5
ok 3 - subcommands action
# Subtest: call action
ok 1 - dummy
# Subtest: embedded function+meta works
# Generated CLI script at /tmp/o1fSUsuQ7B/clie4YDHALs
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'code_before_instantiate_cmdline' => '
# our %SPEC;
# $SPEC{square} = {v=>1.1, args=>{num=>{schema=>\'num*\', req=>1, pos=>0}}};
# sub square { my %args=@_; [200, "OK", $args{num}**2] }
# ',
# 'output_file' => '/tmp/o1fSUsuQ7B/clie4YDHALs',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/main/square'
# }
# argv: [
# '12'
# ]
# Script's stdout: <144
# >
# Script's stderr: <>
ok 1 - exit_code
ok 2 - stdout_like
1..2
ok 2 - embedded function+meta works
# Subtest: extra args not allowed
# Generated CLI script at /tmp/o1fSUsuQ7B/cliahE2s8kZ
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/o1fSUsuQ7B/cliahE2s8kZ',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/Tiny/noop'
# }
# argv: [
# '1'
# ]
# Script's stdout:
# Script's stderr: <>
ok 1 - exit_code
1..1
ok 3 - extra args not allowed
# Subtest: missing required args -> error
# Generated CLI script at /tmp/o1fSUsuQ7B/cliTOl4psFO
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/o1fSUsuQ7B/cliTOl4psFO',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/Tiny/odd_even'
# }
# argv: []
# Script's stdout:
# Script's stderr: <>
ok 1 - exit_code
1..1
ok 4 - missing required args -> error
# Subtest: common option: --format
# Generated CLI script at /tmp/o1fSUsuQ7B/clisXKMZXFx
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/o1fSUsuQ7B/clisXKMZXFx',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/Tiny/Args/as_is'
# }
# argv: [
# '--arg',
# 'abc',
# '--format',
# 'json'
# ]
# Script's stdout: <[200,"OK","abc",{"stream":0}]
# >
# Script's stderr: <>
ok 1 - exit_code
ok 2 - stdout_like
1..2
ok 5 - common option: --format
# Subtest: common option: --json
# Generated CLI script at /tmp/o1fSUsuQ7B/cliLjRqGdvS
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/o1fSUsuQ7B/cliLjRqGdvS',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/Tiny/Args/as_is'
# }
# argv: [
# '--arg',
# 'abc',
# '--json'
# ]
# Script's stdout: <[200,"OK","abc",{"stream":0}]
# >
# Script's stderr: <>
ok 1 - exit_code
ok 2 - stdout_like
1..2
ok 6 - common option: --json
# Subtest: common option: --naked-res
# Generated CLI script at /tmp/o1fSUsuQ7B/clizfD4NQn3
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/o1fSUsuQ7B/clizfD4NQn3',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/Tiny/Args/as_is'
# }
# argv: [
# '--arg',
# 'abc',
# '--json',
# '--naked-res'
# ]
# Script's stdout: <"abc"
# >
# Script's stderr: <>
ok 1 - exit_code
ok 2 - stdout_like
1..2
ok 7 - common option: --naked-res
# Subtest: common option: --no-naked-res
# Generated CLI script at /tmp/o1fSUsuQ7B/cliiUoR4wT0
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/o1fSUsuQ7B/cliiUoR4wT0',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/Tiny/Args/as_is'
# }
# argv: [
# '--arg',
# 'abc',
# '--json',
# '--no-naked-res'
# ]
# Script's stdout: <[200,"OK","abc",{"stream":0}]
# >
# Script's stderr: <>
ok 1 - exit_code
ok 2 - stdout_like
1..2
ok 8 - common option: --no-naked-res
# Subtest: common option: --cmd
# Generated CLI script at /tmp/o1fSUsuQ7B/cliSQ43L0oz
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'default_subcommand' => 'noop',
# 'output_file' => '/tmp/o1fSUsuQ7B/cliSQ43L0oz',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'subcommands' => {
# 'noop' => '/Perinci/Examples/Tiny/noop',
# 'odd_even' => '/Perinci/Examples/Tiny/odd_even'
# },
# 'url' => '/Perinci/Examples/Tiny/'
# }
# argv: [
# '--cmd',
# 'odd_even',
# '5'
# ]
# Script's stdout:
# Script's stderr: <>
ok 1 - exit_code
ok 2 - stdout_like
1..2
ok 9 - common option: --cmd
# Subtest: json argument
# Generated CLI script at /tmp/o1fSUsuQ7B/cliS6vu3pUP
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/o1fSUsuQ7B/cliS6vu3pUP',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/Tiny/Args/as_is'
# }
# argv: [
# '--arg-json',
# '["a","b"]',
# '--json'
# ]
# Script's stdout: <[200,"OK",["a","b"],{"stream":0}]
# >
# Script's stderr: <>
ok 1 - exit_code
ok 2 - stdout_like
1..2
ok 10 - json argument
# Subtest: can handle function which returns naked result
# Generated CLI script at /tmp/o1fSUsuQ7B/cliHy7Ft_WL
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/o1fSUsuQ7B/cliHy7Ft_WL',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/Tiny/hello_naked'
# }
# argv: []
# Script's stdout:
# Script's stderr: <>
ok 1 - exit_code
ok 2 - stdout_like
1..2
ok 11 - can handle function which returns naked result
1..11
ok 4 - call action
# Subtest: cmdline_src (error cases)
ok 1 - dummy
# Subtest: unknown value
# Generated CLI script at /tmp/o1fSUsuQ7B/cliSFaLihTV
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/o1fSUsuQ7B/cliSFaLihTV',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_unknown'
# }
# argv: []
# Script's stdout:
# Script's stderr: <>
ok 1 - exit_code
1..1
ok 2 - unknown value
# Subtest: arg type not str/array
# Generated CLI script at /tmp/o1fSUsuQ7B/cli9JpzdjEu
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/o1fSUsuQ7B/cli9JpzdjEu',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_invalid_arg_type'
# }
# argv: []
# Script's stdout:
# Script's stderr: <>
ok 1 - exit_code
1..1
ok 3 - arg type not str/array
# Subtest: multiple stdin
# Generated CLI script at /tmp/o1fSUsuQ7B/cliMwOOKPwc
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/o1fSUsuQ7B/cliMwOOKPwc',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_multi_stdin'
# }
# argv: [
# 'a',
# 'b'
# ]
# Script's stdout:
# Script's stderr: <>
ok 1 - exit_code
1..1
ok 4 - multiple stdin
1..4
ok 5 - cmdline_src (error cases)
# Subtest: cmdline_src (file)
ok 1 - dummy
# Subtest: file 1
# Generated CLI script at /tmp/o1fSUsuQ7B/clihSN8Qw3W
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/o1fSUsuQ7B/clihSN8Qw3W',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_file'
# }
# argv: [
# '--a1',
# '/tmp/o1fSUsuQ7B/infile1'
# ]
# Script's stdout:
# Script's stderr: <>
ok 1 - exit_code
ok 2 - stdout_like
1..2
ok 2 - file 1
# Subtest: file 1 (special hint arguments passed)
# Generated CLI script at /tmp/o1fSUsuQ7B/clif6erCJ6A
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/o1fSUsuQ7B/clif6erCJ6A',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_file'
# }
# argv: [
# '--json',
# '--a1',
# '/tmp/o1fSUsuQ7B/infile1'
# ]
# Script's stdout: <[200,"OK","a1=foo\na2=[]",{"func.args":{"-cmdline_src_a1":"file","-cmdline_srcfilenames_a1":["/tmp/o1fSUsuQ7B/infile1"],"a1":"foo"},"stream":0}]
# >
# Script's stderr: <>
ok 1 - exit_code
ok 2 - stdout_like
ok 3 - stdout_like
1..3
ok 3 - file 1 (special hint arguments passed)
# Subtest: file 2
# Generated CLI script at /tmp/o1fSUsuQ7B/cliSbbc_g5L
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/o1fSUsuQ7B/cliSbbc_g5L',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_file'
# }
# argv: [
# '--a1',
# '/tmp/o1fSUsuQ7B/infile1',
# '--a2',
# '/tmp/o1fSUsuQ7B/infile2'
# ]
# Script's stdout:
# Script's stderr: <>
ok 1 - exit_code
ok 2 - stdout_like
1..2
ok 4 - file 2
# Subtest: file 2 (special hint arguments passed)
# Generated CLI script at /tmp/o1fSUsuQ7B/cliQkiNRYtB
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/o1fSUsuQ7B/cliQkiNRYtB',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_file'
# }
# argv: [
# '--json',
# '--a1',
# '/tmp/o1fSUsuQ7B/infile1',
# '--a2',
# '/tmp/o1fSUsuQ7B/infile2'
# ]
# Script's stdout: <[200,"OK","a1=foo\na2=[bar\n,baz]",{"func.args":{"-cmdline_src_a1":"file","-cmdline_src_a2":"file","-cmdline_srcfilenames_a1":["/tmp/o1fSUsuQ7B/infile1"],"-cmdline_srcfilenames_a2":["/tmp/o1fSUsuQ7B/infile2"],"a1":"foo","a2":["bar\n","baz"]},"stream":0}]
# >
# Script's stderr: <>
ok 1 - exit_code
ok 2 - stdout_like
ok 3 - stdout_like
ok 4 - stdout_like
ok 5 - stdout_like
1..5
ok 5 - file 2 (special hint arguments passed)
# Subtest: file not found
# Generated CLI script at /tmp/o1fSUsuQ7B/cliqhrYkPzG
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/o1fSUsuQ7B/cliqhrYkPzG',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_file'
# }
# argv: [
# '--a1',
# '/tmp/o1fSUsuQ7B/infile1/x'
# ]
# Script's stdout:
# Script's stderr: <>
ok 1 - exit_code
1..1
ok 6 - file not found
# Subtest: file, missing required arg
# Generated CLI script at /tmp/o1fSUsuQ7B/clizT4uCf9a
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/o1fSUsuQ7B/clizT4uCf9a',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_file'
# }
# argv: [
# '--a2',
# '/tmp/o1fSUsuQ7B/infile2'
# ]
# Script's stdout:
# Script's stderr: <>
ok 1 - exit_code
1..1
ok 7 - file, missing required arg
1..7
ok 6 - cmdline_src (file)
# Subtest: cmdline_src (stdin)
ok 1 - dummy
# Subtest: stdin str
# Generated CLI script at /tmp/o1fSUsuQ7B/cliwhRyYcgA
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/o1fSUsuQ7B/cliwhRyYcgA',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_str'
# }
# argv: []
# Script's stdout:
# Script's stderr: <>
ok 1 - exit_code
ok 2 - stdout_like
1..2
ok 2 - stdin str
# Subtest: stdin str (special hint arguments passed)
# Generated CLI script at /tmp/o1fSUsuQ7B/cliJ1wZEkqB
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/o1fSUsuQ7B/cliJ1wZEkqB',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_str'
# }
# argv: [
# '--json'
# ]
# Script's stdout: <[200,"OK","a1=bar\nbaz",{"func.args":{"-cmdline_src_a1":"stdin","a1":"bar\nbaz"},"stream":0}]
# >
# Script's stderr: <>
ok 1 - exit_code
ok 2 - stdout_like
1..2
ok 3 - stdin str (special hint arguments passed)
# Subtest: stdin array
# Generated CLI script at /tmp/o1fSUsuQ7B/clinBAOx2XT
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/o1fSUsuQ7B/clinBAOx2XT',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_array'
# }
# argv: []
# Script's stdout:
# Script's stderr: <>
ok 1 - exit_code
ok 2 - stdout_like
1..2
ok 4 - stdin array
# Subtest: stdin + arg set to "-"
# Generated CLI script at /tmp/o1fSUsuQ7B/cliAbJcA_m0
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/o1fSUsuQ7B/cliAbJcA_m0',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_str'
# }
# argv: [
# '--a1',
# '-'
# ]
# Script's stdout:
# Script's stderr: <>
ok 1 - exit_code
ok 2 - stdout_like
1..2
ok 5 - stdin + arg set to "-"
# Subtest: stdin + arg set to non "-"
# Generated CLI script at /tmp/o1fSUsuQ7B/cliKbfMyGCA
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/o1fSUsuQ7B/cliKbfMyGCA',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_str'
# }
# argv: [
# '--a1',
# 'x'
# ]
# Script's stdout:
# Script's stderr: <>
ok 1 - exit_code
1..1
ok 6 - stdin + arg set to non "-"
1..6
ok 7 - cmdline_src (stdin)
# Subtest: cmdline_src (stdin_line)
ok 1 - dummy
# Subtest: stdin_line + from stdin
# Generated CLI script at /tmp/o1fSUsuQ7B/clixRsW1wKp
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/o1fSUsuQ7B/clixRsW1wKp',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_line'
# }
# argv: [
# '--a2',
# 'bar'
# ]
# Script's stdout:
# Script's stderr: <>
ok 1 - exit_code
ok 2 - stdout_like
1..2
ok 2 - stdin_line + from stdin
# Subtest: stdin_line + from stdin (special hint arguments passed)
# Generated CLI script at /tmp/o1fSUsuQ7B/cli_bFfvR89
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/o1fSUsuQ7B/cli_bFfvR89',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_line'
# }
# argv: [
# '--json',
# '--a2',
# 'bar'
# ]
# Script's stdout:
# Script's stderr: <>
ok 1 - exit_code
ok 2 - stdout_like
1..2
ok 3 - stdin_line + from stdin (special hint arguments passed)
# Subtest: stdin_line + from cmdline
# Generated CLI script at /tmp/o1fSUsuQ7B/cliz_tGPIvY
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/o1fSUsuQ7B/cliz_tGPIvY',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_line'
# }
# argv: [
# '--a2',
# 'bar',
# '--a1',
# 'qux'
# ]
# Script's stdout:
# Script's stderr: <>
ok 1 - exit_code
ok 2 - stdout_like
1..2
ok 4 - stdin_line + from cmdline
# Subtest: multi stdin_line
# Generated CLI script at /tmp/o1fSUsuQ7B/cli0sR5q0JX
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/o1fSUsuQ7B/cli0sR5q0JX',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_multi_stdin_line'
# }
# argv: [
# '--a3',
# 'baz'
# ]
# Script's stdout:
# Script's stderr: <>
ok 1 - exit_code
ok 2 - stdout_like
1..2
ok 5 - multi stdin_line
1..5
ok 8 - cmdline_src (stdin_line)
# Subtest: cmdline_src (stdin_or_file)
ok 1 - dummy
# Subtest: stdin_or_file file
# Generated CLI script at /tmp/o1fSUsuQ7B/clivNTaCcNg
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/o1fSUsuQ7B/clivNTaCcNg',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_or_file_str'
# }
# argv: [
# '/tmp/o1fSUsuQ7B/infile1'
# ]
# Script's stdout:
# Script's stderr: <>
ok 1 - exit_code
ok 2 - stdout_like
1..2
ok 2 - stdin_or_file file
# Subtest: stdin_or_file file (extra argument)
# Generated CLI script at /tmp/o1fSUsuQ7B/cliPIfivktZ
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/o1fSUsuQ7B/cliPIfivktZ',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_or_file_str'
# }
# argv: [
# '/tmp/o1fSUsuQ7B/infile1',
# '/tmp/o1fSUsuQ7B/infile1'
# ]
# Script's stdout:
# Script's stderr: <>
ok 1 - exit_code
ok 2 - stdout_like
1..2
ok 3 - stdin_or_file file (extra argument)
# Subtest: stdin_or_file file (special hint arguments passed)
# Generated CLI script at /tmp/o1fSUsuQ7B/clizaKTsKPe
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/o1fSUsuQ7B/clizaKTsKPe',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_or_file_str'
# }
# argv: [
# '--json',
# '/tmp/o1fSUsuQ7B/infile1'
# ]
# Script's stdout: <[200,"OK","a1=foo",{"func.args":{"-cmdline_src_a1":"stdin_or_file","-cmdline_srcfilenames_a1":["/tmp/o1fSUsuQ7B/infile1"],"a1":"foo"},"stream":0}]
# >
# Script's stderr: <>
ok 1 - exit_code
ok 2 - stdout_like
ok 3 - stdout_like
1..3
ok 4 - stdin_or_file file (special hint arguments passed)
# Subtest: stdin_or_files file not found
# Generated CLI script at /tmp/o1fSUsuQ7B/clizzPI9qMq
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/o1fSUsuQ7B/clizzPI9qMq',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_or_file_str'
# }
# argv: [
# '/tmp/o1fSUsuQ7B/infile1/x'
# ]
# Script's stdout:
# Script's stderr: <>
ok 1 - exit_code
1..1
ok 5 - stdin_or_files file not found
# Subtest: stdin_or_file stdin str
# Generated CLI script at /tmp/o1fSUsuQ7B/cliV25R37qP
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/o1fSUsuQ7B/cliV25R37qP',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_or_file_str'
# }
# argv: []
# Script's stdout:
# Script's stderr: <>
ok 1 - exit_code
ok 2 - stdout_like
1..2
ok 6 - stdin_or_file stdin str
# Subtest: stdin_or_file stdin str
# Generated CLI script at /tmp/o1fSUsuQ7B/cliItA26IvE
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/o1fSUsuQ7B/cliItA26IvE',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_or_file_array'
# }
# argv: []
# Script's stdout:
# Script's stderr: <>
ok 1 - exit_code
ok 2 - stdout_like
1..2
ok 7 - stdin_or_file stdin str
1..7
ok 9 - cmdline_src (stdin_or_file)
# Subtest: cmdline_src (stdin_or_files)
ok 1 - dummy
# Subtest: stdin_or_files file
# Generated CLI script at /tmp/o1fSUsuQ7B/cli7L27NSG5
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/o1fSUsuQ7B/cli7L27NSG5',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_or_files_array'
# }
# argv: [
# '/tmp/o1fSUsuQ7B/infile1',
# '/tmp/o1fSUsuQ7B/infile2'
# ]
# Script's stdout:
# Script's stderr: <>
ok 1 - exit_code
ok 2 - stdout_like
1..2
ok 2 - stdin_or_files file
# Subtest: stdin_or_files file (special hint arguments passed)
# Generated CLI script at /tmp/o1fSUsuQ7B/cliF0mpU_6r
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/o1fSUsuQ7B/cliF0mpU_6r',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_or_files_str'
# }
# argv: [
# '--json',
# '/tmp/o1fSUsuQ7B/infile1'
# ]
# Script's stdout: <[200,"OK","a1=foo",{"func.args":{"-cmdline_src_a1":"stdin_or_files","-cmdline_srcfilenames_a1":["/tmp/o1fSUsuQ7B/infile1"],"a1":"foo"},"stream":0}]
# >
# Script's stderr: <>
ok 1 - exit_code
ok 2 - stdout_like
ok 3 - stdout_like
1..3
ok 3 - stdin_or_files file (special hint arguments passed)
# Subtest: stdin_or_files file not found
# Generated CLI script at /tmp/o1fSUsuQ7B/cliG0VRznHW
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/o1fSUsuQ7B/cliG0VRznHW',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_or_files_str'
# }
# argv: [
# '/tmp/o1fSUsuQ7B/infile1/x'
# ]
# Script's stdout:
# Script's stderr: <>
ok 1 - exit_code
1..1
ok 4 - stdin_or_files file not found
# Subtest: stdin_or_files stdin str
# Generated CLI script at /tmp/o1fSUsuQ7B/clib8w6xSLd
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/o1fSUsuQ7B/clib8w6xSLd',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_or_files_str'
# }
# argv: []
# Script's stdout:
# Script's stderr: <>
ok 1 - exit_code
ok 2 - stdout_like
1..2
ok 5 - stdin_or_files stdin str
# Subtest: stdin_or_files stdin str
# Generated CLI script at /tmp/o1fSUsuQ7B/cli_rQKl_bU
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/o1fSUsuQ7B/cli_rQKl_bU',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_or_files_array'
# }
# argv: []
# Script's stdout:
# Script's stderr: <>
ok 1 - exit_code
ok 2 - stdout_like
1..2
ok 6 - stdin_or_files stdin str
1..6
ok 10 - cmdline_src (stdin_or_files)
# Subtest: cmdline_src (stdin_or_args)
ok 1 - dummy
# Subtest: from arg
# Generated CLI script at /tmp/o1fSUsuQ7B/clifvEEvand
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/o1fSUsuQ7B/clifvEEvand',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_or_args_array'
# }
# argv: [
# '--a1',
# 'x'
# ]
# Script's stdout:
# Script's stderr: <>
ok 1 - exit_code
ok 2 - stdout_like
1..2
ok 2 - from arg
# Subtest: from stdin
# Generated CLI script at /tmp/o1fSUsuQ7B/cli5YoX1gXV
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/o1fSUsuQ7B/cli5YoX1gXV',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_or_args_array'
# }
# argv: []
# Script's stdout:
# Script's stderr: <>
ok 1 - exit_code
ok 2 - stdout_like
1..2
ok 3 - from stdin
1..3
ok 11 - cmdline_src (stdin_or_args)
# Subtest: dry-run
ok 1 - dummy
# Subtest: dry-run (via env, 0)
# Generated CLI script at /tmp/o1fSUsuQ7B/clipirmumxt
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/o1fSUsuQ7B/clipirmumxt',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/test_dry_run'
# }
# argv: []
# Script's stdout:
# Script's stderr: <>
ok 1 - exit_code
ok 2 - stdout_like
1..2
ok 2 - dry-run (via env, 0)
# Subtest: dry-run (via env, 1)
# Generated CLI script at /tmp/o1fSUsuQ7B/clirGzLB4gV
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/o1fSUsuQ7B/clirGzLB4gV',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/test_dry_run'
# }
# argv: []
# Script's stdout:
# Script's stderr: <>
ok 1 - exit_code
ok 2 - stdout_like
1..2
ok 3 - dry-run (via env, 1)
# Subtest: dry-run (via cmdline opt)
# Generated CLI script at /tmp/o1fSUsuQ7B/cliz7XeUf8f
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/o1fSUsuQ7B/cliz7XeUf8f',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/test_dry_run'
# }
# argv: [
# '--dry-run'
# ]
# Script's stdout:
# Script's stderr: <>
ok 1 - exit_code
ok 2 - stdout_like
1..2
ok 4 - dry-run (via cmdline opt)
1..4
ok 12 - dry-run
# Subtest: tx
ok 1 - dummy
# Subtest: dry_run (using tx) (w/o)
1..0 # SKIP Has one of the exclude_tag: tx
ok 2 # skip Has one of the exclude_tag: tx
# Subtest: dry_run (using tx) (w/)
1..0 # SKIP Has one of the exclude_tag: tx
ok 3 # skip Has one of the exclude_tag: tx
1..3
ok 13 - tx
# Subtest: streaming
ok 1 - dummy
# Subtest: stream input, simple type, chomp on
# Generated CLI script at /tmp/o1fSUsuQ7B/cliuDA3ooq_
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/o1fSUsuQ7B/cliuDA3ooq_',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/Stream/count_lines'
# }
# argv: [
# '/tmp/o1fSUsuQ7B/infile-str'
# ]
# Script's stdout:
# Script's stderr: <>
ok 1 - exit_code
ok 2 - stdout_like
1..2
ok 2 - stream input, simple type, chomp on
# Subtest: stream input, simple type, chomp off
# Generated CLI script at /tmp/o1fSUsuQ7B/cliJZsuhExO
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/o1fSUsuQ7B/cliJZsuhExO',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/Stream/wc'
# }
# argv: [
# '/tmp/o1fSUsuQ7B/infile-str'
# ]
# Script's stdout:
# Script's stderr: <>
ok 1 - exit_code
ok 2 - stdout_like
1..2
ok 3 - stream input, simple type, chomp off
# Subtest: stream input, json stream
# Generated CLI script at /tmp/o1fSUsuQ7B/cli0xURc2aB
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/o1fSUsuQ7B/cli0xURc2aB',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/Stream/wc_keys'
# }
# argv: [
# '/tmp/o1fSUsuQ7B/infile-hash-json'
# ]
# Script's stdout:
# Script's stderr: <>
ok 1 - exit_code
ok 2 - stdout_like
1..2
ok 4 - stream input, json stream
# Subtest: stream input, simple type, word validation
1..0 # SKIP Has one of the exclude_tag: validate-streaming-input
ok 5 # skip Has one of the exclude_tag: validate-streaming-input
# Subtest: stream input, simple types, word validation, error
1..0 # SKIP Has one of the exclude_tag: validate-streaming-input
ok 6 # skip Has one of the exclude_tag: validate-streaming-input
# Subtest: stream input, simple types, word validation, error
1..0 # SKIP Has one of the exclude_tag: validate-streaming-input
ok 7 # skip Has one of the exclude_tag: validate-streaming-input
# Subtest: stream input, json stream, error
1..0 # SKIP Has one of the exclude_tag: validate-streaming-input
ok 8 # skip Has one of the exclude_tag: validate-streaming-input
# Subtest: stream result, simple types, word validation
1..0 # SKIP Has one of the exclude_tag: validate-streaming-result
ok 9 # skip Has one of the exclude_tag: validate-streaming-result
# Subtest: stream result, simple types, word validation, error
1..0 # SKIP Has one of the exclude_tag: validate-streaming-result
ok 10 # skip Has one of the exclude_tag: validate-streaming-result
# Subtest: stream result, json stream
# Generated CLI script at /tmp/o1fSUsuQ7B/clilQq6UiGJ
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/o1fSUsuQ7B/clilQq6UiGJ',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/Stream/produce_hashes'
# }
# argv: [
# '-n',
# '3'
# ]
# Script's stdout: <{"num":1}
# {"num":2}
# {"num":3}
# >
# Script's stderr: <>
ok 1 - exit_code
ok 2 - stdout_like
1..2
ok 11 - stream result, json stream
# Subtest: stream input+result, simple type, float validation
# Generated CLI script at /tmp/o1fSUsuQ7B/clisAMstznF
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/o1fSUsuQ7B/clisAMstznF',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/Stream/square_nums'
# }
# argv: [
# '/tmp/o1fSUsuQ7B/infile-int'
# ]
# Script's stdout: <1
# 9
# 25
# >
# Script's stderr: <>
ok 1 - exit_code
ok 2 - stdout_like
1..2
ok 12 - stream input+result, simple type, float validation
# Subtest: stream input+result, simple type, float validation, error
1..0 # SKIP Has one of the exclude_tag: validate-streaming-input
ok 13 # skip Has one of the exclude_tag: validate-streaming-input
1..13
ok 14 - streaming
# Subtest: result metadata
ok 1 - dummy
# Subtest: cmdline.exit_code
# Generated CLI script at /tmp/o1fSUsuQ7B/cliMy8Asv8_
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/o1fSUsuQ7B/cliMy8Asv8_',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/CmdLineResMeta/exit_code'
# }
# argv: []
# Script's stdout: <>
# Script's stderr: <>
ok 1 - exit_code
1..1
ok 2 - cmdline.exit_code
# Subtest: cmdline.result
# Generated CLI script at /tmp/o1fSUsuQ7B/cli8tHVIj9A
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/o1fSUsuQ7B/cli8tHVIj9A',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/CmdLineResMeta/result'
# }
# argv: []
# Script's stdout:
# Script's stderr: <>
ok 1 - exit_code
ok 2 - stdout_like
1..2
ok 3 - cmdline.result
# Subtest: cmdline.default_format
# Generated CLI script at /tmp/o1fSUsuQ7B/cliCYcMZQn2
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/o1fSUsuQ7B/cliCYcMZQn2',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/CmdLineResMeta/default_format'
# }
# argv: []
# Script's stdout: <[200,"OK",null,{"cmdline.default_format":"json","stream":0}]
# >
# Script's stderr: <>
ok 1 - exit_code
ok 2 - stdout_like
1..2
ok 4 - cmdline.default_format
# Subtest: cmdline.default_format (overriden by cmdline opt)
# Generated CLI script at /tmp/o1fSUsuQ7B/cliBq_jRQeL
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/o1fSUsuQ7B/cliBq_jRQeL',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/CmdLineResMeta/default_format'
# }
# argv: [
# '--format',
# 'text'
# ]
# Script's stdout: <>
# Script's stderr: <>
ok 1 - exit_code
ok 2 - stdout_like
1..2
ok 5 - cmdline.default_format (overriden by cmdline opt)
# Subtest: cmdline.skip_format
# Generated CLI script at /tmp/o1fSUsuQ7B/clib39PJZ2F
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/o1fSUsuQ7B/clib39PJZ2F',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/CmdLineResMeta/skip_format'
# }
# argv: []
# Script's stdout:
# Script's stderr: <>
ok 1 - exit_code
ok 2 - stdout_like
1..2
ok 6 - cmdline.skip_format
1..6
ok 15 - result metadata
# Subtest: completion
ok 1 - dummy
# Subtest: self-completion works
# Generated CLI script at /tmp/o1fSUsuQ7B/cliDhg1SMI8
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/o1fSUsuQ7B/cliDhg1SMI8',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/Tiny/odd_even'
# }
# argv: []
# Script's stdout: <--number
# >
# Script's stderr: <>
ok 1 - exit_code
ok 2 - answer
1..2
ok 2 - self-completion works
# Subtest: completion of subcommand name
# Generated CLI script at /tmp/o1fSUsuQ7B/cliqpVTNhr_
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/o1fSUsuQ7B/cliqpVTNhr_',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'subcommands' => {
# 'sc1' => '/Perinci/Examples/Tiny/noop',
# 'sc2' => '/Perinci/Examples/Tiny/odd_even'
# },
# 'url' => '/Perinci/Examples/Tiny/'
# }
# argv: []
# Script's stdout:
# Script's stderr: <>
ok 1 - exit_code
ok 2 - answer
1..2
ok 3 - completion of subcommand name
# Subtest: completion of subcommand option
# Generated CLI script at /tmp/o1fSUsuQ7B/cliFOVi8cey
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/o1fSUsuQ7B/cliFOVi8cey',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'subcommands' => {
# 'sc1' => '/Perinci/Examples/Tiny/noop',
# 'sc2' => '/Perinci/Examples/Tiny/odd_even'
# },
# 'url' => '/Perinci/Examples/Tiny/'
# }
# argv: []
# Script's stdout: <--number
# >
# Script's stderr: <>
ok 1 - exit_code
ok 2 - answer
1..2
ok 4 - completion of subcommand option
1..4
ok 16 - completion
# Subtest: env
ok 1 - dummy
# Subtest: env read
# Generated CLI script at /tmp/o1fSUsuQ7B/cliUI3_Zonr
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/o1fSUsuQ7B/cliUI3_Zonr',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 1,
# 'script_name' => 'sum-nums',
# 'url' => '/Perinci/Examples/Tiny/sum'
# }
# argv: [
# '3'
# ]
# Script's stdout: <6
# >
# Script's stderr: <>
ok 1 - exit_code
ok 2 - stdout_like
1..2
ok 2 - env read
# Subtest: default env name prefixed by _ if script name starts with number
# Generated CLI script at /tmp/o1fSUsuQ7B/clizdIP7wrv
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/o1fSUsuQ7B/clizdIP7wrv',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 1,
# 'script_name' => '0sum-nums',
# 'url' => '/Perinci/Examples/Tiny/sum'
# }
# argv: [
# '3'
# ]
# Script's stdout: <6
# >
# Script's stderr: <>
ok 1 - exit_code
ok 2 - stdout_like
1..2
ok 3 - default env name prefixed by _ if script name starts with number
# Subtest: turned off via --no-env
# Generated CLI script at /tmp/o1fSUsuQ7B/cliJUalA77T
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/o1fSUsuQ7B/cliJUalA77T',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 1,
# 'script_name' => 'sum-nums',
# 'url' => '/Perinci/Examples/Tiny/sum'
# }
# argv: [
# '--no-env',
# '3'
# ]
# Script's stdout: <3
# >
# Script's stderr: <>
ok 1 - exit_code
ok 2 - stdout_like
1..2
ok 4 - turned off via --no-env
# Subtest: attr:env_name
# Generated CLI script at /tmp/o1fSUsuQ7B/climRgtfCbq
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'env_name' => 'foo_opt',
# 'output_file' => '/tmp/o1fSUsuQ7B/climRgtfCbq',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 1,
# 'script_name' => 'sum-nums',
# 'url' => '/Perinci/Examples/Tiny/sum'
# }
# argv: [
# '3'
# ]
# Script's stdout: <18
# >
# Script's stderr: <>
ok 1 - exit_code
ok 2 - stdout_like
1..2
ok 5 - attr:env_name
1..5
ok 17 - env
# Subtest: config file
ok 1 - dummy
# Subtest: attr:config_dirs
# Generated CLI script at /tmp/o1fSUsuQ7B/cli6SSUM_nU
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'config_dirs' => [
# '/tmp/o1fSUsuQ7B'
# ],
# 'output_file' => '/tmp/o1fSUsuQ7B/cli6SSUM_nU',
# 'overwrite' => 1,
# 'read_config' => 1,
# 'read_env' => 0,
# 'script_name' => 'prog',
# 'url' => '/Perinci/Examples/Tiny/noop2'
# }
# argv: []
# Script's stdout:
# Script's stderr: <>
ok 1 - exit_code
ok 2 - stdout_like
1..2
ok 2 - attr:config_dirs
# Subtest: attr:config_filename
# Generated CLI script at /tmp/o1fSUsuQ7B/cliCBnvnjh4
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'config_dirs' => [
# '/tmp/o1fSUsuQ7B'
# ],
# 'config_filename' => 'prog2.conf',
# 'output_file' => '/tmp/o1fSUsuQ7B/cliCBnvnjh4',
# 'overwrite' => 1,
# 'read_config' => 1,
# 'read_env' => 0,
# 'script_name' => 'prog',
# 'url' => '/Perinci/Examples/Tiny/noop2'
# }
# argv: []
# Script's stdout:
# Script's stderr: <>
ok 1 - exit_code
ok 2 - stdout_like
1..2
ok 3 - attr:config_filename
# Subtest: attr:config_filename (hash record)
# Generated CLI script at /tmp/o1fSUsuQ7B/cliuLeN0kw7
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'config_dirs' => [
# '/tmp/o1fSUsuQ7B'
# ],
# 'config_filename' => [
# {
# 'filename' => 'prog4.conf',
# 'section' => 'prog'
# },
# 'prog2.conf'
# ],
# 'output_file' => '/tmp/o1fSUsuQ7B/cliuLeN0kw7',
# 'overwrite' => 1,
# 'read_config' => 1,
# 'read_env' => 0,
# 'script_name' => 'prog',
# 'url' => '/Perinci/Examples/Tiny/noop2'
# }
# argv: []
# Script's stdout:
# Script's stderr: <>
ok 1 - exit_code
ok 2 - stdout_like
1..2
ok 4 - attr:config_filename (hash record)
# Subtest: attr:config_filename (hash record) + --config-profile
# Generated CLI script at /tmp/o1fSUsuQ7B/cliwZ3JT5Sj
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'config_dirs' => [
# '/tmp/o1fSUsuQ7B'
# ],
# 'config_filename' => [
# {
# 'filename' => 'prog4.conf',
# 'section' => 'prog'
# },
# 'prog2.conf'
# ],
# 'output_file' => '/tmp/o1fSUsuQ7B/cliwZ3JT5Sj',
# 'overwrite' => 1,
# 'read_config' => 1,
# 'read_env' => 0,
# 'script_name' => 'prog',
# 'url' => '/Perinci/Examples/Tiny/noop2'
# }
# argv: [
# '--config-profile',
# 'profile1'
# ]
# Script's stdout:
# Script's stderr: <>
ok 1 - exit_code
ok 2 - stdout_like
1..2
ok 5 - attr:config_filename (hash record) + --config-profile
# Subtest: common option: --no-config
# Generated CLI script at /tmp/o1fSUsuQ7B/clirHlF0b2n
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'config_dirs' => [
# '/tmp/o1fSUsuQ7B'
# ],
# 'output_file' => '/tmp/o1fSUsuQ7B/clirHlF0b2n',
# 'overwrite' => 1,
# 'read_config' => 1,
# 'read_env' => 0,
# 'script_name' => 'prog',
# 'url' => '/Perinci/Examples/Tiny/noop2'
# }
# argv: [
# '--no-config'
# ]
# Script's stdout:
# Script's stderr: <>
ok 1 - exit_code
ok 2 - stdout_like
1..2
ok 6 - common option: --no-config
# Subtest: common option: --config-path
# Generated CLI script at /tmp/o1fSUsuQ7B/clicZCynFDu
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/o1fSUsuQ7B/clicZCynFDu',
# 'overwrite' => 1,
# 'read_config' => 1,
# 'read_env' => 0,
# 'script_name' => 'prog',
# 'url' => '/Perinci/Examples/Tiny/noop2'
# }
# argv: [
# '--config-path',
# '/tmp/o1fSUsuQ7B/prog.conf'
# ]
# Script's stdout:
# Script's stderr: <>
ok 1 - exit_code
ok 2 - stdout_like
1..2
ok 7 - common option: --config-path
# Subtest: common option: --config-profile
# Generated CLI script at /tmp/o1fSUsuQ7B/cli6kvaicMP
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'config_dirs' => [
# '/tmp/o1fSUsuQ7B'
# ],
# 'output_file' => '/tmp/o1fSUsuQ7B/cli6kvaicMP',
# 'overwrite' => 1,
# 'read_config' => 1,
# 'read_env' => 0,
# 'script_name' => 'prog',
# 'url' => '/Perinci/Examples/Tiny/noop2'
# }
# argv: [
# '--config-profile=profile1'
# ]
# Script's stdout:
# Script's stderr: <>
ok 1 - exit_code
ok 2 - stdout_like
1..2
ok 8 - common option: --config-profile
# Subtest: unknown config profile -> error
# Generated CLI script at /tmp/o1fSUsuQ7B/cliX5sxtNE7
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'config_dirs' => [
# '/tmp/o1fSUsuQ7B'
# ],
# 'output_file' => '/tmp/o1fSUsuQ7B/cliX5sxtNE7',
# 'overwrite' => 1,
# 'read_config' => 1,
# 'read_env' => 0,
# 'script_name' => 'prog',
# 'url' => '/Perinci/Examples/Tiny/noop2'
# }
# argv: [
# '--config-profile=foo'
# ]
# Script's stdout:
# Script's stderr: <>
ok 1 - exit_code
1..1
ok 9 - unknown config profile -> error
# Subtest: unknown config profile but does not read config -> ok
# Generated CLI script at /tmp/o1fSUsuQ7B/clikjxXn8KY
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'config_dirs' => [
# '/tmp/o1fSUsuQ7B'
# ],
# 'output_file' => '/tmp/o1fSUsuQ7B/clikjxXn8KY',
# 'overwrite' => 1,
# 'read_config' => 1,
# 'read_env' => 0,
# 'script_name' => 'foo',
# 'url' => '/Perinci/Examples/Tiny/noop2'
# }
# argv: [
# '--config-profile=bar'
# ]
# Script's stdout:
# Script's stderr: <>
ok 1 - exit_code
ok 2 - stdout_like
1..2
ok 10 - unknown config profile but does not read config -> ok
# Subtest: subcommand
# Generated CLI script at /tmp/o1fSUsuQ7B/clinwwi2LN3
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'config_dirs' => [
# '/tmp/o1fSUsuQ7B'
# ],
# 'output_file' => '/tmp/o1fSUsuQ7B/clinwwi2LN3',
# 'overwrite' => 1,
# 'read_config' => 1,
# 'read_env' => 0,
# 'script_name' => 'prog',
# 'subcommands' => {
# 'subcommand1' => '/Perinci/Examples/Tiny/noop2'
# },
# 'url' => '/Perinci/Examples/Tiny/'
# }
# argv: [
# 'subcommand1'
# ]
# Script's stdout:
# Script's stderr: <>
ok 1 - exit_code
ok 2 - stdout_like
1..2
ok 11 - subcommand
# Subtest: subcommand + --config-profile
# Generated CLI script at /tmp/o1fSUsuQ7B/cliz9fKdQP9
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'config_dirs' => [
# '/tmp/o1fSUsuQ7B'
# ],
# 'output_file' => '/tmp/o1fSUsuQ7B/cliz9fKdQP9',
# 'overwrite' => 1,
# 'read_config' => 1,
# 'read_env' => 0,
# 'script_name' => 'prog',
# 'subcommands' => {
# 'subcommand1' => '/Perinci/Examples/Tiny/noop2'
# },
# 'url' => '/Perinci/Examples/Tiny/'
# }
# argv: [
# '--config-profile=profile1',
# 'subcommand1'
# ]
# Script's stdout:
# Script's stderr: <>
ok 1 - exit_code
ok 2 - stdout_like
1..2
ok 12 - subcommand + --config-profile
# Subtest: array-ify if argument is array
# Generated CLI script at /tmp/o1fSUsuQ7B/cliObo4SqqS
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'config_dirs' => [
# '/tmp/o1fSUsuQ7B'
# ],
# 'output_file' => '/tmp/o1fSUsuQ7B/cliObo4SqqS',
# 'overwrite' => 1,
# 'read_config' => 1,
# 'read_env' => 0,
# 'script_name' => 'sum',
# 'url' => '/Perinci/Examples/Tiny/sum'
# }
# argv: []
# Script's stdout: <0
# >
# Script's stderr: <>
ok 1 - exit_code
ok 2 - stdout_like
1..2
ok 13 - array-ify if argument is array
# Subtest: can also set common option
# Generated CLI script at /tmp/o1fSUsuQ7B/cliQ3fbNiDE
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'config_dirs' => [
# '/tmp/o1fSUsuQ7B'
# ],
# 'output_file' => '/tmp/o1fSUsuQ7B/cliQ3fbNiDE',
# 'overwrite' => 1,
# 'read_config' => 1,
# 'read_env' => 0,
# 'script_name' => 'prog3',
# 'url' => '/Perinci/Examples/Tiny/noop2'
# }
# argv: []
# Script's stdout: <"a=101\nb=\nc=\nd=\ne="
# >
# Script's stderr: <>
ok 1 - exit_code
ok 2 - stdout_like
1..2
ok 14 - can also set common option
1..14
ok 18 - config file
# all tests successful, deleting tempdir /tmp/o1fSUsuQ7B
1..18
ok
All tests successful.
Files=4, Tests=20, 14 wallclock secs ( 0.11 usr 0.03 sys + 10.49 cusr 2.16 csys = 12.79 CPU)
Result: PASS
PERLANCAR/Perinci-CmdLine-Lite-1.71.tar.gz
make test TEST_VERBOSE=1 -- OK
perlancar <perlancar@gmail.com>
A Rinci/Riap-based command-line application framework
>>> (cd /data/fly2400/cpanfly-5.24/var/tmp/cpan_build/Perinci-CmdLine-Lite-1.71-adiwQ4 && tar cvf - Perinci-CmdLine-Lite-1.71.ppd blib) | gzip -c >/data/fly2400/cpanfly-5.24/var/REPO/P/PE/PERLANCAR/Perinci-CmdLine-Lite-1.71.tar.gz
Perinci-CmdLine-Lite-1.71.ppd
blib/
blib/man3/
blib/man3/Perinci::CmdLine::Lite.3
blib/man3/Perinci::CmdLine::Base.3
blib/lib/
blib/lib/auto/
blib/lib/auto/share/
blib/lib/auto/share/dist/
blib/lib/auto/share/dist/Perinci-CmdLine-Lite/
blib/lib/auto/share/dist/Perinci-CmdLine-Lite/templates/
blib/lib/auto/share/dist/Perinci-CmdLine-Lite/templates/description.txt
blib/lib/auto/share/dist/Perinci-CmdLine-Lite/templates/synopsis.txt
blib/lib/Perinci/
blib/lib/Perinci/CmdLine/
blib/lib/Perinci/CmdLine/Base.pm
blib/lib/Perinci/CmdLine/Lite.pm
VmSize: 356964 kB
Finished 2017-01-13T10:03:14