spec test index / oilshell.org
90 passed, 0 OK, 0 not implemented, 0 BUG, 3 failed, 0 timeouts, 0 cases skipped 3 failed under osh
osh | 0 complete with no args and complete -p both print completion spec [osh stdout] Expected "complete -W 'foo bar' mycommand\ncomplete -W 'foo bar' mycommand\ncomplete -F myfunc other\n" Got '' [osh status] Expected 0, got 2 stdout: stderr: [Commands] __fallback: ( ) actions: FileSystemAction extra: else: predicate: DefaultPredicate prefix: suffix: __first: ( ) actions: FixedWordsAction DynamicStrDictAction DynamicProcDictAction FixedWordsAction FileSystemAction ExternalCommandAction extra: else: predicate: DefaultPredicate prefix: suffix: [Patterns] complete -p ^~ [ stdin ]:7: 'complete' got invalid flag '-p' |
osh-cpp | 0 complete with no args and complete -p both print completion spec [osh-cpp stdout] Expected "complete -W 'foo bar' mycommand\ncomplete -W 'foo bar' mycommand\ncomplete -F myfunc other\n" Got '' [osh-cpp status] Expected 0, got 2 stdout: stderr: [Commands] __fallback: ( ) actions: FileSystemAction extra: else: predicate: DefaultPredicate prefix: suffix: __first: ( ) actions: FixedWordsAction DynamicStrDictAction DynamicProcDictAction FixedWordsAction FileSystemAction ExternalCommandAction extra: else: predicate: DefaultPredicate prefix: suffix: [Patterns] complete -p ^~ [ stdin ]:7: 'complete' got invalid flag '-p' |
osh | 44 Runtime errors for compgen -F func [osh stdout] Expected 'status=1\n', got 'foo\nbar\nstatus=0\n' stdout: foo bar status=0stderr: COMPREPLY+=( $(( 1 / 0 )) ) # FATAL, but we still have candidates ^ [ stdin ]:3: Divide by zero |
osh-cpp | 44 Runtime errors for compgen -F func [osh-cpp stdout] Expected 'status=1\n', got 'foo\nbar\nstatus=0\n' stdout: foo bar status=0stderr: COMPREPLY+=( $(( 1 / 0 )) ) # FATAL, but we still have candidates ^ [ stdin ]:3: Divide by zero |
osh | 47 complete -C vs. compgen -C [osh stdout] Expected 'foo\nbar\ncompgen=0\ncomplete=0\n', got 'compgen=1\ncomplete=0\n' stdout: compgen=1 complete=0stderr: osh warning: complete -C not implemented osh warning: complete -C not implemented |
osh-cpp | 47 complete -C vs. compgen -C [osh-cpp stdout] Expected 'foo\nbar\ncompgen=0\ncomplete=0\n', got 'compgen=1\ncomplete=0\n' stdout: compgen=1 complete=0stderr: osh warning: complete -C not implemented osh warning: complete -C not implemented |