Merge branch 'mk/grep-pcre'
* mk/grep-pcre: t7810: avoid unportable use of "echo"
This commit is contained in:
commit
13b70d2ad9
@ -658,9 +658,9 @@ test_expect_success LIBPCRE 'grep -P -v pattern' '
|
||||
'
|
||||
|
||||
test_expect_success LIBPCRE 'grep -P -i pattern' '
|
||||
{
|
||||
echo "hello.c: printf(\"Hello world.\n\");"
|
||||
} >expected &&
|
||||
cat >expected <<-EOF &&
|
||||
hello.c: printf("Hello world.\n");
|
||||
EOF
|
||||
git grep -P -i "PRINTF\([^\d]+\)" hello.c >actual &&
|
||||
test_cmp expected actual
|
||||
'
|
||||
|
Loading…
Reference in New Issue
Block a user