Results for builtins.test.sh

statusoshosh_.pyosh_.cc
pass 333329
FAIL 226
total353535
caseoshosh_.pyosh_.ccdescription
0pass pass pass exec builtin
1pass pass pass exec builtin with redirects
2pass pass pass exec builtin with here doc
3pass pass pass exec builtin accepts --
4pass pass pass exec -- 2>&1
5pass pass pass cd and $PWD
6FAIL FAIL FAIL cd BAD/..
detailsdetailsdetails
7pass pass pass $OLDPWD
8pass pass pass pwd
9pass pass pass pwd after cd ..
10pass pass pass pwd with symlink and -P
11pass pass pass setting $PWD doesn't affect the value of 'pwd' builtin
12pass pass pass unset PWD; then pwd
13pass pass pass 'unset PWD; pwd' before any cd (tickles a rare corner case)
14pass pass pass lie about PWD; pwd before any cd
15pass pass pass remove pwd dir
16pass pass pass pwd in symlinked dir on shell initialization
17pass pass pass Test the current directory after 'cd ..' involving symlinks
18pass pass pass cd with no arguments
19pass pass pass cd to nonexistent dir
20pass pass pass cd away from dir that was deleted
21pass pass pass cd permits double bare dash
22pass pass pass cd to symlink with -L and -P
23pass pass pass cd to relative path with -L and -P
24pass pass pass Exit out of function
25pass pass pass Exit builtin with invalid arg
26pass pass pass Exit builtin with too many args
27pass pass FAIL time block
details
28pass pass FAIL time pipeline
details
29pass pass pass shift
30pass pass pass Shifting too far
31pass pass pass Invalid shift argument
32pass pass FAIL get umask
details
33pass pass FAIL set umask in octal
details
34FAIL FAIL FAIL set umask symbolically
detailsdetailsdetails
95 passed, 0 OK, 0 not implemented, 0 BUG, 10 failed, 0 timeouts, 0 cases skipped
2 failed under osh

Details on runs that didn't PASS

osh6 cd BAD/..

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

stdout:
status=0
stderr:
osh_.py6 cd BAD/..

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

stdout:
status=0
stderr:
osh_.cc6 cd BAD/..

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

stdout:
status=0
stderr:
osh_.cc27 time block

[osh_.cc stdout] Expected 'user\n', got '0.00s user 0.00s system BUG cpu 0.000 total'
[osh_.cc status] Expected 0, got 1

stdout:
0.00s user 0.00s system BUG cpu 0.000 total
stderr:
osh_.cc28 time pipeline

[osh_.cc stdout] Expected '3\n', got '3\n0.00s user 0.00s system BUG cpu 0.000 total'

stdout:
3
0.00s user 0.00s system BUG cpu 0.000 total
stderr:
osh_.cc32 get umask

[osh_.cc status] Expected 0, got 1

stdout:
stderr: 
osh_eval.stripped: mycpp/leaky_mylib.cc:167: void mylib::BufWriter::format_o(int): Assertion `!"Not Implemented"' failed.
osh_.cc33 set umask in octal

[osh_.cc stdout] Expected u'664\n644\n', got '664\n664\n'
[osh_.cc stderr] Expected u'', got " umask 0002\n ^~~~~\n[ stdin ]:2: 'umask' umask: unexpected arguments\n umask 0022\n ^~~~~\n[ stdin ]:4: 'umask' umask: unexpected arguments\n"

stdout:
664
664
stderr:
  umask 0002
  ^~~~~
[ stdin ]:2: 'umask' umask: unexpected arguments
  umask 0022
  ^~~~~
[ stdin ]:4: 'umask' umask: unexpected arguments
osh34 set umask symbolically

[osh stdout] Expected '664\n644\n', got '664\n664\n'
[osh stderr] Expected u'', got "osh warning: umask with symbolic input isn't implemented\n"

stdout:
664
664
stderr:
osh warning: umask with symbolic input isn't implemented
osh_.py34 set umask symbolically

[osh_.py stdout] Expected '664\n644\n', got '664\n664\n'
[osh_.py stderr] Expected u'', got "osh warning: umask with symbolic input isn't implemented\n"

stdout:
664
664
stderr:
osh warning: umask with symbolic input isn't implemented
osh_.cc34 set umask symbolically

[osh_.cc stdout] Expected '664\n644\n', got '664\n664\n'
[osh_.cc stderr] Expected u'', got " umask 0002 # begin in a known state for the test\n ^~~~~\n[ stdin ]:1: 'umask' umask: unexpected arguments\nosh warning: umask with symbolic input isn't implemented\n"

stdout:
664
664
stderr:
  umask 0002  # begin in a known state for the test
  ^~~~~
[ stdin ]:1: 'umask' umask: unexpected arguments
osh warning: umask with symbolic input isn't implemented