Results for smoke.test.sh

statusoshosh_.pyosh_.cc
pass 1896
FAIL 0912
total181818
caseoshosh_.pyosh_.ccdescription
0pass pass pass builtin
1pass FAIL FAIL command sub
detailsdetails
2pass pass FAIL command sub with builtin
details
3pass FAIL FAIL pipeline
detailsdetails
4pass FAIL FAIL pipeline with builtin
detailsdetails
5pass pass pass and-or chains
6pass FAIL FAIL here doc with var
detailsdetails
7pass FAIL FAIL here doc without var
detailsdetails
8pass pass FAIL here doc with builtin
details
9pass FAIL FAIL Redirect external command
detailsdetails
10pass pass FAIL Redirect with builtin
details
11pass FAIL FAIL Here doc with redirect
detailsdetails
12pass FAIL FAIL "$@" "$*"
detailsdetails
13pass FAIL FAIL $@ $*
detailsdetails
14pass pass pass failed command
15pass pass pass subshell
16pass pass pass for loop
17pass pass pass vars
33 passed, 0 OK, 0 not implemented, 0 BUG, 21 failed, 0 timeouts, 0 cases skipped

Details on runs that didn't PASS

osh_.py1 command sub

[osh_.py stdout] Expected '3\n', got '\n'

stdout:
stderr: 
  echo $(expr 3)
         ^~~~
[ stdin ]:1: 'expr' not found
osh_.cc1 command sub

[osh_.cc stdout] Expected '3\n', got ''
[osh_.cc status] Expected 0, got -6

stdout:
stderr: 
osh_eval.dbg: cpp/posix.h:106: Tuple2<int, int> posix::pipe(): Assertion `0' failed.
osh_.cc2 command sub with builtin

[osh_.cc stdout] Expected 'hi\n', got ''
[osh_.cc status] Expected 0, got -6

stdout:
stderr: 
osh_eval.dbg: cpp/posix.h:106: Tuple2<int, int> posix::pipe(): Assertion `0' failed.
osh_.py3 pipeline

[osh_.py stdout] Expected '1\n', got ''
[osh_.py status] Expected 0, got 127

stdout:
stderr: 
  hostname | wc -l
             ^~
[ stdin ]:1: 'wc' not found
osh_.cc3 pipeline

[osh_.cc stdout] Expected '1\n', got ''
[osh_.cc status] Expected 0, got -6

stdout:
stderr: 
osh_eval.dbg: cpp/posix.h:106: Tuple2<int, int> posix::pipe(): Assertion `0' failed.
osh_.py4 pipeline with builtin

[osh_.py stdout] Expected '1\n', got ''
[osh_.py status] Expected 0, got 127

stdout:
stderr: 
  echo hi | wc -l
            ^~
[ stdin ]:1: 'wc' not found
osh_.cc4 pipeline with builtin

[osh_.cc stdout] Expected '1\n', got ''
[osh_.cc status] Expected 0, got -6

stdout:
stderr: 
osh_eval.dbg: cpp/posix.h:106: Tuple2<int, int> posix::pipe(): Assertion `0' failed.
osh_.py6 here doc with var

[osh_.py stdout] Expected u'"two\none\n', got ''
[osh_.py status] Expected 0, got 127

stdout:
stderr: 
  tac <<EOF
  ^~~
[ stdin ]:2: 'tac' not found
osh_.cc6 here doc with var

[osh_.cc stdout] Expected u'"two\none\n', got ''
[osh_.cc status] Expected 0, got -6

stdout:
stderr: 
osh_eval.dbg: cpp/posix.h:106: Tuple2<int, int> posix::pipe(): Assertion `0' failed.
osh_.py7 here doc without var

[osh_.py stdout] Expected u'"two\n$v\n', got ''
[osh_.py status] Expected 0, got 127

stdout:
stderr: 
  tac <<"EOF"
  ^~~
[ stdin ]:1: 'tac' not found
osh_.cc7 here doc without var

[osh_.cc stdout] Expected u'"two\n$v\n', got ''
[osh_.cc status] Expected 0, got -6

stdout:
stderr: 
osh_eval.dbg: cpp/posix.h:106: Tuple2<int, int> posix::pipe(): Assertion `0' failed.
osh_.cc8 here doc with builtin

[osh_.cc stdout] Expected 'var = value\n', got ''
[osh_.cc status] Expected 0, got -6

stdout:
stderr: 
osh_eval.dbg: cpp/posix.h:106: Tuple2<int, int> posix::pipe(): Assertion `0' failed.
osh_.py9 Redirect external command

[osh_.py stdout] Expected '3\n', got ''
[osh_.py stderr] Expected u'', got " expr 3 > $TMP/expr3.txt\n ^\n[ stdin ]:1: Can't open '/expr3.txt': Permission denied\ncat: /expr3.txt: No such file or directory\n"
[osh_.py status] Expected 0, got 1

stdout:
stderr: 
  expr 3 > $TMP/expr3.txt
         ^
[ stdin ]:1: Can't open '/expr3.txt': Permission denied
cat: /expr3.txt: No such file or directory
osh_.cc9 Redirect external command

[osh_.cc stdout] Expected '3\n', got ''
[osh_.cc stderr] Expected u'', got "osh_eval.dbg: cpp/posix.h:143: void posix::dup2(int, int): Assertion `0' failed.\n"
[osh_.cc status] Expected 0, got -6

stdout:
stderr: 
osh_eval.dbg: cpp/posix.h:143: void posix::dup2(int, int): Assertion `0' failed.
osh_.cc10 Redirect with builtin

[osh_.cc stdout] Expected 'hi\n', got ''
[osh_.cc status] Expected 0, got -6

stdout:
stderr: 
osh_eval.dbg: cpp/posix.h:143: void posix::dup2(int, int): Assertion `0' failed.
osh_.py11 Here doc with redirect

[osh_.py stdout] Expected '8 _tmp/smoke1.txt\n', got ''
[osh_.py status] Expected 0, got 127

stdout:
stderr: 
  wc -c _tmp/smoke1.txt
  ^~
[ stdin ]:5: 'wc' not found
osh_.cc11 Here doc with redirect

[osh_.cc stdout] Expected '8 _tmp/smoke1.txt\n', got ''
[osh_.cc status] Expected 0, got -6

stdout:
stderr: 
osh_eval.dbg: cpp/posix.h:106: Tuple2<int, int> posix::pipe(): Assertion `0' failed.
osh_.py12 "$@" "$*"

[osh_.py stdout] Expected "['a b', 'c d', 'a b c d']\n", got ''
[osh_.py status] Expected 0, got 127

stdout:
stderr: 
    argv.py "$@" "$*"
    ^~~~~~~
[ stdin ]:2: 'argv.py' not found
osh_.cc12 "$@" "$*"

[osh_.cc stdout] Expected "['a b', 'c d', 'a b c d']\n", got ''
[osh_.cc status] Expected 0, got 127

stdout:
stderr: 
    argv.py "$@" "$*"
    ^~~~~~~
[ stdin ]:2: 'argv.py' not found
osh_.py13 $@ $*

[osh_.py stdout] Expected "['a', 'b', 'c', 'd', 'a', 'b', 'c', 'd']\n", got ''
[osh_.py status] Expected 0, got 127

stdout:
stderr: 
    argv.py $@ $*
    ^~~~~~~
[ stdin ]:2: 'argv.py' not found
osh_.cc13 $@ $*

[osh_.cc stdout] Expected "['a', 'b', 'c', 'd', 'a', 'b', 'c', 'd']\n", got ''
[osh_.cc status] Expected 0, got 127

stdout:
stderr: 
    argv.py $@ $*
    ^~~~~~~
[ stdin ]:2: 'argv.py' not found