Add support for `type' command in MockRemote

This commit is contained in:
Thibault Jouan committed 2014-03-05 07:18:50 +00:00
1 parent b9976464a4
commit aa3694b58c
2 files changed
+26

No files matched your search

+7
View File
@@ -17,6 +17,13 @@ module Producer
output << ''
when 'false'
raise RemoteCommandExecutionError
when 'type'
raise RemoteCommandExecutionError unless %w[
echo
true
false
type
].include? tokens.first
end
output