From: Ben Gras Date: Tue, 24 May 2005 14:57:45 +0000 (+0000) Subject: this test breaks on the new pre-i/o i/o buffer check. it wants to read X-Git-Tag: v3.1.0~813 X-Git-Url: http://zhaoyanbai.com/repos/README?a=commitdiff_plain;h=dcffa17db2fe4788baca8bd32a6848925a42fd3d;p=minix.git this test breaks on the new pre-i/o i/o buffer check. it wants to read more than its buffer allowed, so it is reasonable that it breaks. reducing read request size 'fixes' it. --- diff --git a/test/test19.c b/test/test19.c index 760f96550..0ad9272d2 100644 --- a/test/test19.c +++ b/test/test19.c @@ -352,7 +352,7 @@ void test19e() if (write(n, a, 255) != 255) e(38); read(n1, b, 20); if (lseek(n, 0L, SEEK_SET) != 0L) e(39); - if ((j = read(n1, b, 1024)) != 255) e(40); + if ((j = read(n1, b, 512)) != 255) e(40); if (unlink("T3b") < 0) e(41); if (close(n) < 0) e(42); if (close(n1) < 0) e(43);