Results for prompt.test.sh

statusoshosh-cpp
pass 2424
ok 11
total2525
caseoshosh-cppdescription
0pass pass sh -i
1pass pass \[\] are non-printing
2pass pass literal escapes
3pass pass special case for $
4pass pass PS1 evaluation order
5pass pass PS1 evaluation order 2
6pass pass \1004
7pass pass \001 octal literals are supported
8pass pass \555 is beyond max octal byte of \377 and wrapped to m
9pass pass \x55 hex literals not supported
10pass pass Single backslash
11pass pass Escaped backslash
12pass pass \0001 octal literals are not supported
13pass pass \u0001 unicode literals not supported
14pass pass constant string
15pass pass hostname
16pass pass username
17pass pass current working dir
18pass pass \W is basename of working dir
19pass pass \A for 24 hour time
20pass pass \D{%H:%M} for strftime
21pass pass \D{} for locale specific strftime
22pass pass \s and \v for shell and version
23ok ok @P with array
detailsdetails
24pass pass default PS1
48 passed, 2 OK, 0 not implemented, 0 BUG, 0 failed, 0 timeouts, 0 cases skipped

Details on runs that didn't PASS

osh23 @P with array

stdout:
status=1
status=1
x
status=0
stderr:
  echo ${@@P}
  ^~~~
[ -c flag ]:1: fatal: Can't use @P on value.MaybeStrArray
  echo ${*@P}
  ^~~~
[ -c flag ]:1: fatal: Can't use @P on value.MaybeStrArray
osh-cpp23 @P with array

stdout:
status=1
status=1
x
status=0
stderr:
  echo ${@@P}
  ^~~~
[ -c flag ]:1: fatal: Can't use @P on value.MaybeStrArray
  echo ${*@P}
  ^~~~
[ -c flag ]:1: fatal: Can't use @P on value.MaybeStrArray