diff options
author | Daniel Firth <dan.firth@codethink.co.uk> | 2013-09-26 16:16:58 +0100 |
---|---|---|
committer | Daniel Firth <dan.firth@codethink.co.uk> | 2013-09-26 16:16:58 +0100 |
commit | b30e50942b77a6bebdf8a74bd118cd2f06744abd (patch) | |
tree | ae57ddb67f7468ccf6673546c8e6173df6820026 /tests.deploy/deploy-cluster.script | |
parent | 3d93d272079b602aefe5d3bcd660d4a3307f3aad (diff) | |
download | morph-b30e50942b77a6bebdf8a74bd118cd2f06744abd.tar.gz |
Morph now executes extensions in the repository containing the morphologies
Diffstat (limited to 'tests.deploy/deploy-cluster.script')
-rwxr-xr-x | tests.deploy/deploy-cluster.script | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests.deploy/deploy-cluster.script b/tests.deploy/deploy-cluster.script index 917ac717..0efc8d3c 100755 --- a/tests.deploy/deploy-cluster.script +++ b/tests.deploy/deploy-cluster.script @@ -18,7 +18,6 @@ # Test "morph deploy" by deploying the systems in cluster morphology. - set -eu @@ -35,12 +34,13 @@ cd "$DATADIR/workspace/branch1" linux-system-2.HOSTNAME="baserock-rocks-even-more" \ > /dev/null -test -e hello-system.img -test -e linux-system-1.tar -test -e linux-system-2.tar +outputdir=test:morphs +test -e $outputdir/hello-system.img +test -e $outputdir/linux-system-1.tar +test -e $outputdir/linux-system-2.tar -hostname1=$(tar -xf linux-system-1.tar ./etc/hostname -O) -hostname2=$(tar -xf linux-system-2.tar ./etc/hostname -O) +hostname1=$(tar -xf $outputdir/linux-system-1.tar ./etc/hostname -O) +hostname2=$(tar -xf $outputdir/linux-system-2.tar ./etc/hostname -O) [ "$hostname1" = baserock-rocks ] [ "$hostname2" = baserock-rocks-even-more ] |