Results for builtins2.test.sh

statusoshosh-cpp
pass 1212
FAIL 11
total1313
caseoshosh-cppdescription
0pass pass command -v
1pass pass command -v with multiple names
2pass pass command -v doesn't find non-executable file
3pass pass command skips function lookup
4pass pass command command seq 3
5pass pass command command -v seq
6pass pass history usage
7FAIL FAIL history -d to delete history item
detailsdetails
8pass pass $(command type ls)
9pass pass builtin
10pass pass builtin ls not found
11pass pass builtin no args
12pass pass builtin command echo hi
24 passed, 0 OK, 0 not implemented, 0 BUG, 2 failed, 0 timeouts, 0 cases skipped
1 failed under osh

Details on runs that didn't PASS

osh7 history -d to delete history item

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

stdout:
status=2
status=2
status=2
stderr:
  history -d 1
  ^~~~~~~
[ stdin ]:3: 'history' couldn't find item 1
  history -d -1
             ^~
[ stdin ]:6: 'history' got invalid integer for -d: -1
  history -d -2
             ^~
[ stdin ]:8: 'history' got invalid integer for -d: -2
osh-cpp7 history -d to delete history item

[osh-cpp stdout] Expected 'status=0\nstatus=1\nstatus=1\n', got 'status=0\nstatus=2\nstatus=2\n'

stdout:
status=0
status=2
status=2
stderr:
  history -d -1
             ^~
[ stdin ]:6: 'history' got invalid integer for -d: -1
  history -d -2
             ^~
[ stdin ]:8: 'history' got invalid integer for -d: -2