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

Re: [PATCH] Add test-chmtime: a utility to change mtime on files

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Feb 25, 2007, 01:27 UTC
Message-ID
<Pine.LNX.4.63.0702250220130.22628@wbgn013.biozentrum.uni-wuerzburg.de>
In-Reply-To
<11723651923476-git-send-email-normalperson@yhbt.net>
Hi,
On Sat, 24 Feb 2007, Eric Wong wrote:
> This is intended to be a portable replacement for our usage
> of date(1), touch(1), and Perl one-liners in tests.
This is a cute idea!
Show 10 quoted lines
> diff --git a/Makefile b/Makefile
> index e51b448..105f3ec 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -829,7 +829,7 @@ GIT-CFLAGS: .FORCE-GIT-CFLAGS
>  
>  export NO_SVN_TESTS
>  
> -test: all
> +test: all test-chmtime$X

That is nice! This says that the program should be only compiled before running the tests. However, you can run the tests also by "cd t; make", and even by "cd t; sh tDDDD-*.sh", so I think a check in the tests should be added, which tests for executability of test-chmtime.

Ciao, Dscho

Previous: Junio C HamanoNext: Eric Wong
Message 7 of 9 in “Add test-chmtime: a utility to change mtime on files”
  1. Add test-chmtime: a utility to change mtime on filesEric Wong, Feb 25, 2007
  2. Update tests to use test-chmtimeEric Wong, Feb 25, 2007
  3. Junio C HamanoFeb 25, 2007
  4. Johannes SchindelinFeb 25, 2007
  5. Eric WongFeb 25, 2007
  6. Junio C HamanoFeb 25, 2007
  7. Johannes SchindelinFeb 25, 2007
  8. Eric WongFeb 25, 2007
  9. Add test-chmtime: a utility to change mtime on filesEric Wong, Feb 25, 2007

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.