[OSSTEST,3/4] standalone: Do not complain about ssh if AP_FETCH_PLACEHOLDERS=y
diff mbox series

Message ID 20200616165812.25380-3-ian.jackson@eu.citrix.com
State New
Headers show
Series
  • [OSSTEST,1/4] standalone: Fix spurious ]
Related show

Commit Message

Ian Jackson June 16, 2020, 4:58 p.m. UTC
In this case, there is no need to ssh anywhere.

No change other than in dev-debugging setups.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
---
 standalone | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch
diff mbox series

diff --git a/standalone b/standalone
index b51acf7b..9553d6c9 100755
--- a/standalone
+++ b/standalone
@@ -136,7 +136,7 @@  if [ ! -r "$WebspaceLog" ] ; then
     echo "WARNING: Cannot read apache logs at $WebspaceLog. Some tests may fail" >&2
 fi
 
-if ! ssh-add -l >/dev/null ; then
+if [ "x$AP_FETCH_PLACEHOLDERS" != x ] && ! ssh-add -l >/dev/null ; then
     echo "WARNING: Unable to access ssh-agent. Some tests may fail" >&2
 fi