Re: deleted /dev/zero

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux