Skip to content

Commit

Permalink
tweak to handle old/new versions of -Wversion
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasDickey committed Sep 23, 2014
1 parent 24c9614 commit 7ae37ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/mawktest
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/sh
# $MawkId: mawktest,v 1.35 2014/08/20 20:03:45 tom Exp $
# $MawkId: mawktest,v 1.36 2014/09/07 22:05:34 tom Exp $
###############################################################################
# copyright 2008-2012,2014, Thomas E. Dickey
# copyright 2010, Guido Berhoerster
Expand Down Expand Up @@ -90,7 +90,7 @@ trap 'echo mawk_test failed ; rm -f $STDOUT $STDERR; exit 1' 0
# find out which mawk we're testing
$PROG -W version

NULLS=`$PROG -W version 2>&1 |fgrep 'internal regex' 2>/dev/null`
NULLS=`$PROG -W version 2>&1 |fgrep regex |fgrep 'internal' 2>/dev/null`
#################################
Begin "testing input and field splitting"

Expand Down

0 comments on commit 7ae37ca

Please sign in to comment.