NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: misc/47825: [PATCH] Fix hardcoding of NetBSD in t_grep.sh



The following reply was made to PR misc/47825; it has been noted by GNATS.

From: Garrett Cooper <yaneurabeya%gmail.com@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: misc/47825: [PATCH] Fix hardcoding of NetBSD in t_grep.sh
Date: Fri, 17 May 2013 10:46:48 -0400

 --Apple-Mail=_5EFB02D0-4E4F-4442-8ADD-C37021AEC32C
 Content-Transfer-Encoding: 7bit
 Content-Type: text/plain;
        charset=us-ascii
 
        And.. here's the patch!
 -Garrett
 
 --Apple-Mail=_5EFB02D0-4E4F-4442-8ADD-C37021AEC32C
 Content-Disposition: attachment;
        filename=t_grep-fix-uname-hardcoding.patch
 Content-Type: application/octet-stream;
        name="t_grep-fix-uname-hardcoding.patch"
 Content-Transfer-Encoding: 7bit
 
 Index: tests/usr.bin/grep/t_grep.sh
 ===================================================================
 RCS file: /cvsroot/src/tests/usr.bin/grep/t_grep.sh,v
 retrieving revision 1.1
 diff -u -r1.1 t_grep.sh
 --- tests/usr.bin/grep/t_grep.sh       17 Mar 2012 16:33:13 -0000      1.1
 +++ tests/usr.bin/grep/t_grep.sh       17 May 2013 14:35:34 -0000
 @@ -43,7 +43,7 @@
  }
  binary_body()
  {
 -      atf_check -o file:"$(atf_get_srcdir)/d_binary.out" grep NetBSD /bin/sh
 +      atf_check -o file:"$(atf_get_srcdir)/d_binary.out" grep $(uname) /bin/sh
  }
  
  atf_test_case recurse
 
 --Apple-Mail=_5EFB02D0-4E4F-4442-8ADD-C37021AEC32C--
 


Home | Main Index | Thread Index | Old Index