summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2012-04-30 11:53:30 +0000
committerRichard Maw <richard.maw@codethink.co.uk>2012-04-30 11:53:30 +0000
commitb76d00c7a1e07267b8db214e344e4e9b293e5287 (patch)
tree24f5acbef6856ed96918e86b1162b8766a734887 /tests
parent40e7957c2fade1dc67007a99d0647c1f2e4a9e12 (diff)
downloadmorph-b76d00c7a1e07267b8db214e344e4e9b293e5287.tar.gz
build-system-cpan test: only check file in tar
It is possible that a bunch of stuff will be put in the tarball. What matters is if the binary is in the tarball, so only print that line of output
Diffstat (limited to 'tests')
-rwxr-xr-xtests/build-system-cpan.script2
-rw-r--r--tests/build-system-cpan.stdout10
2 files changed, 1 insertions, 11 deletions
diff --git a/tests/build-system-cpan.script b/tests/build-system-cpan.script
index fe4f1c23..49582a96 100755
--- a/tests/build-system-cpan.script
+++ b/tests/build-system-cpan.script
@@ -59,5 +59,5 @@ for chunk in "$DATADIR/cache/"*.chunk.*
do
echo "$chunk:" | sed 's/[^.]*//'
tar -tf "$chunk" | LC_ALL=C sort |
- sed -e '/^\.\/./s:^\./::'
+ sed -e '/^\.\/./s:^\./::' | grep -F "bin/hello"
done
diff --git a/tests/build-system-cpan.stdout b/tests/build-system-cpan.stdout
index cb43da36..5cbe4c73 100644
--- a/tests/build-system-cpan.stdout
+++ b/tests/build-system-cpan.stdout
@@ -1,12 +1,2 @@
.chunk.hello:
-./
-baserock/
-baserock/hello.meta
-bin/
bin/hello
-lib/
-lib/perl/
-lib/perl/auto/
-lib/perl/auto/hello.build/
-lib/perl/auto/hello.build/.packlist
-lib/perl/perllocal.pod