> I applied your fixes but the test is still buggy in the following > ways: > > 1. It has to be run as root (otherwise it fails with EPERM opening the > file). That is true for lots of LTP tests. To get the most of our of tests, it requests root privilege. We can even setup config scripts to warning people about the non-root users. Again, what is the guideline here? We probably don't want to add many code to each of the test that required root.
> 2. Even when the test is run as root it leaves around allocated > hugepages, despite the fact that the temporary filesystem has been > unmounted. Would you please be elaborate the failure? I can't see why it would work that way. The cleanup routine does this. - restore nr_hugepages - restore nr_overcommit_hugepages - unlink && umount (mmap case) - shmdt (shmget case) Thanks. CAI Qian ------------------------------------------------------------------------------ Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
