Attached is a replacement for rmobj.c in the ltp library. This library
ignores removal failures if the failed removal occurs on an NFS file
system. This comes in handy for ignoring the removal of tmp files after
the test is completed and was run on NFS since NFS frequently has slight
timing differences between the test and the file system update (those
nasty .nfsxxxxxx files that magically appear). If you use it, just
remember to change every occurrence of rmobj in tst_tmpdir.c to
newrmobj. This does not effect what the test was looking for. Only the
reaction to the removal of the tmp files the test created and is now
Hope it's helpful for some.
Get latest updates about Open Source Projects, Conferences and News.