[med-svn] samtools 08/11: Insulate test case from $GREP_OPTIONS

Charles Plessy plessy at moszumanska.debian.org
Thu Aug 21 22:58:53 UTC 2014


This is an automated email from the git hooks/post-receive script.

plessy pushed a commit to branch develop
in repository samtools.

commit d0e4a6c8caea9e2f6fd654edbf80100cf82b2302
Author: John Marshall <jm18 at sanger.ac.uk>
Date:   Wed Aug 20 16:52:02 2014 +0100

    Insulate test case from $GREP_OPTIONS
    
    Prevent e.g. GREP_OPTIONS='--binary-files=without-match' from
    subverting the expected output.
    
    Perhaps we ought to add 'unalias egrep' somewhere too...
---
 test/mpileup/mpileup.reg | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/mpileup/mpileup.reg b/test/mpileup/mpileup.reg
index 08010cc..cb42b05 100644
--- a/test/mpileup/mpileup.reg
+++ b/test/mpileup/mpileup.reg
@@ -108,7 +108,7 @@ P 48.out $samtools mpileup -x -g -f mpileup.ref.fa mpileup.1.$fmt | $filter
 P 49.out $samtools mpileup -x -v -f mpileup.ref.fa mpileup.1.$fmt | $filter
 P 50.out $samtools mpileup -D -V -x -g -f mpileup.ref.fa mpileup.1.$fmt | $filter
 P 51.out $samtools mpileup -S -x -g -f mpileup.ref.fa mpileup.1.$fmt | $filter
-P 52.out $samtools mpileup -u -x -f mpileup.ref.fa mpileup.1.bam | egrep -v '^##samtools'
+P 52.out $samtools mpileup -u -x -f mpileup.ref.fa mpileup.1.bam | GREP_OPTIONS= egrep -v '^##samtools'
 
 # # -o/e/h for indel scores
 P 53.out $samtools mpileup -e 1       -u -x -f mpileup.ref.fa indels.$fmt|$filter|awk '/INDEL/'

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/samtools.git



More information about the debian-med-commit mailing list