From cc2587921a87cd4c684ee68000c58237ff5297d9 Mon Sep 17 00:00:00 2001 From: Michael Marineau Date: Wed, 28 Aug 2013 15:37:09 -0700 Subject: [PATCH] fix(test_ami): Fix assorted mistakes from last review cycle. This at least gets autotest running and logging into the hosts but none of the tests are actually executed properly yet. One step at a time.. --- oem/ami/test_ami.sh | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/oem/ami/test_ami.sh b/oem/ami/test_ami.sh index 6348a7401e..5d91835443 100755 --- a/oem/ami/test_ami.sh +++ b/oem/ami/test_ami.sh @@ -125,32 +125,31 @@ echo "OK" AUTOTEST_DIR=$(mktemp -d) trap 'cd /; rm -rf "${AUTOTEST_DIR}"' EXIT -cd "${AUTOTEST_DIR}" +pushd "${AUTOTEST_DIR}" wget https://github.com/autotest/autotest/archive/0.15.1.tar.gz tar -xzf 0.15.1.tar.gz git clone git://github.com/coreos/coreos-autotest.git - cp -r ./coreos-autotest/client/* ./autotest-0.15.1/client/tests cp ~/.ssh/config ~/.ssh/config.back - for host in ${ips[@]}; do -echo <> ~/.ssh/config +cat >> ~/.ssh/config <