summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSunny Kumar <sunkumar@redhat.com>2019-10-24 14:40:37 +0530
committerSunny Kumar <sunkumar@redhat.com>2019-10-25 05:40:19 +0000
commit44bc5732640fd23969e4a63cbb3eb6bb9fd387b2 (patch)
treed606f8736f863fdd13c05f3e11b0ddaf87ae3392
parent1a3ca8ac92d0e64726de2337d4341079598b34b8 (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> fixes: bz#1765433 Change-Id: Icaf7a848cb8f4ae9f887d885a8c5bb71f26633b4 Signed-off-by: Sunny Kumar <sunkumar@redhat.com> (cherry picked from commit bfebfa9f2ec9dfc5dbf4a68c3518f98364ebc461)
-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}