From: Dmitry V. Levin Date: Wed, 27 Jul 2016 23:56:51 +0000 (+0000) Subject: tests: fix extended regexps X-Git-Tag: v4.14~246 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1b2500c6bf628700c5073a0afe7c7b0ee8553f43;p=strace tests: fix extended regexps * tests/adjtimex.c (main): Consistently quote curly braces in expected output. * tests/uio.expected: Likewise. --- diff --git a/tests/adjtimex.c b/tests/adjtimex.c index aafb4b64..9507fbee 100644 --- a/tests/adjtimex.c +++ b/tests/adjtimex.c @@ -48,7 +48,7 @@ main(void) printf("adjtimex\\(\\{modes=0, offset=%jd, freq=%jd, maxerror=%jd" ", esterror=%jd, status=%s, constant=%jd, precision=%jd" - ", tolerance=%jd, time={%jd, %jd}, tick=%jd, ppsfreq=%jd" + ", tolerance=%jd, time=\\{%jd, %jd\\}, tick=%jd, ppsfreq=%jd" ", jitter=%jd, shift=%d, stabil=%jd, jitcnt=%jd, calcnt=%jd" ", errcnt=%jd, stbcnt=%jd" #ifdef HAVE_STRUCT_TIMEX_TAI diff --git a/tests/uio.expected b/tests/uio.expected index 3beed0cc..98d5c06d 100644 --- a/tests/uio.expected +++ b/tests/uio.expected @@ -1,4 +1,4 @@ pread(64)?\(0, "\\0\\0\\0\\0", 4, 1004211379570065135\) += 4 -preadv\(0, \[{iov_base="\\0\\0\\0\\0", iov_len=4}\], 1, 1004211379570065135\) += 4 +preadv\(0, \[\{iov_base="\\0\\0\\0\\0", iov_len=4\}\], 1, 1004211379570065135\) += 4 pwrite(64)?\(0, "\\0\\0\\0\\0", 4, 1004211379570065135\) += 4 -pwritev\(0, \[{iov_base="\\0\\0\\0\\0", iov_len=4}\], 1, 1004211379570065135\) += 4 +pwritev\(0, \[\{iov_base="\\0\\0\\0\\0", iov_len=4\}\], 1, 1004211379570065135\) += 4