From a7eeab9b497724cdc4de5a82b880ba824a9d8358 Mon Sep 17 00:00:00 2001 From: Sunny Kumar Date: Mon, 16 Dec 2019 12:52:41 +0000 Subject: test: fix non-root test case for geo-rep Problem: On a freshly installed system non-root geo-rep test case gets blocked. Solution: On a freshly installed system, the remote key need to be accepted automatically by ssh-copy-id. Credits: M. Scherer Change-Id: I5077f99a6681660f7e3e84c25ef216f521b7c29c Fixes: bz#1779742 Signed-off-by: Sunny Kumar --- tests/00-geo-rep/00-georep-verify-non-root-setup.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/00-geo-rep') diff --git a/tests/00-geo-rep/00-georep-verify-non-root-setup.t b/tests/00-geo-rep/00-georep-verify-non-root-setup.t index 076c0c92b08..ed7e589101d 100644 --- a/tests/00-geo-rep/00-georep-verify-non-root-setup.t +++ b/tests/00-geo-rep/00-georep-verify-non-root-setup.t @@ -177,7 +177,7 @@ export DISPLAY export SSH_ASKPASS=${SSH_ASKPASS_SCRIPT} -DISPLAY=: setsid ssh-copy-id -i ~/.ssh/id_rsa.pub $ssh_url +DISPLAY=: setsid ssh-copy-id -o 'PreferredAuthentications=password' -o 'StrictHostKeyChecking=no' -i ~/.ssh/id_rsa.pub $ssh_url ##Setting up PATH for gluster binaries in case of source installation ##ssh -oNumberOfPasswordPrompts=0 -oStrictHostKeyChecking=no $ssh_url "echo "export PATH=$PATH:/usr/local/sbin" >> ~/.bashrc" -- cgit