summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSunny Kumar <sunkumar@redhat.com>2019-10-24 14:40:37 +0530
committerRinku Kothiya <rkothiya@redhat.com>2019-11-27 06:16:11 +0000
commitada2e64bbf4dbf555c5a5c19989eafed1893a137 (patch)
tree1a3b2f3c55a3cb6cd6527ade92b32f052fb3e071
parent0520a943c3a5192d2cc92540ddeaf641093ff6af (diff)
test: fix suspicous non-root geo-rep test failures
Export of env variable is required for ssh-copy-id command. Backport of: >fixes: bz#1765426 >Change-Id: Icaf7a848cb8f4ae9f887d885a8c5bb71f26633b4 >Signed-off-by: Sunny Kumar <sunkumar@redhat.com> >(cherry picked from commit febfa9f2ec9dfc5dbf4a68c3518f98364ebc461) Change-Id: Ic244b065db9959c0c6ba952955f0f68e3f96e925 fixes: bz#1765431 Signed-off-by: Sunny Kumar <sunkumar@redhat.com>
-rw-r--r--tests/00-geo-rep/00-georep-verify-non-root-setup.t2
1 files changed, 1 insertions, 1 deletions
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 c9fd8b2dffd..076c0c92b08 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
@@ -173,7 +173,7 @@ EOL
chmod u+x ${SSH_ASKPASS_SCRIPT}
##set no display, necessary for ssh to use with setsid and SSH_ASKPASS
-#export DISPLAY=:0
+export DISPLAY
export SSH_ASKPASS=${SSH_ASKPASS_SCRIPT}