Results for var-sub-quote.test.sh

casedashbashmkshoshosh_ALTosh-byterundescription
0pass pass pass pass pass FAIL "${empty:-}"
details
1pass pass pass pass pass FAIL ${empty:-}
details
2N-I pass N-I pass pass FAIL array with empty values
detailsdetailsdetails
3pass pass pass pass pass FAIL substitution of IFS character, quoted and unquoted
details
4pass pass pass pass pass FAIL :-
details
5pass pass pass pass pass FAIL -
details
6pass pass pass pass pass FAIL Inner single quotes
details
7pass pass pass pass pass FAIL Inner single quotes, outer double quotes
details
8pass pass pass pass pass FAIL Inner double quotes
details
9pass pass pass pass pass FAIL Inner double quotes, outer double quotes
details
10pass pass pass pass pass FAIL Multiple words: no quotes
details
11pass pass pass pass pass FAIL Multiple words: no outer quotes, inner single quotes
details
12pass pass pass pass pass FAIL Multiple words: no outer quotes, inner double quotes
details
13pass pass pass pass pass FAIL Multiple words: outer double quotes, no inner quotes
details
14pass pass pass pass pass FAIL Multiple words: outer double quotes, inner double quotes
details
15pass pass pass pass pass FAIL Multiple words: outer double quotes, inner single quotes
details
16pass pass pass pass pass FAIL Mixed inner quotes
details
17pass pass pass pass pass FAIL Mixed inner quotes with outer quotes
details
18pass pass pass pass pass FAIL part_value tree with multiple words
details
19pass pass pass pass pass FAIL part_value tree on RHS
details
20pass pass pass pass pass FAIL Var with multiple words: no quotes
details
21pass pass pass pass pass FAIL Multiple words: no outer quotes, inner single quotes
details
22pass pass pass pass pass FAIL Multiple words: no outer quotes, inner double quotes
details
23pass pass pass pass pass FAIL Multiple words: outer double quotes, no inner quotes
details
24pass pass pass pass pass FAIL Multiple words: outer double quotes, inner double quotes
details
25pass pass pass pass pass FAIL Multiple words: outer double quotes, inner single quotes
details
26pass pass pass pass pass FAIL No outer quotes, Multiple internal quotes
details
27pass pass pass pass pass FAIL Strip a string with single quotes, unquoted
details
28pass pass pass pass pass FAIL Strip a string with single quotes, double quoted
details
29pass pass pass pass pass FAIL The string to strip is space sensitive
details
30pass pass pass pass pass FAIL The string to strip can be single quoted, outer is unquoted
details
31pass BUG BUG pass pass FAIL Strip a string with single quotes, double quoted, with unescaped '
detailsdetailsdetails
32pass BUG BUG pass pass FAIL The string to strip can be single quoted, outer is double quoted
detailsdetailsdetails
33N-I pass pass pass pass FAIL $'' allowed within VarSub arguments
detailsdetails

163 passed, 0 ok, 3 known unimplemented, 4 known bugs, 0 failed, 0 skipped

Details on runs that didn't PASS

osh-byterun0 "${empty:-}"

[osh-byterun stdout] Expected "['']\n", got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
osh-byterun1 ${empty:-}

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

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
dash2 array with empty values

stdout:
stderr: 
_tmp/spec-bin/dash: 1: Syntax error: "(" unexpected
mksh2 array with empty values

stdout:
stderr: 
_tmp/spec-bin/mksh: <stdin>[1]: syntax error: '(' unexpected
osh-byterun2 array with empty values

[osh-byterun stdout] Expected "['', 'x', '', '']\n", got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
osh-byterun3 substitution of IFS character, quoted and unquoted

[osh-byterun stdout] Expected "['']\n[':']\n", got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
osh-byterun4 :-

[osh-byterun stdout] Expected "['a', 'b']\n", got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
osh-byterun5 -

[osh-byterun stdout] Expected "['b']\n", got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
osh-byterun6 Inner single quotes

[osh-byterun stdout] Expected "['b']\n", got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
osh-byterun7 Inner single quotes, outer double quotes

[osh-byterun stdout] Expected '["\'b\'"]\n', got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
osh-byterun8 Inner double quotes

[osh-byterun stdout] Expected "['b']\n", got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
osh-byterun9 Inner double quotes, outer double quotes

[osh-byterun stdout] Expected "['b']\n", got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
osh-byterun10 Multiple words: no quotes

[osh-byterun stdout] Expected "['a', 'b', 'c']\n", got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
osh-byterun11 Multiple words: no outer quotes, inner single quotes

[osh-byterun stdout] Expected "['a b c']\n", got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
osh-byterun12 Multiple words: no outer quotes, inner double quotes

[osh-byterun stdout] Expected "['a b c']\n", got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
osh-byterun13 Multiple words: outer double quotes, no inner quotes

[osh-byterun stdout] Expected "['a b c']\n", got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
osh-byterun14 Multiple words: outer double quotes, inner double quotes

[osh-byterun stdout] Expected "['a b c']\n", got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
osh-byterun15 Multiple words: outer double quotes, inner single quotes

[osh-byterun stdout] Expected '["\'a b c\'"]\n', got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
osh-byterun16 Mixed inner quotes

[osh-byterun stdout] Expected "['a b', 'c']\n", got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
osh-byterun17 Mixed inner quotes with outer quotes

[osh-byterun stdout] Expected "['a b c']\n", got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
osh-byterun18 part_value tree with multiple words

[osh-byterun stdout] Expected "['1 2', '3 45', '6 7']\n", got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
osh-byterun19 part_value tree on RHS

[osh-byterun stdout] Expected "['1 2 3 45 6 7']\n", got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
osh-byterun20 Var with multiple words: no quotes

[osh-byterun stdout] Expected "['a', 'b', 'c']\n", got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
osh-byterun21 Multiple words: no outer quotes, inner single quotes

[osh-byterun stdout] Expected "['$var']\n", got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
osh-byterun22 Multiple words: no outer quotes, inner double quotes

[osh-byterun stdout] Expected "['a b c']\n", got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
osh-byterun23 Multiple words: outer double quotes, no inner quotes

[osh-byterun stdout] Expected "['a b c']\n", got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
osh-byterun24 Multiple words: outer double quotes, inner double quotes

[osh-byterun stdout] Expected "['a b c']\n", got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
osh-byterun25 Multiple words: outer double quotes, inner single quotes

[osh-byterun stdout] Expected '["\'a b c\'"]\n', got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
osh-byterun26 No outer quotes, Multiple internal quotes

[osh-byterun stdout] Expected "['Aa', 'b', 'c', ' a b cD', 'E', 'F']\n", got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
osh-byterun27 Strip a string with single quotes, unquoted

[osh-byterun stdout] Expected '["\'a", \'b\', \'c\']\n', got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
osh-byterun28 Strip a string with single quotes, double quoted

[osh-byterun stdout] Expected '["\'a b c "]\n', got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
osh-byterun29 The string to strip is space sensitive

[osh-byterun stdout] Expected "['a b ', 'a b c d']\n", got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
osh-byterun30 The string to strip can be single quoted, outer is unquoted

[osh-byterun stdout] Expected "['a', 'b', 'a', 'b', 'c', 'd']\n", got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
bash31 Strip a string with single quotes, double quoted, with unescaped '

stdout:
stderr: 
_tmp/spec-bin/bash: line 2: unexpected EOF while looking for matching `''
_tmp/spec-bin/bash: line 3: syntax error: unexpected end of file
mksh31 Strip a string with single quotes, double quoted, with unescaped '

stdout:
stderr: 
_tmp/spec-bin/mksh: <stdin>[3]: no closing quote
osh-byterun31 Strip a string with single quotes, double quoted, with unescaped '

[osh-byterun stdout] Expected '["\'a b c "]\n', got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
bash32 The string to strip can be single quoted, outer is double quoted

stdout:
['a b ', 'a b c d']
stderr:
mksh32 The string to strip can be single quoted, outer is double quoted

stdout:
['a b ', 'a b c d']
stderr:
osh-byterun32 The string to strip can be single quoted, outer is double quoted

[osh-byterun stdout] Expected "['a b c d', 'a b c d']\n", got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
dash33 $'' allowed within VarSub arguments

stdout:
abc
abc
stderr:
osh-byterun33 $'' allowed within VarSub arguments

[osh-byterun stdout] Expected 'a\na\n', got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend