Results for pipeline.test.sh

casedashbashmkshzshoshosh_ALTosh-byterundescription
0pass pass pass pass pass pass FAIL Brace group in pipeline
details
1pass pass pass pass pass pass FAIL For loop starts pipeline
details
2pass pass pass pass pass pass FAIL While Loop ends pipeline
details
3pass pass pass BUG pass pass FAIL Redirect in Pipeline
detailsdetails
4pass pass pass pass pass pass FAIL Pipeline comments
details
5pass pass pass pass pass pass pass Exit code is last status
6N-I pass pass N-I pass pass FAIL PIPESTATUS
detailsdetailsdetails
7N-I pass pass N-I pass pass FAIL PIPESTATUS with shopt -s lastpipe
detailsdetailsdetails
8N-I pass N-I pass FAIL FAIL FAIL |&
detailsdetailsdetailsdetailsdetails
9pass pass pass pass pass pass FAIL ! turns non-zero into zero
details
10pass pass pass pass pass pass FAIL ! turns zero into 1
details
11pass pass pass pass pass pass FAIL ! in if
details
12pass pass pass pass pass pass FAIL ! with ||
details
13pass pass pass pass pass pass FAIL ! with { }
details
14pass pass pass pass pass pass FAIL ! with ( )
details
15pass pass pass pass pass pass FAIL ! is not a command
details
16pass pass pass BUG pass pass FAIL Evaluation of argv[0] in pipeline occurs in child
detailsdetails
17ok ok ok pass pass pass FAIL bash/dash/mksh run the last command is run in its own process
detailsdetailsdetailsdetails
18N-I pass N-I pass pass pass FAIL shopt -s lastpipe (always on in OSH)
detailsdetailsdetails
19N-I pass N-I pass pass pass FAIL shopt -s lastpipe (always on in OSH)
detailsdetailsdetails

104 passed, 3 ok, 10 known unimplemented, 2 known bugs, 1 failed, 0 skipped

Details on runs that didn't PASS

osh-byterun0 Brace group in pipeline

[osh-byterun stdout] Expected u'two\none\n', got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
osh-byterun1 For loop starts pipeline

[osh-byterun stdout] Expected u'two\none\n', got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
osh-byterun2 While Loop ends pipeline

[osh-byterun stdout] Expected u'.1\n.2\n.3\n', got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
zsh3 Redirect in Pipeline

stdout:
1
stderr:
hi
osh-byterun3 Redirect in Pipeline

[osh-byterun stdout] Expected '0\n', got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
osh-byterun4 Pipeline comments

[osh-byterun stdout] Expected 'ABCD\n', got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
dash6 PIPESTATUS

stdout:
stderr: 
_tmp/spec-bin/dash: 5: Bad substitution
zsh6 PIPESTATUS

stdout:
stderr: 
osh-byterun6 PIPESTATUS

[osh-byterun stdout] Expected '1 2 3\n', got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
dash7 PIPESTATUS with shopt -s lastpipe

stdout:
stderr: 
_tmp/spec-bin/dash: 1: shopt: not found
_tmp/spec-bin/dash: 6: Bad substitution
zsh7 PIPESTATUS with shopt -s lastpipe

stdout:
stderr: 
zsh: command not found: shopt
osh-byterun7 PIPESTATUS with shopt -s lastpipe

[osh-byterun stdout] Expected '1 2 3\n', got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
dash8 |&

stdout:
stderr: 
_tmp/spec-bin/dash: 1: Syntax error: "&" unexpected
mksh8 |&

stdout:
stderr: 
STDERR
close failed in file object destructor:
sys.excepthook is missing
lost sys.stderr
osh8 |&

[osh stdout] Expected u'STDERR\nSTDOUT\n', got ''
[osh status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/oil.py", line 783, in <module>
    main(sys.argv)
  File "/home/andy/git/oilshell/oil/bin/oil.py", line 752, in main
    sys.exit(AppBundleMain(argv))
  File "/home/andy/git/oilshell/oil/bin/oil.py", line 726, in AppBundleMain
    status = ShellMain('osh', argv0, main_argv, login_shell)
  File "/home/andy/git/oilshell/oil/bin/oil.py", line 558, in ShellMain
    status = main_loop.Batch(ex, c_parser, arena, nodes_out=nodes_out)
  File "/home/andy/git/oilshell/oil/core/main_loop.py", line 162, in Batch
    is_control_flow, is_fatal = ex.ExecuteAndCatch(node)
  File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1236, in ExecuteAndCatch
    status = self._Execute(node, fork_external=fork_external)
  File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1184, in _Execute
    status, check_errexit = self._Dispatch(node, fork_external)
  File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 758, in _Dispatch
    raise NotImplementedError('|&')
NotImplementedError: |&
osh_ALT8 |&

[osh_ALT stdout] Expected u'STDERR\nSTDOUT\n', got ''
[osh_ALT status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/oil.py", line 770, in _cpython_main_hook
    main(sys.argv)
  File "/home/andy/git/oilshell/oil/bin/oil.py", line 752, in main
    sys.exit(AppBundleMain(argv))
  File "/home/andy/git/oilshell/oil/bin/oil.py", line 745, in AppBundleMain
    return readlink.main(main_argv)
  File "/home/andy/git/oilshell/oil/bin/oil.py", line 558, in ShellMain
    status = main_loop.Batch(ex, c_parser, arena, nodes_out=nodes_out)
  File "/home/andy/git/oilshell/oil/core/main_loop.py", line 169, in Batch
    return ex.LastStatus()
  File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1236, in ExecuteAndCatch
    status = self._Execute(node, fork_external=fork_external)
  File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1184, in _Execute
    status, check_errexit = self._Dispatch(node, fork_external)
  File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1129, in _Dispatch
    libc.print_time(real, user, sys_)
NotImplementedError: |&
FATAL: couldn't import from app bundle '_tmp/oil-tar-test/oil-0.6.pre17/_bin/osh' (1)
Stripping the oil.ovm binary may cause this error.
See https://github.com/oilshell/oil/issues/47
osh-byterun8 |&

[osh-byterun stdout] Expected u'STDERR\nSTDOUT\n', got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
osh-byterun9 ! turns non-zero into zero

[osh-byterun stdout] Expected '0\n', got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
osh-byterun10 ! turns zero into 1

[osh-byterun stdout] Expected '1\n', got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
osh-byterun11 ! in if

[osh-byterun stdout] Expected u'hi\nFALSE\n', got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
osh-byterun12 ! with ||

[osh-byterun stdout] Expected u'hi\nFAILED\n', got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
osh-byterun13 ! with { }

[osh-byterun stdout] Expected u'1\n2\nFAILED\n', got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
osh-byterun14 ! with ( )

[osh-byterun stdout] Expected u'1\n2\nFAILED\n', got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
osh-byterun15 ! is not a command

[osh-byterun status] Expected 127, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
zsh16 Evaluation of argv[0] in pipeline occurs in child

stdout:
1
cmd=echo
stderr:
osh-byterun16 Evaluation of argv[0] in pipeline occurs in child

[osh-byterun stdout] Expected '1\ncmd=\n', got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
dash17 bash/dash/mksh run the last command is run in its own process

stdout:
line=
stderr:
bash17 bash/dash/mksh run the last command is run in its own process

stdout:
line=
stderr:
mksh17 bash/dash/mksh run the last command is run in its own process

stdout:
line=
stderr:
osh-byterun17 bash/dash/mksh run the last command is run in its own process

[osh-byterun stdout] Expected 'line=hi\n', got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
dash18 shopt -s lastpipe (always on in OSH)

stdout:
line=
stderr:
_tmp/spec-bin/dash: 1: shopt: not found
mksh18 shopt -s lastpipe (always on in OSH)

stdout:
line=
stderr:
_tmp/spec-bin/mksh: <stdin>[1]: shopt: not found
osh-byterun18 shopt -s lastpipe (always on in OSH)

[osh-byterun stdout] Expected 'line=hi\n', got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
dash19 shopt -s lastpipe (always on in OSH)

stdout:
i=0
stderr:
_tmp/spec-bin/dash: 1: shopt: not found
_tmp/spec-bin/dash: 4: i++: not found
_tmp/spec-bin/dash: 4: i++: not found
_tmp/spec-bin/dash: 4: i++: not found
mksh19 shopt -s lastpipe (always on in OSH)

stdout:
i=0
stderr:
_tmp/spec-bin/mksh: <stdin>[1]: shopt: not found
osh-byterun19 shopt -s lastpipe (always on in OSH)

[osh-byterun stdout] Expected 'i=3\n', got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend