Results for ysh-stdlib-args.test.sh

statusysh
pass 4
FAIL 1
total5
caseyshdescription
0pass Argparse bool option and positional
1FAIL Argparse basic help message
details
2pass Parse args using a JSON argspec
3pass Args spec definitions
4pass Args spec definitions driving argument parser
4 passed, 0 OK, 0 not implemented, 0 BUG, 1 failed, 0 timeouts, 0 cases skipped
1 failed under osh

Details on runs that didn't PASS

ysh1 Argparse basic help message

[ysh stdout] Expected 'usage: program-name [-h] [-v] src dst\n\nReference Implementation\n\npositional arguments:\n src\n dst\n\noptions:\n -h, --help show this help message and exit\n -v, --verbose Verbose\n' Got ''
[ysh status] Expected 0, got 1

stdout:
stderr: 
    arg -v --verbose (Bool, help = "Verbose")
                      ^~~~
[ stdin ]:9: fatal: Undefined variable 'Bool'
    eval (block) | while read line {
    ^~~~
stdlib/args.ysh:55: errexit PID 14133: command.Pipeline failed with status 1