Results for loop.test.sh

casedashbashmkshzshoshosh_ALTosh-byterundescription
0pass pass pass pass pass pass FAIL implicit for loop
details
1pass pass pass pass pass pass FAIL empty for loop (has "in")
details
2pass ok ok BUG pass pass FAIL for loop with invalid identifier
detailsdetailsdetailsdetails
3pass pass pass pass pass pass FAIL Tilde expansion within for loop
details
4N-I pass pass pass pass pass FAIL Brace Expansion within Array
detailsdetails
5pass pass pass pass pass pass FAIL using loop var outside loop
details
6pass pass pass pass pass pass FAIL continue
details
7pass pass pass pass pass pass FAIL break
details
8pass pass pass pass pass pass FAIL while in while condition
details
9pass pass pass pass pass pass FAIL while in pipe
details
10pass pass pass pass pass pass FAIL while in pipe with subshell
details
11pass pass pass pass pass pass FAIL until loop
details
12pass pass pass ok pass pass FAIL continue at top level
detailsdetails
13pass pass BUG pass FAIL FAIL FAIL continue in subshell
detailsdetailsdetailsdetails

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

Details on runs that didn't PASS

osh-byterun0 implicit for loop

[osh-byterun stdout] Expected u'1\n2\n3\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 empty for loop (has "in")

[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
bash2 for loop with invalid identifier

stdout:
stderr: 
_tmp/spec-bin/bash: line 3: `-': not a valid identifier
mksh2 for loop with invalid identifier

stdout:
stderr: 
_tmp/spec-bin/mksh: <stdin>[1]: for: bad identifier
zsh2 for loop with invalid identifier

stdout:
hi
stderr:
zsh: parse error near `-'
zsh: parse error near `done'
osh-byterun2 for loop with invalid identifier

[osh-byterun status] Expected 2, 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-byterun3 Tilde expansion within for loop

[osh-byterun stdout] Expected u'/home/bob/src\n/home/bob/git\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
dash4 Brace Expansion within Array

stdout:
-{a,b}
{c,d}-
stderr:
osh-byterun4 Brace Expansion within Array

[osh-byterun stdout] Expected u'-a\n-b\nc-\nd-\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-byterun5 using loop var outside loop

[osh-byterun stdout] Expected u'a\nb\nc\nc\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-byterun6 continue

[osh-byterun stdout] Expected u'a\na\nb\nc\nc\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-byterun7 break

[osh-byterun stdout] Expected u'a\nb\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-byterun8 while in while condition

[osh-byterun stdout] Expected u'cond\nbody\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 while in pipe

[osh-byterun stdout] Expected 'status=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 while in pipe with subshell

[osh-byterun stdout] Expected '2\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 until loop

[osh-byterun stdout] Expected '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
zsh12 continue at top level

stdout:
one
stderr:
continue: not in while, until, select, or repeat loop
osh-byterun12 continue at top level

[osh-byterun stdout] Expected 'one\ntwo\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
mksh13 continue in subshell

stdout:
> 1
Should not print
. 1
> 2
Should not print
. 2
> 3
Should not print
. 3
stderr:
_tmp/spec-bin/mksh: <stdin>[5]: continue: can't continue
_tmp/spec-bin/mksh: <stdin>[5]: continue: can't continue
_tmp/spec-bin/mksh: <stdin>[5]: continue: can't continue
osh13 continue in subshell

[osh stdout] Expected '> 1\n. 1\n> 2\n. 2\n> 3\n. 3\n', got '> 1\n> 2\n> 3\n. 3\n. 2\n> 3\n. 3\n. 1\n> 2\n> 3\n. 3\n. 2\n> 3\n. 3\n'

stdout:
> 1
> 2
> 3
. 3
. 2
> 3
. 3
. 1
> 2
> 3
. 3
. 2
> 3
. 3
stderr:
osh_ALT13 continue in subshell

[osh_ALT stdout] Expected '> 1\n. 1\n> 2\n. 2\n> 3\n. 3\n', got '> 1\n> 2\n> 3\n. 3\n. 2\n> 3\n. 3\n. 1\n> 2\n> 3\n. 3\n. 2\n> 3\n. 3\n'

stdout:
> 1
> 2
> 3
. 3
. 2
> 3
. 3
. 1
> 2
> 3
. 3
. 2
> 3
. 3
stderr:
osh-byterun13 continue in subshell

[osh-byterun stdout] Expected '> 1\n. 1\n> 2\n. 2\n> 3\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