git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] describe: refresh the index when 'broken' flag is used

From
Abhijeet Sonar <abhijeet.nkt@gmail.com>
Date
Jun 24, 2024, 13:48 UTC
Message-ID
<735b4a95-fe8e-4bff-9dd3-10ddd4bdb5b5@gmail.com>
In-Reply-To
<69662b07-e216-421b-b947-afa52e56d7ec@gmail.com>
I have a question:

I would like to change the owner of a file in the test case I am writing -- an operation that requires super-user privileges.  I am not sure if it is okay to do that in tests.  Since that would require running tests with `sudo`.

What would be the correct way to do this?
Previous: Abhijeet SonarNext: Junio C Hamano
Message 6 of 14 in “describe: refresh the index when 'broken' flag is used”
  1. describe: refresh the index when 'broken' flag is usedAbhijeet Sonar, Jun 23, 2024
  2. Abhijeet SonarJun 23, 2024
  3. Karthik NayakJun 24, 2024
  4. Phillip WoodJun 24, 2024
  5. Abhijeet SonarJun 24, 2024
  6. Abhijeet SonarJun 24, 2024
  7. Junio C HamanoJun 24, 2024
  8. Abhijeet SonarJun 24, 2024
  9. Junio C HamanoJun 24, 2024
  10. Abhijeet SonarJun 25, 2024
  11. describe: refresh the index when 'broken' flag is usedAbhijeet Sonar, Jun 25, 2024
  12. Karthik NayakJun 25, 2024
  13. Abhijeet SonarJun 25, 2024
  14. Karthik NayakJun 25, 2024

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.