build: update gnulib to latest; and update bootstrap
[grep.git] / tests / backslash-dot
blob06579f57a98aae5df64530e4aea86ccef9551aa8
1 #! /bin/sh
2 # This once failed to match: echo . | grep '\.'
4 # Copyright (C) 2020-2025 Free Software Foundation, Inc.
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.
10 . "${srcdir=.}/init.sh"; path_prepend_ ../src
12 fail=0
14 echo . > in || framework_failure_
16 grep '\.' in > out 2> err || fail=1
17 compare in out || fail=1
18 compare /dev/null err || fail=1
20 Exit $fail