VirtualBox

source: kBuild/vendor/grep/2.12/tests/pcre@ 3627

Last change on this file since 3627 was 2595, checked in by bird, 13 years ago

gnu grep version 2.12 (grep-2.12.tar.xz, md5sum=8d2f0346d08b13c18afb81f0e8aa1e2f)

File size: 468 bytes
Line 
1#! /bin/sh
2# Ensure that with -P, \s*$ matches a newline.
3#
4# Copyright (C) 2001, 2006, 2009-2012 Free Software Foundation, Inc.
5#
6# Copying and distribution of this file, with or without modification,
7# are permitted in any medium without royalty provided the copyright
8# notice and this notice are preserved.
9
10. "${srcdir=.}/init.sh"; path_prepend_ ../src
11require_pcre_
12
13fail=0
14
15# See CVS revision 1.32 of "src/search.c".
16echo | grep -P '\s*$' || fail=1
17
18Exit $fail
Note: See TracBrowser for help on using the repository browser.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette