summaryrefslogtreecommitdiff
path: root/tests/update-gits-submodules.script
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2012-09-11 18:05:56 +0100
committerSam Thursfield <sam.thursfield@codethink.co.uk>2012-09-12 14:13:42 +0100
commit4e37fdf5adbf4d25561b472b4089b6782c599f93 (patch)
tree82182fee7bd6f56a91b392c12dfb5cede7b4455b /tests/update-gits-submodules.script
parent6b63ab3036e869c92b3c5d6471e4856df3583019 (diff)
downloadmorph-4e37fdf5adbf4d25561b472b4089b6782c599f93.tar.gz
Don't require .morph in triplet arguments
This gives us consistency with morphologies, where the triplets are repo|ref|morphology, not repo|ref|filename Anyone who runs 'morph build baserock:morphs master system.morph' will now see an error ending with 'was looking for system.morph.morph', which should make it clear where they have gone wrong.
Diffstat (limited to 'tests/update-gits-submodules.script')
-rwxr-xr-xtests/update-gits-submodules.script3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/update-gits-submodules.script b/tests/update-gits-submodules.script
index 01be003e..49f4de62 100755
--- a/tests/update-gits-submodules.script
+++ b/tests/update-gits-submodules.script
@@ -33,8 +33,7 @@ chunkrepo="$DATADIR/chunk-repo"
> /dev/null
"$SRCDIR/scripts/run-git-in" "$chunkrepo" commit --quiet -m "add submodule"
-"$SRCDIR/scripts/test-morph" update-gits \
- test:morphs-repo master hello-stratum.morph
+"$SRCDIR/scripts/test-morph" update-gits test:morphs-repo master hello-stratum
test -d "$DATADIR/cache/gits/"*chunk?repo* && echo chunk-repo cached
test -d "$DATADIR/cache/gits/"*morphs?repo* && echo morphs-repo cached