From: Stefano Lattarini Date: Fri, 22 Jun 2012 19:44:15 +0000 (+0200) Subject: tests: assume automake quotes 'like this', not `like this' X-Git-Tag: v1.12.2~62 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=24c1056fdb668e2076981c2250bbf6d7c8bf8f48;p=thirdparty%2Fautomake.git tests: assume automake quotes 'like this', not `like this' * t/add-missing.tap: Here. This slightly simplifies and/or enhances some grepping checks on automake diagnostic. Signed-off-by: Stefano Lattarini --- diff --git a/t/add-missing.tap b/t/add-missing.tap index 6f16a0ae6..902ff3bde 100755 --- a/t/add-missing.tap +++ b/t/add-missing.tap @@ -169,11 +169,11 @@ check_ () for f in $files; do command_ok_ \ "$pfx warn about missing file $f" \ - grep "required file ['\`]$build_aux/$f' not found" stderr + $FGREP "required file '$build_aux/$f' not found" stderr # Suggest the user to use '--add-missing'. command_ok_ \ "$pfx suggest --add-missing for $f" \ - grep ".*--add-missing.* install .*$f" stderr + grep ".*--add-missing.* install .*'$f'" stderr done # No files should be automatically installed by automake if it # is not told to. @@ -192,7 +192,7 @@ check_ () for f in $files; do command_ok_ \ "$pfx report installation of $f" \ - grep ": installing ['\`]$build_aux/$f'$" stderr + $FGREP ": installing '$build_aux/$f'" stderr done # Only the expected files should be installed. But automake always # require 'missing' and 'install-sh', so account for them.