summaryrefslogtreecommitdiff
path: root/t/lib-git-svn.sh
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2007-02-25 00:59:52 (GMT)
committerJunio C Hamano <junkio@cox.net>2007-02-25 19:09:56 (GMT)
commit56cf9806a97f5fe9a91c38aa3eb8cec0c76480e6 (patch)
treea94108f3d67327d47269a4021a95b4afc23b0eed /t/lib-git-svn.sh
parent17e48368751ae8df7ed0332ae8ef900ce983fce6 (diff)
downloadgit-56cf9806a97f5fe9a91c38aa3eb8cec0c76480e6.zip
git-56cf9806a97f5fe9a91c38aa3eb8cec0c76480e6.tar.gz
git-56cf9806a97f5fe9a91c38aa3eb8cec0c76480e6.tar.bz2
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.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/lib-git-svn.sh b/t/lib-git-svn.sh
index 27ad3b7..f6fe78c 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"
}