From: Paul Eggert Date: Wed, 12 Apr 2006 07:17:26 +0000 (+0000) Subject: Use \{...\} in test RE, to test that we're conforming to POSIX. X-Git-Tag: v6.0~509 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=93305ed5f9311f5f7a8344694ba1a40991b741d5;p=thirdparty%2Fcoreutils.git Use \{...\} in test RE, to test that we're conforming to POSIX. --- diff --git a/tests/misc/csplit b/tests/misc/csplit index 740df9e2e4..81a98afa52 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