Module Name:    src
Committed By:   christos
Date:           Fri May 17 15:39:17 UTC 2013

Modified Files:
        src/tests/usr.bin/grep: t_grep.sh

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


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/usr.bin/grep/t_grep.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tests/usr.bin/grep/t_grep.sh
diff -u src/tests/usr.bin/grep/t_grep.sh:1.1 src/tests/usr.bin/grep/t_grep.sh:1.2
--- src/tests/usr.bin/grep/t_grep.sh:1.1	Sat Mar 17 12:33:13 2012
+++ src/tests/usr.bin/grep/t_grep.sh	Fri May 17 11:39:17 2013
@@ -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_head()
 }
 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

Reply via email to