diff options
author | Eric Wong <normalperson@yhbt.net> | 2007-02-25 03:59:52 +0300 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-02-25 22:09:56 +0300 |
commit | 56cf9806a97f5fe9a91c38aa3eb8cec0c76480e6 (patch) | |
tree | a94108f3d67327d47269a4021a95b4afc23b0eed /t/lib-git-svn.sh | |
parent | 17e48368751ae8df7ed0332ae8ef900ce983fce6 (diff) |
Update tests to use test-chmtime
test-lib:
Make sure test-chmtime has been built before starting.
t4200-rerere:
Removed non-portable date dependency and avoid touch
Avoid "test -a" which isn't portable, either
lib-git-svn:
Use test-chmtime instead of Perl one-liner to poke
Signed-off-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 't/lib-git-svn.sh')
-rw-r--r-- | t/lib-git-svn.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/lib-git-svn.sh b/t/lib-git-svn.sh index 27ad3b70f9..f6fe78cd27 100644 --- a/t/lib-git-svn.sh +++ b/t/lib-git-svn.sh @@ -46,5 +46,5 @@ rawsvnrepo="$svnrepo" svnrepo="file://$svnrepo" poke() { - perl -e '@x = stat($ARGV[0]); utime($x[8], $x[9] + 1, $ARGV[0])' "$1" + test-chmtime +1 "$1" } |