Results for alias.test.sh

statusoshosh_.pyosh_.cc
pass 414140
ok 555
FAIL 001
total464646
caseoshosh_.pyosh_.ccdescription
0pass pass pass Usage of builtins
1pass pass pass Basic alias
2pass pass pass define and use alias on a single line
3pass pass pass alias can override builtin
4pass pass pass defining multiple aliases, then unalias
5pass pass pass alias not defined
6pass pass pass unalias not defined
7pass pass pass listing given aliases
8pass pass pass alias without args lists all aliases
9pass pass pass unalias without args is a usage error
10pass pass pass alias with trailing space causes alias expansion on second word
11pass pass pass Recursive alias expansion of first word
12pass pass pass Recursive alias expansion of SECOND word
13pass pass pass Expansion of alias with variable
14pass pass pass Alias must be an unquoted word, no expansions allowed
15pass pass pass first and second word are the same alias, but no trailing space
16pass pass pass first and second word are the same alias, with trailing space
17pass pass pass Invalid syntax of alias
18pass pass pass Dynamic alias definition
19pass pass pass Alias name with punctuation
20pass pass pass Syntax error after expansion
21pass pass pass Loop split across alias and arg works
22ok ok ok Loop split across alias in another way
detailsdetailsdetails
23ok ok ok Loop split across both iterative and recursive aliases
detailsdetailsdetails
24pass pass pass Alias with a quote in the middle is a syntax error
25pass pass pass Alias with internal newlines
26pass pass pass Alias trailing newline
27pass pass pass Two aliases in pipeline
28pass pass pass Alias not respected inside $()
29pass pass pass Alias can be defined and used on a single line
30pass pass pass Alias is respected inside eval
31pass pass pass alias with redirects works
32pass pass FAIL alias with environment bindings works
details
33pass pass pass alias with line continuation in the middle
34ok ok ok alias for left brace
detailsdetailsdetails
35ok ok ok alias for left paren
detailsdetailsdetails
36pass pass pass alias used in subshell and command sub
37pass pass pass alias used in here doc
38pass pass pass here doc inside alias
39pass pass pass Corner case: alias inside LHS array arithmetic expression
40pass pass pass Alias that is pipeline
41pass pass pass Alias that is && || ;
42pass pass pass Alias and command sub (bug regression)
43pass pass pass Alias and arithmetic
44pass pass pass Alias and PS4
45ok ok ok alias with keywords
detailsdetailsdetails
122 passed, 15 OK, 0 not implemented, 0 BUG, 1 failed, 0 timeouts, 0 cases skipped

Details on runs that didn't PASS

osh22 Loop split across alias in another way

stdout:
stderr: 
  for i in 1 2 3; do echo $i
                             ^
[ expansion of alias 'e_' ]:1: Expected word type Id.KW_Done, got Id.Eof_Real
osh_.py22 Loop split across alias in another way

stdout:
stderr: 
  for i in 1 2 3; do echo $i
                             ^
[ expansion of alias 'e_' ]:1: Expected word type Id.KW_Done, got Id.Eof_Real
osh_.cc22 Loop split across alias in another way

stdout:
stderr: 
  for i in 1 2 3; do echo $i
                             ^
[ expansion of alias 'e_' ]:1: dynamic_fmt_dummy
osh23 Loop split across both iterative and recursive aliases

stdout:
stderr: 
  for i in $one "2" 3
                      ^
[ expansion of alias 'FOR1' ]:1: Invalid word in for loop
osh_.py23 Loop split across both iterative and recursive aliases

stdout:
stderr: 
  for i in $one "2" 3
                      ^
[ expansion of alias 'FOR1' ]:1: Invalid word in for loop
osh_.cc23 Loop split across both iterative and recursive aliases

stdout:
stderr: 
  for i in $one "2" 3
                      ^
[ expansion of alias 'FOR1' ]:1: Invalid word in for loop
osh_.cc32 alias with environment bindings works

[osh_.cc stdout] Expected '1\n2\n', got 'None\nNone\n'

stdout:
None
None
stderr:
osh34 alias for left brace

stdout:
stderr: 
  { echo one
             ^
[ expansion of alias 'LEFT' ]:1: Expected word type Id.Lit_RBrace, got Id.Eof_Real
osh_.py34 alias for left brace

stdout:
stderr: 
  { echo one
             ^
[ expansion of alias 'LEFT' ]:1: Expected word type Id.Lit_RBrace, got Id.Eof_Real
osh_.cc34 alias for left brace

stdout:
stderr: 
  { echo one
             ^
[ expansion of alias 'LEFT' ]:1: dynamic_fmt_dummy
osh35 alias for left paren

stdout:
stderr: 
  ( echo one
             ^
[ expansion of alias 'LEFT' ]:1: Expected word type Id.Right_Subshell, got Id.Eof_Real
osh_.py35 alias for left paren

stdout:
stderr: 
  ( echo one
             ^
[ expansion of alias 'LEFT' ]:1: Expected word type Id.Right_Subshell, got Id.Eof_Real
osh_.cc35 alias for left paren

stdout:
stderr: 
  ( echo one
             ^
[ expansion of alias 'LEFT' ]:1: dynamic_fmt_dummy
osh45 alias with keywords

stdout:
stderr: 
  
   ^
[ expansion of alias 'a' ]:1: Unexpected EOF while parsing command
osh_.py45 alias with keywords

stdout:
stderr: 
  
   ^
[ expansion of alias 'a' ]:1: Unexpected EOF while parsing command
osh_.cc45 alias with keywords

stdout:
stderr: 
   
   ^
[ expansion of alias 'a' ]:1: Unexpected EOF while parsing command