X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=t%2Fdejagnu-siteexp-useredit.sh;h=419acdf5829a388178640605110f592df2ba2f55;hb=6febcd41b3dcf99a89aaf21329c00fdadcd68771;hp=9be5eba90c7379d9e5889a3fbdb6e0bbab55fff9;hpb=8a5096d150cf9803b8963768b7366cd68edcce03;p=platform%2Fupstream%2Fautomake.git diff --git a/t/dejagnu-siteexp-useredit.sh b/t/dejagnu-siteexp-useredit.sh old mode 100755 new mode 100644 index 9be5eba..419acdf --- a/t/dejagnu-siteexp-useredit.sh +++ b/t/dejagnu-siteexp-useredit.sh @@ -1,5 +1,5 @@ #! /bin/sh -# Copyright (C) 2011-2012 Free Software Foundation, Inc. +# Copyright (C) 2011-2013 Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -17,7 +17,7 @@ # Check that the user can edit the Makefile-generated site.exp, and # have its edits survive to the remaking of that file. -. ./defs || Exit 1 +. test-init.sh cat >> configure.ac << 'END' AC_OUTPUT @@ -56,7 +56,7 @@ $MAKE site.exp cat site.exp is_newest site.exp Makefile # Sanity check. grep '|objdir|' site.exp -test `grep -c '|objdir|' site.exp` -eq 1 +test $($FGREP -c '|objdir|' site.exp) -eq 1 # We can do a "more semantic" check if DejaGnu is available. if runtest SOMEPROGRAM=someprogram --version; then