tests: fix extended regexps

* tests/adjtimex.c (main): Consistently quote curly braces
in expected output.
* tests/uio.expected: Likewise.
This commit is contained in:
Дмитрий Левин 2016-07-27 23:56:51 +00:00
parent 1514448dad
commit 1b2500c6bf
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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