summaryrefslogtreecommitdiff
path: root/test/integration/targets/connection_ssh
diff options
context:
space:
mode:
authorMatt Clay <matt@mystile.com>2016-12-14 17:17:47 -0800
committerMatt Clay <matt@mystile.com>2016-12-14 17:34:03 -0800
commit80c559bdef838ac5c093a86bb8ae23e1fa09660a (patch)
treee56139fb62e006f244493b92319fd251afbe14fa /test/integration/targets/connection_ssh
parent197658aff48be2e378ffaee43e0ab94d7568411e (diff)
downloadansible-80c559bdef838ac5c093a86bb8ae23e1fa09660a.tar.gz
Test sftp and scp for ssh connection.
Diffstat (limited to 'test/integration/targets/connection_ssh')
l---------test/integration/targets/connection_ssh/posix.sh1
-rwxr-xr-x[l---------]test/integration/targets/connection_ssh/runme.sh9
2 files changed, 9 insertions, 1 deletions
diff --git a/test/integration/targets/connection_ssh/posix.sh b/test/integration/targets/connection_ssh/posix.sh
new file mode 120000
index 0000000000..70aa5dbdba
--- /dev/null
+++ b/test/integration/targets/connection_ssh/posix.sh
@@ -0,0 +1 @@
+../connection_posix/test.sh \ No newline at end of file
diff --git a/test/integration/targets/connection_ssh/runme.sh b/test/integration/targets/connection_ssh/runme.sh
index 70aa5dbdba..2e74085fd8 120000..100755
--- a/test/integration/targets/connection_ssh/runme.sh
+++ b/test/integration/targets/connection_ssh/runme.sh
@@ -1 +1,8 @@
-../connection_posix/test.sh \ No newline at end of file
+#!/usr/bin/env bash
+
+set -eux
+
+# sftp
+./posix.sh "$@"
+# scp
+ANSIBLE_SCP_IF_SSH=true ./posix.sh "$@"