summaryrefslogtreecommitdiff
path: root/tests/build-system-cpan.script
diff options
context:
space:
mode:
authorJannis Pohlmann <jannis.pohlmann@codethink.co.uk>2012-05-02 10:57:55 +0000
committerJannis Pohlmann <jannis.pohlmann@codethink.co.uk>2012-05-03 12:51:24 +0000
commit5b7f918f66df140ff38a9955f841c8aeeab6089d (patch)
tree1deff981f67277913c7ecf440de931e908b5e12b /tests/build-system-cpan.script
parentdc7f4153ae6f74fe747117154e02a2198be6e8c2 (diff)
downloadmorph-5b7f918f66df140ff38a9955f841c8aeeab6089d.tar.gz
Use dedicated <cachedir>/artficats directory for local artifact cache.
Make sure that this directory is actually created before trying to save artifacts to it. Also adjust all tests to use this new directory for looking up artifacts.
Diffstat (limited to 'tests/build-system-cpan.script')
-rwxr-xr-xtests/build-system-cpan.script2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/build-system-cpan.script b/tests/build-system-cpan.script
index 49582a96..ba1cf73e 100755
--- a/tests/build-system-cpan.script
+++ b/tests/build-system-cpan.script
@@ -55,7 +55,7 @@ git commit --quiet -m 'convert hello into a perl cpan project'
"$SRCDIR/scripts/test-morph" build --prefix=/ chunk-repo farrokh hello.morph
-for chunk in "$DATADIR/cache/"*.chunk.*
+for chunk in "$DATADIR/cache/artifacts/"*.chunk.*
do
echo "$chunk:" | sed 's/[^.]*//'
tar -tf "$chunk" | LC_ALL=C sort |