linux-mips
[Top] [All Lists]

Re: deleted /dev/zero

To: ldavies@agile.tv
Subject: Re: deleted /dev/zero
From: Jun Sun <jsun@mvista.com>
Date: Mon, 13 May 2002 18:28:19 -0700
Cc: linux-mips@oss.sgi.com
References: <3CE061E0.8000909@mvista.com> <3CE06604.2050800@agile.tv>
Sender: owner-linux-mips@oss.sgi.com
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2.1) Gecko/20010901

Thanks.  I am using an old version of ltp, and I still see the bug there.

Jun

Liam Davies wrote:

Jun Sun wrote:


I don't know how to re-produce this problem yet. It seems a little non-deterministic. I would appreciate any insight into this problem.



The ltp mtest05 test had a bug in which it would remove /dev/zero when
it cleaned up. Have you got an updated ltp suite?

This is the fix that they did in late March to the mtest05 test.

/ltp/ltp/testcases/kernel/mem/mtest05/mmstress.c:246
-    if (strcmp(filename, "NULL") || strcmp(filename, "/dev/zero"))
+    if (strcmp(filename, "NULL") && strcmp(filename, "/dev/zero"))

I suppose that there may be other LTP tests that could have similar
bugs...


Cheers
Liam







<Prev in Thread] Current Thread [Next in Thread>