From 69305a7a035891b91170410b1b39f33d0c103981 Mon Sep 17 00:00:00 2001 From: Antonio Terceiro Date: Thu, 26 Feb 2015 10:29:40 -0300 Subject: [PATCH] run_on: send commands in a pipe --- test/test_helper.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_helper.sh b/test/test_helper.sh index 16407a2..6565741 100644 --- a/test/test_helper.sh +++ b/test/test_helper.sh @@ -4,7 +4,7 @@ export ROOTDIR="$(readlink -f $(dirname $0)/..)" run_on() { local vm="$1" shift - ssh -F .ssh_config "$vm" -- 'export PATH=/vagrant/test/bin:$PATH;' "$@" + echo 'export PATH=/vagrant/test/bin:$PATH;' "$@" | ssh -F .ssh_config "$vm" } . $(dirname $0)/ip_helper.sh -- libgit2 0.21.2