summaryrefslogtreecommitdiff
path: root/tests/build-system-cpan.script
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/build-system-cpan.script
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/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 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