diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2006-04-12 07:17:26 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2006-04-12 07:17:26 +0000 |
commit | 93305ed5f9311f5f7a8344694ba1a40991b741d5 (patch) | |
tree | 96e6e9277b28e5b706d0c43fdba664c4ed71f571 /tests | |
parent | 661b506c3d5297162a137c094f60ceb81f6b77f9 (diff) | |
download | coreutils-93305ed5f9311f5f7a8344694ba1a40991b741d5.tar.xz |
Use \{...\} in test RE, to test that we're conforming to POSIX.
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/misc/csplit | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/misc/csplit b/tests/misc/csplit index 740df9e2e..81a98afa5 100755 --- a/tests/misc/csplit +++ b/tests/misc/csplit @@ -92,7 +92,7 @@ test $fail = 1 && diff err experr 2> /dev/null # in 5.3.1. rm -f in out exp err experr xx?? printf 'x%8199s\nx\n%8199s\nx\n' x x > in -csplit in '/x/' '{*}' > /dev/null || fail=1 +csplit in '/x\{1\}/' '{*}' > /dev/null || fail=1 cat xx?? | cmp - in || fail=1 (exit $fail); exit $fail |