In  syscalls  suite it has following line.



chmod05 cp -p $LTPROOT/testcases/bin/change_owner $TMP;chmod05

 chmod06 cp -p $LTPROOT/testcases/bin/change_owner $TMP;chmod06


chmod05 means  testcase name

and  rest of  arguments are cmdline i.e cp -p $LTPROOT/testcases/bin/change_owner $TMP;chmod05


But chmod05 while  executing it  changes  mode  of testdir  which is  hardcoded.

But  didn’t get  purpose of having cp -p $LTPROOT/testcases/bin/change_owner $TMP


If  I  run site chmod05 chmod05 also gives  same  results.


So  would like to know significance of cp -p $LTPROOT/testcases/bin/change_owner $TMP





This message (including attachment if any) is confidential and may be privileged. If you have received this message by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited.

E-mail may contain viruses. Before opening attachments please check them for viruses and defects. While MindTree Consulting Limited (MindTree) has put in place checks to minimize the risks, MindTree will not be responsible for any viruses or defects or any forwarded attachments emanating either from within MindTree or outside.

Please note that e-mails are susceptible to change and MindTree shall not be liable for any improper, untimely or incomplete transmission.

MindTree reserves the right to monitor and review the content of all messages sent to or from MindTree e-mail address. Messages sent to or from this e-mail address may be stored on the MindTree e-mail system or else where.