86 passed, 0 ok, 0 known unimplemented, 3 known bugs, 11 failed, 0 skipped
| osh | 2 Inner single quotes [osh stdout] Expected b"['b']\n", got b'["\'b\'"]\n' stdout: ["'b'"]stderr: |
| osh | 6 Multiple words: no quotes [osh stdout] Expected b"['a', 'b', 'c']\n", got b"['a b c']\n" stdout: ['a b c']stderr: |
| osh | 7 Multiple words: no outer quotes, inner single quotes [osh stdout] Expected b"['a b c']\n", got b'["\'a b c\'"]\n' stdout: ["'a b c'"]stderr: |
| osh | 12 Var with multiple words: no quotes [osh stdout] Expected b"['a', 'b', 'c']\n", got b"['a b c']\n" stdout: ['a b c']stderr: |
| osh | 18 No outer quotes, Multiple internal quotes [osh stdout] Expected b"['Aa', 'b', 'c', ' a b cD', 'E', 'F']\n", got b"['Aa b c a b cD E F']\n" stdout: ['Aa b c a b cD E F']stderr: |
| osh | 19 Strip a string with single quotes, unquoted [osh stdout] Expected b'["\'a", \'b\', \'c\']\n', got b'' stdout: stderr: Traceback (most recent call last):
File "bin/osh", line 378, in <module>
sys.exit(main(sys.argv))
File "bin/osh", line 368, in main
return OshMain(main_argv)
File "bin/osh", line 327, in OshMain
status = ex.Execute(node)
File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 900, in Execute
status = self._Execute(node)
File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 791, in _Execute
status = self._Execute(child) # last status wins
File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 677, in _Execute
argv = self.ev.EvalWords(words)
File "/home/andy/git/oil/bin/../core/word_eval.py", line 769, in EvalWords
return self._EvalWords(words)
File "/home/andy/git/oil/bin/../core/word_eval.py", line 759, in _EvalWords
val = self._EvalCompoundWord(w, ifs=ifs, do_glob=do_glob)
File "/home/andy/git/oil/bin/../core/word_eval.py", line 455, in _EvalCompoundWord
val = self._EvalWordPart(p, quoted=False) # may raise
File "/home/andy/git/oil/bin/../core/word_eval.py", line 691, in _EvalWordPart
defined, val = self._ApplyVarOps(defined, val, part)
File "/home/andy/git/oil/bin/../core/word_eval.py", line 383, in _ApplyVarOps
print(op.words)
AttributeError: 'StringUnary' object has no attribute 'words'
|
| osh | 20 Strip a string with single quotes, double quoted [osh stdout] Expected b'["\'a b c "]\n', got b'' stdout: stderr: Traceback (most recent call last):
File "bin/osh", line 378, in <module>
sys.exit(main(sys.argv))
File "bin/osh", line 368, in main
return OshMain(main_argv)
File "bin/osh", line 327, in OshMain
status = ex.Execute(node)
File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 900, in Execute
status = self._Execute(node)
File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 791, in _Execute
status = self._Execute(child) # last status wins
File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 677, in _Execute
argv = self.ev.EvalWords(words)
File "/home/andy/git/oil/bin/../core/word_eval.py", line 769, in EvalWords
return self._EvalWords(words)
File "/home/andy/git/oil/bin/../core/word_eval.py", line 759, in _EvalWords
val = self._EvalCompoundWord(w, ifs=ifs, do_glob=do_glob)
File "/home/andy/git/oil/bin/../core/word_eval.py", line 455, in _EvalCompoundWord
val = self._EvalWordPart(p, quoted=False) # may raise
File "/home/andy/git/oil/bin/../core/word_eval.py", line 657, in _EvalWordPart
return self._EvalDoubleQuotedPart(part)
File "/home/andy/git/oil/bin/../core/word_eval.py", line 712, in _EvalDoubleQuotedPart
val = self._EvalWordPart(p, quoted=True)
File "/home/andy/git/oil/bin/../core/word_eval.py", line 691, in _EvalWordPart
defined, val = self._ApplyVarOps(defined, val, part)
File "/home/andy/git/oil/bin/../core/word_eval.py", line 383, in _ApplyVarOps
print(op.words)
AttributeError: 'StringUnary' object has no attribute 'words'
|
| bash | 21 Strip a string with single quotes, double quoted, with unescaped ' stdout: stderr: /bin/bash: line 2: unexpected EOF while looking for matching `'' /bin/bash: line 3: syntax error: unexpected end of file |
| mksh | 21 Strip a string with single quotes, double quoted, with unescaped ' stdout: stderr: /bin/mksh: <stdin>[3]: no closing quote |
| osh | 21 Strip a string with single quotes, double quoted, with unescaped ' [osh stdout] Expected b'["\'a b c "]\n', got b'' stdout: stderr: Traceback (most recent call last):
File "bin/osh", line 378, in <module>
sys.exit(main(sys.argv))
File "bin/osh", line 368, in main
return OshMain(main_argv)
File "bin/osh", line 327, in OshMain
status = ex.Execute(node)
File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 900, in Execute
status = self._Execute(node)
File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 791, in _Execute
status = self._Execute(child) # last status wins
File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 677, in _Execute
argv = self.ev.EvalWords(words)
File "/home/andy/git/oil/bin/../core/word_eval.py", line 769, in EvalWords
return self._EvalWords(words)
File "/home/andy/git/oil/bin/../core/word_eval.py", line 759, in _EvalWords
val = self._EvalCompoundWord(w, ifs=ifs, do_glob=do_glob)
File "/home/andy/git/oil/bin/../core/word_eval.py", line 455, in _EvalCompoundWord
val = self._EvalWordPart(p, quoted=False) # may raise
File "/home/andy/git/oil/bin/../core/word_eval.py", line 657, in _EvalWordPart
return self._EvalDoubleQuotedPart(part)
File "/home/andy/git/oil/bin/../core/word_eval.py", line 712, in _EvalDoubleQuotedPart
val = self._EvalWordPart(p, quoted=True)
File "/home/andy/git/oil/bin/../core/word_eval.py", line 691, in _EvalWordPart
defined, val = self._ApplyVarOps(defined, val, part)
File "/home/andy/git/oil/bin/../core/word_eval.py", line 383, in _ApplyVarOps
print(op.words)
AttributeError: 'StringUnary' object has no attribute 'words'
|
| osh | 22 The string to strip is space sensitive [osh stdout] Expected b"['a b ', 'a b c d']\n", got b'' stdout: stderr: Traceback (most recent call last):
File "bin/osh", line 378, in <module>
sys.exit(main(sys.argv))
File "bin/osh", line 368, in main
return OshMain(main_argv)
File "bin/osh", line 327, in OshMain
status = ex.Execute(node)
File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 900, in Execute
status = self._Execute(node)
File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 791, in _Execute
status = self._Execute(child) # last status wins
File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 677, in _Execute
argv = self.ev.EvalWords(words)
File "/home/andy/git/oil/bin/../core/word_eval.py", line 769, in EvalWords
return self._EvalWords(words)
File "/home/andy/git/oil/bin/../core/word_eval.py", line 759, in _EvalWords
val = self._EvalCompoundWord(w, ifs=ifs, do_glob=do_glob)
File "/home/andy/git/oil/bin/../core/word_eval.py", line 455, in _EvalCompoundWord
val = self._EvalWordPart(p, quoted=False) # may raise
File "/home/andy/git/oil/bin/../core/word_eval.py", line 657, in _EvalWordPart
return self._EvalDoubleQuotedPart(part)
File "/home/andy/git/oil/bin/../core/word_eval.py", line 712, in _EvalDoubleQuotedPart
val = self._EvalWordPart(p, quoted=True)
File "/home/andy/git/oil/bin/../core/word_eval.py", line 691, in _EvalWordPart
defined, val = self._ApplyVarOps(defined, val, part)
File "/home/andy/git/oil/bin/../core/word_eval.py", line 383, in _ApplyVarOps
print(op.words)
AttributeError: 'StringUnary' object has no attribute 'words'
|
| dash | 23 The string to strip can be single quoted, outer is double quoted stdout: ['a b c d', 'a b c d']stderr: |
| osh | 23 The string to strip can be single quoted, outer is double quoted [osh stdout] Expected b"['a b ', 'a b c d']\n", got b'' stdout: stderr: Traceback (most recent call last):
File "bin/osh", line 378, in <module>
sys.exit(main(sys.argv))
File "bin/osh", line 368, in main
return OshMain(main_argv)
File "bin/osh", line 327, in OshMain
status = ex.Execute(node)
File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 900, in Execute
status = self._Execute(node)
File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 791, in _Execute
status = self._Execute(child) # last status wins
File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 677, in _Execute
argv = self.ev.EvalWords(words)
File "/home/andy/git/oil/bin/../core/word_eval.py", line 769, in EvalWords
return self._EvalWords(words)
File "/home/andy/git/oil/bin/../core/word_eval.py", line 759, in _EvalWords
val = self._EvalCompoundWord(w, ifs=ifs, do_glob=do_glob)
File "/home/andy/git/oil/bin/../core/word_eval.py", line 455, in _EvalCompoundWord
val = self._EvalWordPart(p, quoted=False) # may raise
File "/home/andy/git/oil/bin/../core/word_eval.py", line 657, in _EvalWordPart
return self._EvalDoubleQuotedPart(part)
File "/home/andy/git/oil/bin/../core/word_eval.py", line 712, in _EvalDoubleQuotedPart
val = self._EvalWordPart(p, quoted=True)
File "/home/andy/git/oil/bin/../core/word_eval.py", line 691, in _EvalWordPart
defined, val = self._ApplyVarOps(defined, val, part)
File "/home/andy/git/oil/bin/../core/word_eval.py", line 383, in _ApplyVarOps
print(op.words)
AttributeError: 'StringUnary' object has no attribute 'words'
|
| osh | 24 The string to strip can be single quoted, outer is unquoted [osh stdout] Expected b"['a', 'b', 'a', 'b', 'c', 'd']\n", got b'' stdout: stderr: Traceback (most recent call last):
File "bin/osh", line 378, in <module>
sys.exit(main(sys.argv))
File "bin/osh", line 368, in main
return OshMain(main_argv)
File "bin/osh", line 327, in OshMain
status = ex.Execute(node)
File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 900, in Execute
status = self._Execute(node)
File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 791, in _Execute
status = self._Execute(child) # last status wins
File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 677, in _Execute
argv = self.ev.EvalWords(words)
File "/home/andy/git/oil/bin/../core/word_eval.py", line 769, in EvalWords
return self._EvalWords(words)
File "/home/andy/git/oil/bin/../core/word_eval.py", line 759, in _EvalWords
val = self._EvalCompoundWord(w, ifs=ifs, do_glob=do_glob)
File "/home/andy/git/oil/bin/../core/word_eval.py", line 455, in _EvalCompoundWord
val = self._EvalWordPart(p, quoted=False) # may raise
File "/home/andy/git/oil/bin/../core/word_eval.py", line 691, in _EvalWordPart
defined, val = self._ApplyVarOps(defined, val, part)
File "/home/andy/git/oil/bin/../core/word_eval.py", line 383, in _ApplyVarOps
print(op.words)
AttributeError: 'StringUnary' object has no attribute 'words'
|