From 80c559bdef838ac5c093a86bb8ae23e1fa09660a Mon Sep 17 00:00:00 2001 From: Matt Clay Date: Wed, 14 Dec 2016 17:17:47 -0800 Subject: [PATCH] Test sftp and scp for ssh connection. --- test/integration/targets/connection_ssh/posix.sh | 1 + test/integration/targets/connection_ssh/runme.sh | 9 ++++++++- 2 files changed, 9 insertions(+), 1 deletion(-) create mode 120000 test/integration/targets/connection_ssh/posix.sh mode change 120000 => 100755 test/integration/targets/connection_ssh/runme.sh 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 deleted file mode 120000 index 70aa5dbdba..0000000000 --- a/test/integration/targets/connection_ssh/runme.sh +++ /dev/null @@ -1 +0,0 @@ -../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 new file mode 100755 index 0000000000..2e74085fd8 --- /dev/null +++ b/test/integration/targets/connection_ssh/runme.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env bash + +set -eux + +# sftp +./posix.sh "$@" +# scp +ANSIBLE_SCP_IF_SSH=true ./posix.sh "$@"