summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2012-04-23 15:37:34 +0000
committerRichard Maw <richard.maw@codethink.co.uk>2012-04-23 15:47:19 +0000
commit7c496033582027573c135f723e3a468716ce5f88 (patch)
treea00429e4a9294b737a53c540ee3806a80ab23227 /tests
parentde61437aae79c4f9f9f5d0d90b25eda798133b42 (diff)
downloadmorph-7c496033582027573c135f723e3a468716ce5f88.tar.gz
tests: cpan use prefix for simpler output
Diffstat (limited to 'tests')
-rwxr-xr-xtests/build-system-cpan.script2
-rw-r--r--tests/build-system-cpan.stdout24
2 files changed, 10 insertions, 16 deletions
diff --git a/tests/build-system-cpan.script b/tests/build-system-cpan.script
index cce7eb36..0a4be35b 100755
--- a/tests/build-system-cpan.script
+++ b/tests/build-system-cpan.script
@@ -53,7 +53,7 @@ git add hello.morph
git commit --quiet -m 'convert hello into a perl cpan project'
-"$SRCDIR/scripts/test-morph" build chunk-repo farrokh hello.morph
+"$SRCDIR/scripts/test-morph" build --prefix=/ chunk-repo farrokh hello.morph
TEMPEXTRACT="$DATADIR/cpanextract"
mkdir -p "$TEMPEXTRACT"
diff --git a/tests/build-system-cpan.stdout b/tests/build-system-cpan.stdout
index e6e093cc..e0c21af1 100644
--- a/tests/build-system-cpan.stdout
+++ b/tests/build-system-cpan.stdout
@@ -1,19 +1,13 @@
-arch=x86_64-linux major=5 version=5.14.2
.chunk.hello:
./
baserock/
baserock/hello.meta
-usr/
-usr/bin/
-usr/bin/hello
-usr/lib/
-usr/lib/PERLDIR/
-usr/lib/PERLDIR/PERLVERSION/
-usr/lib/PERLDIR/PERLVERSION/ARCH/
-usr/lib/PERLDIR/PERLVERSION/ARCH/perllocal.pod
-usr/lib/PERLDIR/site_perl/
-usr/lib/PERLDIR/site_perl/PERLVERSION/
-usr/lib/PERLDIR/site_perl/PERLVERSION/ARCH/
-usr/lib/PERLDIR/site_perl/PERLVERSION/ARCH/auto/
-usr/lib/PERLDIR/site_perl/PERLVERSION/ARCH/auto/hello.build/
-usr/lib/PERLDIR/site_perl/PERLVERSION/ARCH/auto/hello.build/.packlist
+bin/
+bin/hello
+lib/
+lib/PERLDIR/
+lib/PERLDIR/ARCH/
+lib/PERLDIR/ARCH/auto/
+lib/PERLDIR/ARCH/auto/hello.build/
+lib/PERLDIR/ARCH/auto/hello.build/.packlist
+lib/PERLDIR/ARCH/perllocal.pod