Skip to content

Commit 99c9e8c

Browse files
committed
Fix acceptance tests prompt matching
1 parent 3bb3429 commit 99c9e8c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

spec/lib/msf/ui/text/dispatcher_shell_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
require 'readline'
33

44
RSpec.describe Rex::Ui::Text::DispatcherShell do
5-
let(:prompt) { '%undmsf6%clr' }
5+
let(:prompt) { '%undmsf%clr' }
66
let(:prompt_char) { '%clr>' }
77
let(:subject) do
88
dummy_class = Class.new

spec/support/acceptance/child_process.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,7 @@ def initialize
541541
end
542542

543543
def self.prompt
544-
/msf6.*>\s+/
544+
/msf.*>\s+/
545545
end
546546

547547
def reset

0 commit comments

Comments
 (0)