Skip to content

Commit d01b4e3

Browse files
Robert VincentGabrielNagy
authored andcommitted
(MODULES-9578) Acceptance tests should remove the authorized_keys file.
1 parent 0e4857b commit d01b4e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/acceptance/tests/resource/ssh_authorized_key/create_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
before(:each) do
1010
posix_agents.each do |agent|
1111
on(agent, "cp #{auth_keys} /tmp/auth_keys", acceptable_exit_codes: [0, 1])
12-
on(agent, "chown $LOGNAME #{auth_keys}")
12+
on(agent, "rm -f $LOGNAME #{auth_keys}")
1313
end
1414
end
1515

0 commit comments

Comments
 (0)