From b76d00c7a1e07267b8db214e344e4e9b293e5287 Mon Sep 17 00:00:00 2001 From: Richard Maw Date: Mon, 30 Apr 2012 11:53:30 +0000 Subject: 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 --- tests/build-system-cpan.script | 2 +- tests/build-system-cpan.stdout | 10 ---------- 2 files changed, 1 insertion(+), 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 -- cgit v1.2.1