Source-Changes-HG archive

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

[src/trunk]: src/tests/usr.bin/grep PR/47825: Garrett Cooper: Fix hardcoding ...



details:   https://anonhg.NetBSD.org/src/rev/8ab123823e20
branches:  trunk
changeset: 786878:8ab123823e20
user:      christos <christos%NetBSD.org@localhost>
date:      Fri May 17 15:39:17 2013 +0000

description:
PR/47825: Garrett Cooper: Fix hardcoding of NetBSD in t_grep.sh

diffstat:

 tests/usr.bin/grep/t_grep.sh |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 151ccddd0ea9 -r 8ab123823e20 tests/usr.bin/grep/t_grep.sh
--- a/tests/usr.bin/grep/t_grep.sh      Fri May 17 14:11:55 2013 +0000
+++ b/tests/usr.bin/grep/t_grep.sh      Fri May 17 15:39:17 2013 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: t_grep.sh,v 1.1 2012/03/17 16:33:13 jruoho Exp $
+# $NetBSD: t_grep.sh,v 1.2 2013/05/17 15:39:17 christos Exp $
 #
 # Copyright (c) 2008, 2009 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -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



Home | Main Index | Thread Index | Old Index